Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp34009pxb; Tue, 28 Sep 2021 14:46:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpHNZSDgnMYp7WjsQunV5Xnnu7Wfihd2HI2D57AEiZZL7xVu/GUAzCg3FccGNsAIWB5RRo X-Received: by 2002:a17:906:24c1:: with SMTP id f1mr9821738ejb.314.1632865591693; Tue, 28 Sep 2021 14:46:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632865591; cv=none; d=google.com; s=arc-20160816; b=zjRpbsIUURQ4xJ9iTBZGslwrcdveBYyamiwj5+tbE8FcAdBZbPpbRzsOit0z4s0Jyq XFIm9baIMJWyYUiSYO7yVIFU9Xda530mwp/+HQMBHz/9wyyWrCxnQUjarjRTqIiawek2 xDfcAdNPwWXXRYYHS3eDUkvitL9VxdfTVAb1UsWgvsJsMEcyqOJNLA1HRizbkBAZcKj1 3TzktqPa/YU3i6ioYPrxWTG37ODHIt1KtpATLarbRpJvWY6M2fsQlhsIsKTNnaqYwawo GC4xqlgkRfV/zkgYtrKsCPFe1QnxDkbAxQFr0rh/4uAWpiPT6ouHYSn6Yhl9fizNPXVO W0+A== 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=/OvWBlXIC3vAiOn884UWZV20fUxwEJyO2lDA28+sf/E=; b=e0VowUTdsWuZaWQDqqUxFHN7VnnUJlepo1oGR+AwYZm4MHU2v7dVRevp1jL4iRHidc CSWqZH9N5bulO00DllvTw/TC5eCwBK+srj3DduCXAJhm7NDpqooDmZLacp7CNthU+24f T8ln+PZSlB7xlRWaUHGmk1F6tqq5TtGfD6LI1f9jP/81QeDbf8jqeGpLXCLp1b+L3EMF 1UgoQ3r1Ejoewys9kcQLRAhGJIsQe7qdEpGbbkc8SIItv4JtWGC11LzkQvzRCSkrW+56 STWoAYC9Z8IA7MeutfxTc3kzfWuOESZT/QSgfukvNIKH5GeiEUwNhCZzG/e38tiQ/Rti hXqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hVZm+Iba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si267268ejk.740.2021.09.28.14.46.07; Tue, 28 Sep 2021 14:46:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hVZm+Iba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S242993AbhI1VqD (ORCPT + 99 others); Tue, 28 Sep 2021 17:46:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242987AbhI1VqD (ORCPT ); Tue, 28 Sep 2021 17:46:03 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36E23C06161C for ; Tue, 28 Sep 2021 14:44:23 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id bd28so493382edb.9 for ; Tue, 28 Sep 2021 14:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/OvWBlXIC3vAiOn884UWZV20fUxwEJyO2lDA28+sf/E=; b=hVZm+Iba9fHNkhnmfNB1AbH1LpNEe7jMDaK4jiHnsjnThMdsYOmFjWOfwdHpdznSz9 WV/equMm28tsPhg8snenVYB2KQg6gi7ZPfV/jNGbD2cQr9hZFtFfFxdUClVCPDgno5DN +2FcYUj2ijocVOFQSFOHa+BBegr9dTBOayzGGvAxKo2ZV1cLqX/P/Go7JPTYn0pqDBpZ YrX/1Zs72RSN5J5H1vYjw3/yUY05b3/FD0VR7OUVEz//KizuGcdcg2e5p5m8QfW60IKH +3YvN2yhht53qOXlnE2ydKzznLYhMJdSXGakGHu+rtGMb5k3gYPGeyCQ7wRee+AC+CIz 04QA== 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=/OvWBlXIC3vAiOn884UWZV20fUxwEJyO2lDA28+sf/E=; b=WWTPZspmsXxhfbUoRZvQGzC0ptu6dr+lQre/ClxWEBfdnagf0sFpDjjkF6k6/K91Ij g6Jn/YDU1xFkPIugmBstBQIPRl9gNkuE0XNTj+yPEnnyywximB9zuDlm+0lDwabhWnxT BGfuLeNiPPWJ8u9RtnrCFSXzk7GqtyPtKkJe9vOyph0dv/QW59mbG5JVqBf1l6i/0Ugw /pKz8GRj/EySddrASVppWhH088iWnEInumqGjos60Di8MDrgzsOc/ANNkb9UDhi0Kp6D ffWqkN24YnD3PqurMv6GN9XN7rw2VUyQecqRsEskNxmyalPbrNHZvIHenuVGHz9xebsw 6vbA== X-Gm-Message-State: AOAM532qL/MILd8TQIbQ6a4ypRGB046PyL4Fqrgz2XplnHeXeAWZFCXV DduslJAblzZYyRPwUA2XRHFYtvMylaTHm7yiPvPqrA== X-Received: by 2002:a17:906:8618:: with SMTP id o24mr6798492ejx.189.1632865461191; Tue, 28 Sep 2021 14:44:21 -0700 (PDT) MIME-Version: 1.0 References: <20210928154143.2106903-1-arnd@kernel.org> <20210928154143.2106903-13-arnd@kernel.org> In-Reply-To: <20210928154143.2106903-13-arnd@kernel.org> From: Linus Walleij Date: Tue, 28 Sep 2021 23:44:10 +0200 Message-ID: Subject: Re: [PATCH 12/14] ARM: add CONFIG_PHYS_OFFSET default values To: Arnd Bergmann Cc: Russell King , Linux ARM , linux-kernel , Arnd Bergmann , Ard Biesheuvel , Nathan Chancellor , Nick Desaulniers , llvm@lists.linux.dev, Nicolas Pitre Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 28, 2021 at 5:42 PM Arnd Bergmann wrote: > From: Arnd Bergmann > > For platforms that are not yet converted to ARCH_MULTIPLATFORM, > we can disable CONFIG_ARM_PATCH_PHYS_VIRT, which in turn requires > setting a correct address here. > > As we actualy know what all the values are supposed to be based > on the old mach/memory.h header file contents (from git history), > we can just add them here. > > This also solves a problem in Kconfig where 'make randconfig' > fails to continue if no number is selected for a 'hex' option. > Users can still override the number at configuration time, e.g. > when the memory visible to the kernel starts at a nonstandard > address on some machine, but it should no longer be required > now. > > I originally posted this back in 2016, but the problem still > persists. The patch has gotten much simpler though, as almost > all platforms rely on ARM_PATCH_PHYS_VIRT now. > > Acked-by: Nicolas Pitre > Link: https://lore.kernel.org/linux-arm-kernel/1455804123-2526139-5-git-send-email-arnd@arndb.de/ > Signed-off-by: Arnd Bergmann Reviewed-by: Linus Walleij BTW thanks for this very nice cleanup patch set! Yours, Linus Walleij