From owner-freebsd-arm@freebsd.org Tue Nov 24 20:32:09 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 503104689D5 for ; Tue, 24 Nov 2020 20:32:09 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2k.ore.mailhop.org (outbound2k.ore.mailhop.org [54.148.219.64]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CgbKh5vQ8z3CGy for ; Tue, 24 Nov 2020 20:32:08 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1606249927; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=KJg6P1keN9MKTK+46wu4JpnzqYDrOI68SGNT0YICBnqVAlFFQ9wLMJRsSC01q0AavIMSj07F4QpCR KzYR6lZk9mfqJqARrB0Nme46pYSiDtW019KsSlr+aToTOVnD3DoJapfpo0RhPQR6nvMTGSBfAhskJ4 xeGogcPSGJ7fMzug5VpDar/+eS3481eZ9O8lCqYdxsM3Hxf0/4Fh1y1O8EHniOO+YaJe6/vFGzWAm9 V3kZjkFGod0jwgLg3P8mSoX0C6ReG0LgD8NIJMvWCnZxeDByKo6a+tyAo9gwUmN9GMigsy69iZXC/e XWjbwN2rMmQ63hQCI6OGhKvzscxO/0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=+2l3JtcRZvzOAW5cEsLiY1e2U/Bk2uUtz3ozC87n9Co=; b=v83o64r0W1RBsK6jJtsS+StM1VaWYEeH1dPM/5dhcaHLYMfj3bmfUNdxX0zjmaYVhG5y4B/PpcGzd lbqwTf1tVp1EFnlET7eSU+tQ2BlVPmesZIP7aF4+byJVxNzXzuJsVG4SACuj8LYmoTeCW9x6901oUX nouGMJH1JiIGHIoxg4PkyVXxifzDMY9G1qlRueM/whUZGBh5GzFe0h8YWFV2Lu/+9mYOx2KekJIYwC TcLcvkpy5POqjAjf5qX7H+W8Gngq9jiHZnV8HDM3NCFUBys6/woDEMSn9tgje6RD1Nrzd8is7ly/is 0wQSPdjSBYdCGB5Dl+cY97/uTyoDoLQ== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=+2l3JtcRZvzOAW5cEsLiY1e2U/Bk2uUtz3ozC87n9Co=; b=tzBBhK2re3JOhmhs4KkEXbyp1LGu0JDzyNu8i5yY9d7Kkc1G3aVDMOHTtSPRPUzNhpBiqMZJnFbjj AyrYG8XfFZYzeHFuTIgtvGbRKKdK7QmvT7bIQnb68mYDsV4levyysRLV0AD/NyzQnRQj6G9913V05l 9x4GAtj+9rz0A21hfyEWKeatUSKtjIXDxNq/wZhWReib3dFjFcTItegUcjbN5vy1Z3/CyJ1KHhWVu5 GFwbm3HCtS1yQmqoSOERQ+CJ4jH4FfRB896kVMTfaW8qwy8yBEaXXve2hauKdYRQdXwAZlRRMjti69 5b1FtQSGeuPY7vcI6n2YIkoVzWT2zsA== X-MHO-RoutePath: aGlwcGll X-MHO-User: 1d37f13e-2e94-11eb-9e12-df46ed8f892f X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 1d37f13e-2e94-11eb-9e12-df46ed8f892f; Tue, 24 Nov 2020 20:32:06 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 0AOKW4Hi069451; Tue, 24 Nov 2020 13:32:04 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: User Space GPIO Interrupt programming - GSoC-2018 From: Ian Lepore To: "Dr. Rolf Jansen" , freebsd-arm@freebsd.org Date: Tue, 24 Nov 2020 13:32:04 -0700 In-Reply-To: <2B01780F-D367-48A3-A827-B479030A496D@obsigna.com> References: <2B01780F-D367-48A3-A827-B479030A496D@obsigna.com> Content-Type: text/plain; charset="iso-8859-7" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4CgbKh5vQ8z3CGy X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; local_wl_from(0.00)[freebsd.org] 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 20:32:09 -0000 On Tue, 2020-11-24 at 17:14 -0300, Dr. Rolf Jansen wrote: > Hello > > Has anything of the GSoC-2018 efforts made it into the current code > base? > > https://wiki.freebsd.org/SummerOfCode2018Projects/UserSpaceGPIOinterrupts > > I installed the recent 13.0-CURRENT snapshot (2020-11-19) on a > BeagleBone Black which was one of the implementation targets of said > project, but when running the test tools, I either see cannot > read/kevent/poll/aio_read - Operation not supported by device or > Inappropriate ioctl for device. > > Perhaps I need to pull the project¢s changes into the kernel by > myself. However, before this I would like to ask whether it is worth > the effort. > > Please, can anyone shed some light on this. > > Best regards > > Rolf > I have had that webpage open (but docked) for literally a year, eternally hoping that I can find time to get to it and somehow get it committed, or maybe use it as the basis for something to be committed (I haven't even looked at it close enough to see if it's commit-quality code or what). I'm curious: What particular need do you have for userspace gpio interrupts? What would you like the API to look like (do you like the things listed at that page, or would you prefer something else)? Interrupts is probably not a good name, because it isn't really going to act like an interrupt does for kernel code. It's really just pin- change notifications delivered to userland. -- Ian