From owner-freebsd-arm@freebsd.org Tue Nov 24 21:26:48 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 121AF46B394 for ; Tue, 24 Nov 2020 21:26:48 +0000 (UTC) (envelope-from freebsd-rj@obsigna.com) Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CgcXl03zjz3L47 for ; Tue, 24 Nov 2020 21:26:46 +0000 (UTC) (envelope-from freebsd-rj@obsigna.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1606253205; s=strato-dkim-0002; d=obsigna.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=11EKE9Vs9jRq/NEKJAmtOxnisDRtf+R+0fuGBCaK5Go=; b=oO3VJe4QxO4PN9kaSlBNG4utdKCHTRpFRlsDJdGu2Ih3n1RdRNM294tTKv4PZeUp2p Nt4JM/LTXigs1tLc347B3TUJ3z1zl7qG/wXf7cIJp+mACR5vXyvmcTwVlwDzdZkeI4C0 CQPm2OInu1IxEWP3USc+nA6/wNlurhqGh979a3ARVdeS3dlsjB3gxEHZrBJfYE91ppMV 4KL7R/bRjzeDxDiQUDH4Pz6Udrvx0VL2Il4VdUN54RkdrJ1AjyXQ5dp7KkzAxjtthsMF 3Ym+71qo9z8ajZqxC6cWOtDiOcTZeIRAZcPcCUhjNAo97qNPKHol4w34LsrQ0U7spb7Z iCQQ== X-RZG-AUTH: ":O2kGeEG7b/pS1F2rRHW2isrKl4DV03XBEi+I6ZuztdvN9wS3wFGySS4Lw+ldTBio0dVbInGjc9RnD7rYRqs=" X-RZG-CLASS-ID: mo00 Received: from mail.obsigna.com by smtp.strato.de (RZmta 47.3.3 DYNA|AUTH) with ESMTPSA id U0af7bwAOLQg4pN (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 24 Nov 2020 22:26:42 +0100 (CET) Received: from rolf-mini.obsigna.com (rolf-mini.obsigna.com [192.168.222.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.obsigna.com (Postfix) with ESMTPSA id 7F9D91350F91D; Tue, 24 Nov 2020 18:26:39 -0300 (-03) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: User Space GPIO Interrupt programming - GSoC-2018 From: "Dr. Rolf Jansen" In-Reply-To: <756100520.1642116.1606251415012@mail.yahoo.com> Date: Tue, 24 Nov 2020 18:26:38 -0300 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <61B0CE7A-8F57-48BD-98D4-BE6E880E7707@obsigna.com> References: <2B01780F-D367-48A3-A827-B479030A496D@obsigna.com> <756100520.1642116.1606251415012@mail.yahoo.com> To: Oskar Holmlund X-Mailer: Apple Mail (2.3445.104.15) X-Rspamd-Queue-Id: 4CgcXl03zjz3L47 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=obsigna.com header.s=strato-dkim-0002 header.b=oO3VJe4Q; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-rj@obsigna.com designates 81.169.146.221 as permitted sender) smtp.mailfrom=freebsd-rj@obsigna.com X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:81.169.146.128/25:c]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[obsigna.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[81.169.146.221:from]; ASN(0.00)[asn:6724, ipnet:81.169.144.0/22, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[obsigna.com:s=strato-dkim-0002]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[obsigna.com]; SPAMHAUS_ZRD(0.00)[81.169.146.221:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[81.169.146.221:from]; FROM_NAME_HAS_TITLE(1.00)[dr]; RWL_MAILSPIKE_POSSIBLE(0.00)[81.169.146.221:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2020 21:26:48 -0000 > Am 24.11.2020 um 17:56 schrieb Oskar Holmlund = : >=20 > > Den tisdag 24 november 2020 21:14:58 CET, Dr. Rolf Jansen = skrev: > >=20 > >=20 > > Hello > >=20 > > Has anything of the GSoC-2018 efforts made it into the current code = base? > > > > = https://wiki.freebsd.org/SummerOfCode2018Projects/UserSpaceGPIOinterrupts > >=20 > > I installed the recent 13.0-CURRENT snapshot (2020-11-19) on a = BeagleBone Black which was one of the implementation targets of said=20 > > project, but when running the test tools, I either see cannot = read/kevent/poll/aio_read - Operation not supported by device or = Inappropriate=20 > > ioctl for device. > > > > Perhaps I need to pull the project=E2=80=99s changes into the kernel = by myself. However, before this I would like to ask whether it is worth = the effort. > >=20 > > Please, can anyone shed some light on this. > > > > Best regards > > > > Rolf > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >=20 > Hi Rolf, >=20 > I dont have any details about the GSOC. > But the code is not in base. >=20 > I have written a similar driver for my needs. It is much simpler and = provides a notification to userland through kqueue events in the event = of a change and counts the number of changes that have taken place over = time. > I can share the code if you want. Hello Oskar, Yes, please, I would be very interested to get hands on your code. And = some usage instructions would be great as well. I guess, this would give me a jump start with said project. Best regards Rolf=