Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3702067imw; Thu, 7 Jul 2022 06:21:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1unpBrb50Wo5V93qK93FFsPSr5YWLnegGWAgQATQOXnV0onw1RiwAcbDSN9sHzLoSdUIfpV X-Received: by 2002:a17:902:f78c:b0:169:b76f:2685 with SMTP id q12-20020a170902f78c00b00169b76f2685mr52663688pln.41.1657200068991; Thu, 07 Jul 2022 06:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657200068; cv=none; d=google.com; s=arc-20160816; b=dLghdJ7OjkAtdR7vXOSwXP7Rgq+pr76mHooyIWDDrZUr/SwVeg/q0p0wjxSLXk2pf1 Jm4UhvrgsqH/QlgSn0ddgAbr1Oywl8ZM4IWZNgCGQzXDjJxKy5/QhQ8wmithL+YR97li P8cWwpfgVe90aGl8C9wgMj6SC/zRbFO8N7lahHPQjR959ZZvwggbVC5nwhe10QtakU1P zpoOeechVUgoc44hSsngTS7I4DNT7mM1kcom1T9sgxgBkUI4xi5fAT92jayc1kluETwV Aj8ayrUVdo1Z36NatIc+XbEm8jDAXOuI+4wYbuHeW8C+lg5ukwPxjvxal2aSGpzTjEJx sDtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=iLQWvYS7DCGLyzzuPlDvEmLWHwhPNLQGe8C2RjeBiSs=; b=bgyCOg+eATjsgDKj2ZdNLyOK4B3FNgvig2eRQWRb3fXZDZxGGHJXoeetl8+ZvpcudJ +xBe7viJoK7Ix9pI8D9a6M++uh7lb0yoFZiEjgX37jQOFjBIhbr2F+70r/6IWe2Ijisp G+UoVnXnUjCmvdgyTgAk0aZjihXu1/tbIbt92HL4rzpkt95oMUiSB6VYuYLYbVINuEkI wk8rcoVuxhmmL+Zs1WkdW4kjZtpZqG8c8y89zEuz6cu3rcQijRVK+QUES3nm1huBh1d+ sDJpFQ/4NGHDE8D/HtysCug+N6HgNHdOwxXlnNRAfBXBrSBvK91C+7yvQ6RdhyNzDZLT W2hw== 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 d16-20020a056a00199000b005253895c9d6si55960407pfl.226.2022.07.07.06.20.51; Thu, 07 Jul 2022 06:21:08 -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 S235651AbiGGNHd (ORCPT + 99 others); Thu, 7 Jul 2022 09:07:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235608AbiGGNHc (ORCPT ); Thu, 7 Jul 2022 09:07:32 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB93230551; Thu, 7 Jul 2022 06:07:29 -0700 (PDT) Received: from mail-yb1-f180.google.com ([209.85.219.180]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MbRXd-1ncZNe3bGj-00btSj; Thu, 07 Jul 2022 15:07:28 +0200 Received: by mail-yb1-f180.google.com with SMTP id h132so1680379ybb.4; Thu, 07 Jul 2022 06:07:27 -0700 (PDT) X-Gm-Message-State: AJIora8R72R7HjT8KgED1EU4OYMq+pMxMHwG3MAOICMue5e0cgr9CtrO LwwQLbPVd0lSlKQkJI0Z+VxPFJwLbLH4sZwEsS4= X-Received: by 2002:a25:9f87:0:b0:669:4345:a8c0 with SMTP id u7-20020a259f87000000b006694345a8c0mr49857681ybq.472.1657199246218; Thu, 07 Jul 2022 06:07:26 -0700 (PDT) MIME-Version: 1.0 References: <4ff47e50-8702-1177-612b-73d9700e47c5@microchip.com> In-Reply-To: <4ff47e50-8702-1177-612b-73d9700e47c5@microchip.com> From: Arnd Bergmann Date: Thu, 7 Jul 2022 15:07:09 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] asm-generic: correct reference to GENERIC_LIB_DEVMEM_IS_ALLOWED To: Conor Dooley Cc: Arnd Bergmann , Lukas Bulwahn , Palmer Dabbelt , Palmer Dabbelt , "Luis R. Rodriguez" , linux-arch , kernel-janitors , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:6GE+clHrGvNzl04i8kcAIR3zFF2F8809ljPATS5+RhKOVPkVLep +QzEVU5Mh5xDAhGn+iYd+H8N2mpvqIVBdia+eufN/Dqcv3K3vy5/hLx/zaKOCacBTLo3dcc Ab6xrjYkLJ9O8ort+l6IUOhqDY2nqU30EZAk3uuCC8wZGBtfLDsrPFucP/dKyZUq68PscmE nif3CpFju8svLvnQTXbCw== X-UI-Out-Filterresults: notjunk:1;V03:K0:tvthlhlazMY=:a4X17KeL0MVHY10lRgV0a0 P9mhqRXkxUFHYWkfFZ77jE6Hubx81lJmwxH80sD+vCS1p1x2mfUSJWyo7zYTtSRlh3XjO/njw kCQFGHtDenBcIYnn6fGGfO4BNaJo26qfVlf4d+fnR7TVKodStOmgx/4+Xtmy0KQobI9Vvr2qM FgawDfIeDwSBDIQ8ySECbVZJNVv1kUcXKjTzGTffBLpxNMRx4j7PeFm9/1/qyAmSDoFuCACy3 yfxkLedP5s/fZ+SogUP5hlHiimPb/sGK3PJfht4woFg8ivNSDjzCiSbRFqamVtNXeybs6+LlU PTyqOUMLY79DQlP4tDrkf6Tj+t5Z2aTmsiVFn9OfWzSDydgIK1U55j/g0zGGgvNMVar0g7zfV VmxRRXfVotZt1y9do7zfiIu+15GfsuULoQ8ype9/oPIGaFTAFxMesBNp0Zk7rLSUc7+xoF8rx hFW8TZooYyM2//WhQPLRZ2Mix1dt6BIfknThrE/HHrLNYm5loazJv5MaILuN4cDEox+2f1241 ffcImF5D4QjH9sYxHbeiTbn+Arxaupeyt7kGYY6CL+JY9shg8hkHXYl8jlX4smDeXlPC6YgYs XZZzfCflXmmTvdpJZ077YufF92q+KfJP8/U3UPsTa+y68PoxbvhRxP1pkCzDeKSsjjBwHtANr uncfNmiKEcvmrpjGlDOD3ZtlvpOoKk3/TQD/t/psUKA5hnhsiSpSHgN6i3megBuZa76CNTsQf aoKy7dvIfAWSODVWLyu+Yy+MKlrGzwlm+04vWu+w0iT+gyJcTcla0Dw/4jWWmFKVPFltIFhqB dwu2n/jmgPhF3gv3B/U6N+JbRatTiHX6LE1ukBvf+5rYuAjT0W9qRVQeKwYUfj0m+hJO+YmuN gvrofGegVTbGILZjbE3nCjmxVB/mqq1SCC4e12F74= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Thu, Jul 7, 2022 at 2:20 PM wrote: > On 07/07/2022 13:13, Arnd Bergmann wrote: > > On Thu, Jul 7, 2022 at 1:40 PM Lukas Bulwahn wrote: > >> > >> On Wed, Oct 6, 2021 at 6:52 PM Palmer Dabbelt wrote: > >>> > >>> On Wed, 06 Oct 2021 08:17:38 PDT (-0700), Arnd Bergmann wrote: > >>>> On Wed, Oct 6, 2021 at 5:00 PM Lukas Bulwahn wrote: > >>>>> > >>>>> Commit 527701eda5f1 ("lib: Add a generic version of devmem_is_allowed()") > >>>>> introduces the config symbol GENERIC_LIB_DEVMEM_IS_ALLOWED, but then > >>>>> falsely refers to CONFIG_GENERIC_DEVMEM_IS_ALLOWED (note the missing LIB > >>>>> in the reference) in ./include/asm-generic/io.h. > >>>>> > >>>>> Luckily, ./scripts/checkkconfigsymbols.py warns on non-existing configs: > >>>>> > >>>>> GENERIC_DEVMEM_IS_ALLOWED > >>>>> Referencing files: include/asm-generic/io.h > >>>>> > >>>>> Correct the name of the config to the intended one. > >>>>> > >>>>> Fixes: 527701eda5f1 ("lib: Add a generic version of devmem_is_allowed()") > >>>>> Signed-off-by: Lukas Bulwahn > >>>> > >>>> Acked-by: Arnd Bergmann > >>> > >>> Reviewed-by: Palmer Dabbelt > >>> Acked-by: Palmer Dabbelt > >>> > >>> Thanks. I'm going to assume this is going in through some other tree, > >>> but IIUC I sent the buggy patch up so LMK if you're expecting it to go > >>> through mine. > >> > >> Palmer, Arnd, > >> > >> the patch in this mail thread got lost and was not picked up yet. > >> > >> MAINTAINERS suggests that Arnd takes patches to include/asm-generic/, > >> since commit 1527aab617af ("asm-generic: list Arnd as asm-generic > >> maintainer") in 2009, but maybe the responsibility for those files has > >> actually moved on to somebody (or nobody) else and we just did not > >> record that yet in MAINTAINERS. > >> > >> Arnd, will you pick this patch and provide it further to Linus Torvalds? > >> > >> Otherwise, Palmer already suggested picking it up himself. > >> > > > > I've applied it to the asm-generic tree and can send it as a bugfix > > pull request. I don't have any other fixer for that branch at the moment, > > so if Palmer has other fixes for the riscv tree already, it would > > save me making a pull request if he picks it up there. lkft just found a build failure: https://gitlab.com/Linaro/lkft/users/arnd.bergmann/asm-generic/-/jobs/2691154818 I have not investigated what went wrong, but it does look like an actual regression, so I'll wait for Lukas to follow up with a new version of the patch. Arnd