From owner-svn-src-all@freebsd.org Sat Oct 27 20:32:08 2018 Return-Path: Delivered-To: svn-src-all@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 F2D3810D27F9; Sat, 27 Oct 2018 20:32:07 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9363579F76; Sat, 27 Oct 2018 20:32:07 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 42jCFy4MjqzDhxn; Sat, 27 Oct 2018 20:32:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id N1XSVcfYA3QX; Sat, 27 Oct 2018 20:32:06 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:9eda:3eff:fe70:24c0]) by mail.daemonic.se (Postfix) with ESMTPSA id 42jCFy02Y6zDhFd; Sat, 27 Oct 2018 20:32:05 +0000 (UTC) Subject: Re: svn commit: r339823 - in head/sys/dev: atkbdc evdev kbdmux usb/input To: Vladimir Kondratyev , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201810272022.w9RKMgOZ023575@repo.freebsd.org> From: Niclas Zeising Message-ID: <3d441b5d-e225-1226-e229-73c93f85c8a9@freebsd.org> Date: Sat, 27 Oct 2018 22:32:05 +0200 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <201810272022.w9RKMgOZ023575@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2018 20:32:08 -0000 On 10/27/18 10:22 PM, Vladimir Kondratyev wrote: > Author: wulf > Date: Sat Oct 27 20:22:41 2018 > New Revision: 339823 > URL: https://svnweb.freebsd.org/changeset/base/339823 > > Log: > evdev: Use console lock as evdev lock for all supported keyboard drivers. > > Now evdev part of keyboard drivers does not take any locks if corresponding > input/eventN device node is not opened by userland consumers. > > Do not assert console lock inside evdev to handle the cases when keyboard > driver is called from some special single-threaded context like shutdown > thread. > > Modified: > head/sys/dev/atkbdc/atkbd.c > head/sys/dev/evdev/evdev_private.h > head/sys/dev/kbdmux/kbdmux.c > head/sys/dev/usb/input/ukbd.c > Related to https://reviews.freebsd.org/D15070 ? Regards -- Niclas Zeising