From owner-soc-status@freebsd.org Mon Jun 18 15:20:00 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4989100DD49 for ; Mon, 18 Jun 2018 15:20:00 +0000 (UTC) (envelope-from uddka@student.kit.edu) Received: from scc-mailout-kit-01.scc.kit.edu (scc-mailout-kit-01.scc.kit.edu [IPv6:2a00:1398:9:f712::810d:e751]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F80483DA1; Mon, 18 Jun 2018 15:20:00 +0000 (UTC) (envelope-from uddka@student.kit.edu) Received: from tr-v1239-fse.scc.kit.edu ([2a00:1398:e:28::2] helo=server-01.fs-etec.kit.edu) by scc-mailout-kit-01.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (envelope-from ) id 1fUvwi-0007IO-Jl; Mon, 18 Jun 2018 17:19:58 +0200 Received: from Chris-TP.fritz.box (p200300D2EF06490025444A5170C56571.dip0.t-ipconnect.de [IPv6:2003:d2:ef06:4900:2544:4a51:70c5:6571]) by server-01.fs-etec.kit.edu (Postfix) with ESMTPSA id 18E7B1D8; Mon, 18 Jun 2018 17:19:56 +0200 (CEST) Date: Mon, 18 Jun 2018 17:19:37 +0200 From: Christian =?ISO-8859-1?Q?Kr=E4mer?= To: soc-status@freebsd.org Cc: Chuck Tuffli , Luiz Otavio O Souza Subject: User space interface for GPIO interrupts / Status Report Week 5 Message-Id: <20180618171937.2af134bfb0cd9c1c02812464@student.kit.edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 15:20:01 -0000 Hi, over the last week I implemented a handler for the kqueue()/kevent() syscalls and added a counter, that counts the occurred interrupts, to the driver [1]. Furthermore I wrote user space utilities [2] in order to test the kqueue()/kevent() syscalls and to retrieve respectively reset the counter value. I also wrote an utility that outputs a random bit sequence on a specific pin. During this week I am going to write the second part of the long-term test: An utility that detects the interrupts delivered by the gpiointr driver in user space and evaluates them by replaying the same PRNG as the source. I also start to implement distinction of the single configured pins within a single gpiointr device. Regards, Chris [1] [2]