From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D289C43217 for ; Tue, 28 Dec 2021 10:24:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236043AbhL1KYI (ORCPT ); Tue, 28 Dec 2021 05:24:08 -0500 Received: from mail-ua1-f49.google.com ([209.85.222.49]:44994 "EHLO mail-ua1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230112AbhL1KYH (ORCPT ); Tue, 28 Dec 2021 05:24:07 -0500 Received: by mail-ua1-f49.google.com with SMTP id p2so31041240uad.11; Tue, 28 Dec 2021 02:24:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oBBZo0qKjA88eh+fXv3guzm1j2BWXycw5/mkSY/OQtw=; b=Gq4t7ylNq8H4PI2LDeax/+t4fsr1a6M169Hb9IkRUGX0976oVWqlcookBLJtoH2O1R eMvbtP14zqMyiqXHNXiFE6IedApj50Hh/KmpKFHhdKvwfkjr9sKqxzC2TnZ90d04FB0f ZOMcFXC6JFB0s5eWREjE1rFqpr0DQk8IfqOouz16XJ9X9qsVygGMi2/DXNOEvsZQIWNA CUMTMhbF4BHsDjqnMo6tphL1DuVgnxDO+gPVb53+JV5emUdKwIkvxaHne577E3/y3ufw oqDlXJ7HMRKJry9kBA64bLwsDRJwdjvtZX9gTYaecllnziaUW/RJTy1N553SUrQSWNWa ALbA== X-Gm-Message-State: AOAM530USRwSZygDhs8kTtahMKmEkfsuDHGNaVFyzZVkU0v+Zxq6exPh 0UEn9pw1bKqW8oep0+lQDbuthtqGILEcVQ== X-Google-Smtp-Source: ABdhPJxoWkaAiDanm1UYsFZ8bs7fkBkgwKVj7TqNAvzXy3ud/T98SZK+nIOTANWJv7rYBMkZ7MmyYg== X-Received: by 2002:a67:e0de:: with SMTP id m30mr5965381vsl.19.1640687045990; Tue, 28 Dec 2021 02:24:05 -0800 (PST) Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com. [209.85.222.48]) by smtp.gmail.com with ESMTPSA id w22sm1165221vsk.33.2021.12.28.02.24.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Dec 2021 02:24:05 -0800 (PST) Received: by mail-ua1-f48.google.com with SMTP id p37so31036874uae.8; Tue, 28 Dec 2021 02:24:05 -0800 (PST) X-Received: by 2002:a05:6102:2155:: with SMTP id h21mr5686268vsg.68.1640687044914; Tue, 28 Dec 2021 02:24:04 -0800 (PST) MIME-Version: 1.0 References: <20211227164317.4146918-1-schnelle@linux.ibm.com> <20211227164317.4146918-12-schnelle@linux.ibm.com> In-Reply-To: <20211227164317.4146918-12-schnelle@linux.ibm.com> From: Geert Uytterhoeven Date: Tue, 28 Dec 2021 11:23:53 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC 11/32] Input: Kconfig: add HAS_IOPORT dependencies To: Niklas Schnelle Cc: Arnd Bergmann , Bjorn Helgaas , John Garry , Nick Hu , Greentime Hu , Vincent Chen , Paul Walmsley , Palmer Dabbelt , Albert Ou , Guo Ren , Dmitry Torokhov , Linux Kernel Mailing List , Linux-Arch , linux-pci , linux-riscv , linux-csky@vger.kernel.org, linux-input Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Niklas, On Mon, Dec 27, 2021 at 5:50 PM Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to add HAS_IOPORT as dependency for > those drivers using them. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle Thanks for your patch! > --- a/drivers/input/serio/Kconfig > +++ b/drivers/input/serio/Kconfig > @@ -75,6 +75,7 @@ config SERIO_Q40KBD > config SERIO_PARKBD > tristate "Parallel port keyboard adapter" > depends on PARPORT > + depends on HAS_IOPORT Same as PRINTER: shouldn't this work with all parport drivers? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5FDBFC433F5 for ; Tue, 28 Dec 2021 10:24:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DBjSDU0RnU7bAnaDCpwJr1iljMDd0WPvi/NVIXEj0f8=; b=H8nNq1UHt4u6CA B0OZMox+aeoEBfmLce/uG3pxoWFiSM2JOK+2TgRn/S+pGs24UR3uhmxxKbNviaxfTFbwozK8Za8zL u1YPskeRYcaw6fC2qmU69waMnFLWJUhF44lsuv26HCe4B/lcsIAOa/vamlmi3OXNUE/3CKsH5xhmf GQKe2pQGeqk7jeXAsHe9LdnG7B/rt0xHLtYl0UeSoW++7eYYGigw+TQvgOL/DvgsVJHIMB3oroAz+ fAX7Jb72lFCiDETpJmsn1yKhyULOpdzX+MgfB1q2hG7C55Lb5YOoo2UyTCJcl0BluDWI59+XYl1mD N8x99kpSaKrGC32x1JuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n29eL-000fhl-TU; Tue, 28 Dec 2021 10:24:09 +0000 Received: from mail-ua1-f47.google.com ([209.85.222.47]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n29eJ-000ffq-9l for linux-riscv@lists.infradead.org; Tue, 28 Dec 2021 10:24:08 +0000 Received: by mail-ua1-f47.google.com with SMTP id i6so31014513uae.6 for ; Tue, 28 Dec 2021 02:24:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oBBZo0qKjA88eh+fXv3guzm1j2BWXycw5/mkSY/OQtw=; b=BqWjo1rYFgMxCv/FZxNe0ImknuO9ffd4l3Ne6SoZUZldVeh1/TNZOvjc78TYeEZ9gK fsq/flG5/keMl3Zm9jXJ7/tzzldpMH5+hcUsRe+XW3kZBPD9uqejGPZqx5Q2ZSFnNrNG wF1E5gY+MTX3WAnwXC8WTjAlRQiuTaU8xepX5XUn2jGmp127pG22XdVcKryaKiGAZ6xI CevJRsDJItFr+ZVbySlDTOha3Qzp7MgrIeYdJxrKk9gSoXBY+9UO797dhQtEUFRpNd21 0L3h7BTMOmc7Rixk834RRfnvGNUa+6f2DyyYOZURGNUmXhhUeZi61JbJQaRZjNdmcVqF MAyw== X-Gm-Message-State: AOAM5318Bh8stKiYmWwC/FhW7iPASNWPHzV2qf9neFOrAweErRl5PN0Q aB+Wiz8a7N88RtDsd/l/DqRzfRyIqvbXPA== X-Google-Smtp-Source: ABdhPJy8Pk/p5mAQXvdslIe9ftSBhJ4VusvaSaL4zCgsatTagakcyrthrGrteGKyvh9MyvzdooS4Ug== X-Received: by 2002:a05:6102:c8e:: with SMTP id f14mr6013193vst.32.1640687045842; Tue, 28 Dec 2021 02:24:05 -0800 (PST) Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com. [209.85.222.48]) by smtp.gmail.com with ESMTPSA id y19sm38440uad.14.2021.12.28.02.24.05 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Dec 2021 02:24:05 -0800 (PST) Received: by mail-ua1-f48.google.com with SMTP id c36so5679840uae.13 for ; Tue, 28 Dec 2021 02:24:05 -0800 (PST) X-Received: by 2002:a05:6102:2155:: with SMTP id h21mr5686268vsg.68.1640687044914; Tue, 28 Dec 2021 02:24:04 -0800 (PST) MIME-Version: 1.0 References: <20211227164317.4146918-1-schnelle@linux.ibm.com> <20211227164317.4146918-12-schnelle@linux.ibm.com> In-Reply-To: <20211227164317.4146918-12-schnelle@linux.ibm.com> From: Geert Uytterhoeven Date: Tue, 28 Dec 2021 11:23:53 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC 11/32] Input: Kconfig: add HAS_IOPORT dependencies To: Niklas Schnelle Cc: Arnd Bergmann , Bjorn Helgaas , John Garry , Nick Hu , Greentime Hu , Vincent Chen , Paul Walmsley , Palmer Dabbelt , Albert Ou , Guo Ren , Dmitry Torokhov , Linux Kernel Mailing List , Linux-Arch , linux-pci , linux-riscv , linux-csky@vger.kernel.org, linux-input X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211228_022407_362037_BB49C166 X-CRM114-Status: GOOD ( 18.69 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi Niklas, On Mon, Dec 27, 2021 at 5:50 PM Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to add HAS_IOPORT as dependency for > those drivers using them. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle Thanks for your patch! > --- a/drivers/input/serio/Kconfig > +++ b/drivers/input/serio/Kconfig > @@ -75,6 +75,7 @@ config SERIO_Q40KBD > config SERIO_PARKBD > tristate "Parallel port keyboard adapter" > depends on PARPORT > + depends on HAS_IOPORT Same as PRINTER: shouldn't this work with all parport drivers? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv