Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4861598rwb; Tue, 8 Aug 2023 15:25:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGDuLEvfkw0lo2H0f+qbgRYcU/rIr0b7Sc/Fy+6yrnOzqD5w+eqZrbBAhP/fBWHrnp+XEdc X-Received: by 2002:a2e:b164:0:b0:2b9:f2e8:363 with SMTP id a4-20020a2eb164000000b002b9f2e80363mr460064ljm.51.1691533526402; Tue, 08 Aug 2023 15:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691533526; cv=none; d=google.com; s=arc-20160816; b=j02mbfwxHjIJaaQ1dxNU7JaZgTFcGk6V73NsVKzwBukGqH2J2vqKMNlT2Np/yIiyri KQP5hJnpp7GW2IT+K92fY9twRuqPyIWSjtMmRnVSWn8C3kAkzzc05pIDxqlu58a8sJsx QRZOfbncQS4L+4UnhGrbGru+CHX+pUaQ0U8hAk8ePhhx+ATR8K1Xa7b9Qd7g9T0YqKtf AKwCW2IzEudX17JA0pJSXOTQPDdSkFCnOIf84fNja1OEabZCdTZCfanCDGPt46mUnfQE 31JSTWTauPPk75Nj92YVNZ1ibf5HO/OQx8jPs03xgoUafBHUA5GunslI8LK9RiaBBw3m G8fg== 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=ai1runGTSkAj0e1hf+aJdNHxxj+ZHvJ6gp6VwW8HVhY=; fh=nDqDiii+d9IgakSBFznHWrp5GybLtCv95/REUbwGkJM=; b=UFRPICd6KWybU3NN3+LZVD2t0a/8jvl+/Ip0yDyuOcIw4imxJJ9oJMNKv5J+G6FOLI MCoJj+jkVHPy3ivu9WQ6wziOrgZ/6VCZ1n+omjFWtAgZbBqe5FwdYtaLPTgOyd7sgKf4 9zI4TMydbCRUh6Z5zJHBjALKfAqTRhFEcDbaqF1s8VllGeabKseLOue2/ba5ghBsB0qu vTB15wOStjB7ec+ItfMA6he3T1TFrxFZtET9/reU4pcucRSu9d+7GwTEx4VrzZs704jK Eg+vEJSh+VMJ9aKzLAHs9o3UFigAANRIAjvSs4GQGhaDUj0726l3Cb5o4QuN3msBGiX+ /x6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="tH/47qSq"; 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 i4-20020a170906250400b00988699d64cdsi8515726ejb.959.2023.08.08.15.25.01; Tue, 08 Aug 2023 15:25:26 -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="tH/47qSq"; 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 S235605AbjHHUhh (ORCPT + 99 others); Tue, 8 Aug 2023 16:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235273AbjHHUhU (ORCPT ); Tue, 8 Aug 2023 16:37:20 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 318F3FEDA for ; Tue, 8 Aug 2023 13:05:15 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-d075a831636so6466769276.3 for ; Tue, 08 Aug 2023 13:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691525114; x=1692129914; 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=ai1runGTSkAj0e1hf+aJdNHxxj+ZHvJ6gp6VwW8HVhY=; b=tH/47qSqfscDniRHVEd1T6nL3p+hNXSPx+nI8tvZQ8wqJ0bdTFHSoUnCBFDed2hXdw eSKqh1/PZT+O5402fd6RaSatzRKmlG7aW2VTqRr9GlA+dgUAJprynq9OoZH/NajFjdqN 1yVlSZv5va4HsoEbZH/GbrSaSc2C74LDNS3ss/dLrOTYV77wP6Sz+DulKJQMPwjsD2GC c5Mdc+AtLlScwYISqPfzhcklfsdXnDaE1APtLtkDbp2k2DMK5BdyT39xeX8PyMJbRtcb PhqxkbfHYXf6dXLDVCWLiIb8K2rIm0wgnemorfgjDz2r1PXQLSDAiKpSwDXVVKVrRSNH 6K6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691525114; x=1692129914; 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=ai1runGTSkAj0e1hf+aJdNHxxj+ZHvJ6gp6VwW8HVhY=; b=LuosKdOSm3x/E56AZGvEIedWa2ifwpxlgEcm7GS+/Lb9Xd5biPLOauvT0OshaLe9ST sGrnhaxEyHV3Vt31voOQv01YkdcL16Ay4Os2/deR1igtABnVhlVb+6trONgbJgv72D3E 3KDlCOZlykO2c8jfY83y1uXZ9FpTmRibCOHKEYXGlOmLcudJu88K1062nG9R8fchdPhm 9KTrtz7I+nE8KGGEMsvwaSZP9dEWud88HW8qfY7MCXAcO/g1mtnkmCGXYykZFWnMP2/i +PZjOH6kYYgZG3WOlCfqsh2C6KlOA9z+KGvyz2SEzlwPu/wms9zmuWpm/eZPaoU3Q/o4 rcuw== X-Gm-Message-State: AOJu0Ywv8A5sR4gxO8fBr7qdwdW52kJqcPMt/VHidbO551pr4Pgg0mZz EuysOl7uAgSIFozGwHCoAhwNCn0uZyBVLjkQh+SJ5g== X-Received: by 2002:a25:504d:0:b0:d36:8d9d:d616 with SMTP id e74-20020a25504d000000b00d368d9dd616mr631529ybb.35.1691525114376; Tue, 08 Aug 2023 13:05:14 -0700 (PDT) MIME-Version: 1.0 References: <20230808-virt-to-phys-mips-v1-1-af6fcd45ed31@linaro.org> In-Reply-To: From: Linus Walleij Date: Tue, 8 Aug 2023 22:05:02 +0200 Message-ID: Subject: Re: [PATCH] MIPS: Drop virt_to_phys define to self To: Arnd Bergmann Cc: Thomas Bogendoerfer , Florian Fainelli , Baoquan He , Jiaxun Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,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 Tue, Aug 8, 2023 at 3:46=E2=80=AFPM Arnd Bergmann wrote: > On Tue, Aug 8, 2023, at 15:12, Linus Walleij wrote: > > Normally you would do this so as to override the default virt_to_phys() > > from include/asm-generic/io.h, but we do not seem to be using it here? > > Correct. In linux-next, we have converted arch/sh to use > include/asm-generic/io.h, so arch/mips is now the last one > to not use it. > > I see that Jiaxun Yang posted a patch for this in May and it looked > like it should finally work [1], but there seems to still be something > missing. Oh that's a nice patch! > For the moment, I'd suggest we leave the #define in place > here in order to finish the patch that starts using the > asm-generic header, and then we can look into using more > of the generic code. Sure, no point in causing stir with Jiaxun's work, let's drop this patch. Yours, Linus Walleij