Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3850735imw; Thu, 7 Jul 2022 08:31:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uJCCKBYUwNr+sL7Hotr5WwzpJgONCAHdqCTDwxpRBkRJLGXvOKJc0yNurQF1By2+W3Rlxh X-Received: by 2002:a17:906:4fc9:b0:726:f4e4:88e8 with SMTP id i9-20020a1709064fc900b00726f4e488e8mr44508028ejw.57.1657207901046; Thu, 07 Jul 2022 08:31:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657207901; cv=none; d=google.com; s=arc-20160816; b=dt74XoOKLTUQcMX+ERcWYp6GYiDDBKKgSyYLlj5mOP3W8/PdT2ceVuEbumiYhoxYsj onWobCLR9e+l+6txuigb9PfKKhvCf4RJXMSoZOblyMahr2M+U+Yxw0jVLjWQr8di2NgH ANKSt5KHUZoWho+sQCyDUBboDIDeqyo5Rfe+sHYRWy2J9PEnnbiSdo4unPQ/4w197EpV Xb31EDipO3m8dGtIoW6Hwz1CftgMjEhCrzmKypGpy8K58MgKGUUc/fI9F8wYXzR/gRwX fx0SF+Rq1A7sjZdSiaqJjFXwfR4byHbLwAjGMPJt6q/a/qvKPCkx85TLNVMtbki6tPf6 3UCw== 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:dkim-signature; bh=e5bjrIIk4MXIN8C31qiFXOS3/fG2/z8CmTSANmVxdy8=; b=WQpRfAnqbLaEuqzollBxsUGFQYBQm8w7+2BJa3mdjUViZXamy8Cwvr+v+E8XoMMiKG 3L/HqTsuUr3lNnEITNa5sjnzTAcCC7D2Tt2V3Izy0N4hqK44vGTN1uECiR79ldwMOEWX hppf14uFQOa5oQnXztgtliMsDw/2xVw9yUnFBy53Qwv6h12itRzGZ/8xfpFmmAR1MFcO RCo/9UYu7G1V1BqAsNAL5qxg9MkE18/YM+rq491ugk6KgOeG0ZsyYv9uHMj4DUcMqEHk WXhed/aCq+bMoFUEQh4FoWMWchWZ0xOYm2+VtU6uRnEb/aujTYMZoQ5k1dXPnNnuBWH6 06RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kmWYMaUM; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a05640227d100b004376235ade8si2773060ede.355.2022.07.07.08.31.12; Thu, 07 Jul 2022 08:31:41 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kmWYMaUM; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235602AbiGGOli (ORCPT + 99 others); Thu, 7 Jul 2022 10:41:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235933AbiGGOla (ORCPT ); Thu, 7 Jul 2022 10:41:30 -0400 Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 696773190D; Thu, 7 Jul 2022 07:41:29 -0700 (PDT) Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-31bf3656517so171608217b3.12; Thu, 07 Jul 2022 07:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e5bjrIIk4MXIN8C31qiFXOS3/fG2/z8CmTSANmVxdy8=; b=kmWYMaUMp2mRClBKlIj7qLT5zJaCjwENeyNTjiQSNrIIRkJfTvFvh2WWMa6PAyijFV aU0AIDpaSpv3DPCNoEKYmqOMND86p2POEJX2rqKTOeJRPeB9X8I0f74xiRgljzu7tapS uIcVwArIYwk25FopRMaItDjuT0uN5EaAZQ/xJ2SCvSg12v3i/5n8a5mqTOOyQxOEo6jW ZQvmi7WnA/CsW6y2pziC9JVgpBdvfR1oUGlWX4S7DsvrIpUM9dPt7dWw/h86fH2LUsCI UPOBoZOQRx+ZLscbfduFYEZ4vqN3MmBkIFVtryHPHgANKOGb2IdC8YpppE1Ybnsopu63 oH+A== 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=e5bjrIIk4MXIN8C31qiFXOS3/fG2/z8CmTSANmVxdy8=; b=n9gEx5MO2niFaoGo0t90jdWMPDc/lgcQ57sG6qouranT4BFcUk9SjH4COW9+OIX+a8 nPBQYE3zhDWZNb+lHq7kWtNBik5EHzV8Z9/wdsPykJpyTm9SbYubOWbUGO9ZdAJwEIFV rJqS1O8/gNqa6tpwR++2BzkCajgJ7lPv5sy2W2aUmXechflGSDDsMXoAPwFWxs1PaWiP Ei4Hy+sPyIOQig/w3BE2ICNvcO3cOnNZMFdpc0GhGhwuJqaG9wa0P8FYdFM0u+7IdavB 1RCAOvVajgxIG/2XS29pE+3yJXv6F/YzYXYalXjPZWRzkrHKyfd3kDaaKxFZzX/stM0x UBGA== X-Gm-Message-State: AJIora84ac/4x2euN5wsA91/LddqPqRQzlN980Wj5Mf5/qOUzOSMqh0g 5sIK8oQS8ZtsS8vhZBrgSBSfunaYmMVpMvUYaSQ= X-Received: by 2002:a81:cf02:0:b0:2d0:b68c:cf30 with SMTP id u2-20020a81cf02000000b002d0b68ccf30mr52305330ywi.510.1657204888328; Thu, 07 Jul 2022 07:41:28 -0700 (PDT) MIME-Version: 1.0 References: <4ff47e50-8702-1177-612b-73d9700e47c5@microchip.com> In-Reply-To: From: Lukas Bulwahn Date: Thu, 7 Jul 2022 16:41:17 +0200 Message-ID: Subject: Re: [PATCH] asm-generic: correct reference to GENERIC_LIB_DEVMEM_IS_ALLOWED To: Arnd Bergmann Cc: Conor Dooley , Palmer Dabbelt , Palmer Dabbelt , "Luis R. Rodriguez" , linux-arch , kernel-janitors , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 3:07 PM Arnd Bergmann wrote: > > 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. Thanks for your testing. I will look into it. Probably it is due to some more rigor during builds (-Werror and new warning types in the default build) since I proposed the patch in October 2021. That should be easy to fix, but let us see. I will send a PATCH v2 soon. Lukas