Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp444682rwr; Wed, 3 May 2023 00:34:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Ydmy7bnt8hBnraan4eYLxzGQpkOl1+x+/jlDljqZbuNo7gRTgW+dmsNTk8BlbW5+oOGIx X-Received: by 2002:a05:6a20:5495:b0:f0:ffb:d1e2 with SMTP id i21-20020a056a20549500b000f00ffbd1e2mr25503564pzk.53.1683099241151; Wed, 03 May 2023 00:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683099241; cv=none; d=google.com; s=arc-20160816; b=OLP6yrdlDFbdQQR4GlKvPLeWVCOmK+ERPwdW2cDxUoafCtcwBZRR9C2v5+7JCFggda uKK+sxgFn2mFKU4xim+C2h1jV5AFabsTCmkOYuO3YNPf/4f+qO/yKnY7uMys+HUFnmnm cbs7vVATITgA6zkJxFIZCHAnMsTIwShELTD3aHt2HsRy2hxGlIwlnUTVXWnj0uyx9+Y7 HjD3TzKIG0rWAoOZY8VgS98Hgb7Bz0yBdJ4j61VX2wN2I3wEvrMI00KWMJs9UP11xXCz HUvsXKqpnJQzPmLRFug1QaqqSSsr1HzKSGJR2qarA7Fgi+jeaYcoIo22PL7NEMNWsX2W Dqtw== 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 :dkim-signature; bh=Uy5PpAsKGu7ciMA0KH8W435+ovkPrJCw8/GzBOIehDY=; b=sDzrD8xiLRBBxxfwN1UzanVAYRD5zAsmXU63hlPoYowV+g+GSLLv1SOHVqjnZWddDI eUOsViSX46IhYonpuRkPEwNKCluJUIvzMBWTTP0Qgh0LFhH+JXmcoeCOXbu9rimCMd2v 0eER49agnzUXoKZZPQ1Q/zCMViIRSGYeVeyJuOy0hTRa447QsmpuJLKas7o6Ca6PsrOz rvxQUjSlBOXv0x6fO6S5bcFf8ZkpuhZ9vf++AZT+b0rs5QJq3mqNiKY3nBjW80QIGYst q67J5fRRaietvVZDjGprPr33QMeG3BT5uuJ4G54dnm5ezGNkZt7tx+IJoBSPKdOigc3O yT1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ld7X1/eO"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020a63ea02000000b0052c65049113si519661pgi.322.2023.05.03.00.33.46; Wed, 03 May 2023 00:34: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; dkim=pass header.i=@linaro.org header.s=google header.b="ld7X1/eO"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229559AbjECHdf (ORCPT + 99 others); Wed, 3 May 2023 03:33:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbjECHdE (ORCPT ); Wed, 3 May 2023 03:33:04 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95AB03C11 for ; Wed, 3 May 2023 00:32:42 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-b9d8730fe5aso7055549276.1 for ; Wed, 03 May 2023 00:32:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683099161; x=1685691161; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Uy5PpAsKGu7ciMA0KH8W435+ovkPrJCw8/GzBOIehDY=; b=ld7X1/eOQn3jw3nscqDgK6ddNhZLhCbJd9fPsanB0OgdXTNVkQ6EYUUqBqyPM/a4vY CbHtyASiJA418MX0oSjMiiVC6FiPHw14WLUdEeW4Umr+YbCrJrLf7Hu5eVK7mdrvS4DL 9OmWoG7mWW8rmfaib9lGQ1oMZzSYCCqUfliHLErQsjuMdJcbCt3LcNup8fzoyt0Y/8GR akHy/Cg/e08JrY/cBm35hsRfsCSXWjiae/OD5Dh8cA2PThcAjwbY7B/39CO37V9omWgv O4OooSmTvvfZDRD1Nt5OUOhrDwbp6u/SmztihR1xLy5JcdwnB1lQkg/5xvUiJBgW8awI T2mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683099161; x=1685691161; 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=Uy5PpAsKGu7ciMA0KH8W435+ovkPrJCw8/GzBOIehDY=; b=S+j7+Bhxmzm6XpBcWkRZ9teiwZ021/7UaFY+4clC7gPS9ZWAan6QKK2FaLQb+gS1Hy L/WF4KEZUhWT2GOUAm87yJsOX3bcv8HSCe7cpGtmB7mihrJWy6laRNqSdmEGC6RwlqMi 7sbbvNJNkCaLvi60Dw4meiiKBLDuig3pBWBv5nNM73IujXmtqMQo4X4/BYrbv2gPUsbx V0e1iHOyCtJjDJSwcFF5V7gPN/gdrSbPmm8qCW8nRKfQG9qn0Nlfat1/dO2WgPxiRM/i YLeu8AyhHOMC0/XCQ3OdZUaCsWj7NehJt+fmV+QXWK2SMFZNV+GQIX25sUOwqf5bWbwG dB1w== X-Gm-Message-State: AC+VfDxXk6io5pwOKr6ZcZTYI8e9GhcqFf+fsUoOWuZ/dgAia54XkAuS 9HrPcoxm3RNubIK1GQUCv63zc/Ka7ovkSsNv0ZhVbA== X-Received: by 2002:a25:4c84:0:b0:b9e:5006:42af with SMTP id z126-20020a254c84000000b00b9e500642afmr5598495yba.58.1683099161569; Wed, 03 May 2023 00:32:41 -0700 (PDT) MIME-Version: 1.0 References: <168155718437.13678.714141668943813263.stgit@skinsburskii.localdomain> In-Reply-To: <168155718437.13678.714141668943813263.stgit@skinsburskii.localdomain> From: Linus Walleij Date: Wed, 3 May 2023 09:32:30 +0200 Message-ID: Subject: Re: [PATCH 0/7] Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes To: Stanislav Kinsburskii Cc: Matt Turner , x86@kernel.org, Stanislav Kinsburskii , Borislav Petkov , linux-ia64@vger.kernel.org, Mark Brown , Richard Henderson , linux-kernel@vger.kernel.org, Brian Cain , linux-mips@vger.kernel.org, Geert Uytterhoeven , linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, Michael Ellerman , Jiaxun Yang , Bjorn Helgaas , Andrew Morton , Dave Hansen , Omar Sandoval , Helge Deller , linuxppc-dev@lists.ozlabs.org, linux-hexagon@vger.kernel.org, Thomas Bogendoerfer , Ivan Kokshaysky , Ingo Molnar , Arnd Bergmann , Florian Fainelli , Chris Down , Nicholas Piggin , Christophe Leroy , "H. Peter Anvin" , Thomas Gleixner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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, Apr 27, 2023 at 7:41=E2=80=AFPM Stanislav Kinsburskii wrote: > This series is aimed to address compilation warnings when a constant poin= ter > is passed to virt_to_phys and isa_virt_to_bus functions: > > warning: passing argument 1 of =E2=80=98virt_to_phys=E2=80=99 discards = =E2=80=98const=E2=80=99 qualifier from pointer target type > warning: passing argument 1 of =E2=80=98isa_virt_to_bus=E2=80=99 discar= ds =E2=80=98const=E2=80=99 qualifier from pointer target type > > The change(s) is the same for all architectures, but it's split into a se= ries on > per-arch basis to simplify applying and testing on the maintainers side. > > The following series implements... This is nice. Reviewed-by: Linus Walleij I am working with an adjacent task, which is to make virt_to_pfn() and pfn_to_virt() into static inlines. I might need to rebase my work on top of this but it should be doable, I am currently stressing the buildbots with this with the idea to propose it to Arnd once v6.4-rc1 is out: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git= /log/?h=3Db4/virt-to-pfn-v6-4-rc1 Yours, Linus Walleij