Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27344200rwd; Tue, 4 Jul 2023 01:25:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlGg2aki0KOEXGtspGlsnkJ2ra0FkQwXtz3bGRvSqYTPS6OvSFehP3MZIQ+aipqqQQKqIKhh X-Received: by 2002:a92:d48e:0:b0:345:aba5:3777 with SMTP id p14-20020a92d48e000000b00345aba53777mr12790892ilg.25.1688459101411; Tue, 04 Jul 2023 01:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688459101; cv=none; d=google.com; s=arc-20160816; b=XM9leIJIknkTDKFGvCDV4hxPgA5TE37v0lSxveN50zHamMa7h6CXZd9QKj8m6MEYrW 00uuoetPM34TimFBAmjtDlKs2maHKZwZDIwmWf/o0jsYeEABN8KLd/KrMLNIfWSdx+n3 6gpdxvGJRHYL2r6+shlSm1d2r1kdsR95a6nav4E09SivQV8qXyECEsBP+cBDrUUr769S P2Tl00KV/nmmPJr7pPvXGfjMh4vtrKkW7dyeOPX+LuY9YTVNxd1EXEHCKxTyzQo6crXP nJnnoio8FKWet8Eh+OdefxDrggbEeUSksF7kvyad/Um5A8tllH/R2Znx4hSXeR+vZjq/ zZfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=/P7JPlBu6gvhlA9jclTFI1vBXofpwrlZyv2yWxd3bGI=; fh=VIzb7bMhjARTNUwe4mN3sTNN5633E2QX+pOMeRWzDEw=; b=o1gJsU+dkTyJO8QaQ+PU4+biN27luHJXD0sMvhV/AB4wjZlxf/N4pQCigLB8ICKJcO 3hi2V/2OLvB4NOVGCOSMW7lgX1coc7SlNJFXu/yQoNif2JFoeqhhci+vIyi649NAHZVu kk4rIE7o9jBtlnX2ISdpeyXE2aHCrI7ivXGrjyVzUUfc+CaFqJjW0HQ1pYB6+N4dZQsZ gJ3Zp4TkoQy1S/QTCJfOKHdamfgNnFLGacDVYrt0+rrkrSfV2KjOx6+x8RqaGAZYfZOq GPffIXPDAAW/KPph6MkDPktQNkjd6OkuD953CA4jY/UobWUhLxHRef1H3+3eKq6VfTAl oS1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a632a0c000000b00557523b8fa1si20838683pgq.880.2023.07.04.01.24.39; Tue, 04 Jul 2023 01:25:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229662AbjGDIKL convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 Jul 2023 04:10:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230421AbjGDIKH (ORCPT ); Tue, 4 Jul 2023 04:10:07 -0400 Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D0E11AB; Tue, 4 Jul 2023 01:10:03 -0700 (PDT) Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-c5ce57836b8so522648276.1; Tue, 04 Jul 2023 01:10:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688458202; x=1691050202; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EZaghZGIezMc1/PkmeAtxZOh9fnJXXLlPyB7qIylXMg=; b=Z1ixxmIhB0U1L1L3bzXFXtdQ1KCUGV+6qKIFBQEtfhB5aKrJP0UbNk5Car7KRuLOf3 9Ffseu65MbFkjyJGQDqJ5W/BeXUTxd3e1FGjrjrz0A5gOp1HDulwmQuwCL3jRD+dI4Fq NsG7j64TZCCWXPcGeulrwP1bDee1FaSVggrF3z84SvlA+oGZSPkfF01rljcNnsQmq+r/ 0vB8cRwpGmy9QIDYtH/7TcbVLWQ/Icsa6VKk23vlcTYTci40yjT8Nr7L7fhmbA59D0zj sxyZO8nLhCXmAtkBkxxi9YEILWIcAA2iKdq+0Ah0bRLQLvIH01gaWT4ZwQtvuNG4vEUd B4cQ== X-Gm-Message-State: ABy/qLaUc60jZSRrvieT4r5hWTw3GVuM4IA9Ce2s3Wnvgwj/eJXvVyyu p04KIbcvuGScck37FVHCRdwCFg/wyU23TQ== X-Received: by 2002:a25:d10:0:b0:c5d:f2af:5a24 with SMTP id 16-20020a250d10000000b00c5df2af5a24mr791407ybn.14.1688458202598; Tue, 04 Jul 2023 01:10:02 -0700 (PDT) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id i1-20020a25b201000000b00c4788bfe468sm1761021ybj.1.2023.07.04.01.10.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jul 2023 01:10:01 -0700 (PDT) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-c5ce57836b8so522612276.1; Tue, 04 Jul 2023 01:10:01 -0700 (PDT) X-Received: by 2002:a25:ad18:0:b0:c12:179f:b78e with SMTP id y24-20020a25ad18000000b00c12179fb78emr11890369ybi.28.1688458200854; Tue, 04 Jul 2023 01:10:00 -0700 (PDT) MIME-Version: 1.0 References: <20230522105049.1467313-1-schnelle@linux.ibm.com> <20230522105049.1467313-4-schnelle@linux.ibm.com> In-Reply-To: <20230522105049.1467313-4-schnelle@linux.ibm.com> From: Geert Uytterhoeven Date: Tue, 4 Jul 2023 10:09:49 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 03/44] char: add HAS_IOPORT dependencies To: Niklas Schnelle Cc: Arnd Bergmann , Greg Kroah-Hartman , Bjorn Helgaas , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , linux-m68k Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Niklas, On Mon, May 22, 2023 at 12:51 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, which is now commit 1fbb0b203574bb16 ("char: add HAS_IOPORT dependencies") upstream. > --- a/drivers/char/Kconfig > +++ b/drivers/char/Kconfig > @@ -340,7 +341,7 @@ config NVRAM > > config DEVPORT > bool "/dev/port character device" > - depends on ISA || PCI > + depends on HAS_IOPORT > default y > help > Say Y here if you want to support the /dev/port device. The /dev/port FTR, this change makes DEVPORT show up on Atari with ATARI_ROM_ISA=y. I guess it doesn't matter much, though. 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