From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7BAC4ECAAD4 for ; Wed, 31 Aug 2022 13:36:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C0oGzGrPokJd/g2Gi584xUKcYSrOLkuAdGIT0iAXBr8=; b=3uyRMAfYvRwy3a BPnRntDR7O/m1wjlsUGCyZLohN0HtI/pAO7SLQuVh7LDL+aBw7+TeTlmGVrjoBPYhi3K4Ek+sCTYT ipIcHfNu8NKphBe0YH84D8FNulPxBIpculavsf6qlEjFS9SK0k5ERs0gMocaBIg9iOyMbkisAP6xa 2Ljonv6Rp27skKvWJ/V2NEY8IKOkxQ87JQ/A8f7OhbVWjqz3KAsAKma5RC+Qhb5A/269RYgH9OqJL TbYbTxw/zxGWjds24F79IItS+FX4Bz8kRmGpwELOjgMsRCo8fcvQeJIgBqnlVcuA+OoYj8XalgkE3 CLXycDUd/8SnJ+ChdPVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTNsH-006PRr-Ix; Wed, 31 Aug 2022 13:35:21 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTNsE-006PMw-Cl for linux-arm-kernel@lists.infradead.org; Wed, 31 Aug 2022 13:35:19 +0000 Received: by mail-ed1-x529.google.com with SMTP id s11so18391606edd.13 for ; Wed, 31 Aug 2022 06:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=ILMmjKU6Icsi2CtEhA4aXyZVYS/WtQ7hgIQ3u2QLb+M=; b=KK7mmQc8i7qlU4Z6etcXWe2hZp4sScQNajKhHvm5shRsxcgYGTw7Bdb6jIPcnbTA3w qwQ7PNbjXLxpDC5NKnAsgncpOKtCPHVvUiCMIxlecOAQMz8zkYr3+ICA6kRljxEpecmo j/VAsiXyEBtexP5UaYXWQ6MYvbpBK2Iy96+m7fPsmGNv3kHmPYcuh7LUaNNabwJmNVq4 EDjhZcqaGyA4O2u7TTfuaYLoTbpvmE4j89pjZggtIaM3ts44rTjmXcuf1kWIGmGhV6Di ZmEX9qxGlqzM7ZZecsXdY7Tc5HE56GHOhHbnAf39XACQ9p2PVFqXc+TgaXucQ/axc4Ky Kvzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=ILMmjKU6Icsi2CtEhA4aXyZVYS/WtQ7hgIQ3u2QLb+M=; b=QkY+4vR24FD77TDKbq6ZO7MsRPTKponCldtEDBTOOiwlulGZX/wqc66KSAfqesPESi UCP+VkYbj3kbIAa8lnr/4gdAsxm+Ez45dPh081y1zhlZRHHDNPC3h4o/s1KIezoJsBs0 cGkaC2Bz6Rj7BswINpMgTWxH1auzthEP+NFMZBO7vF6Wg04Xuv5F84NIeFnxruahpKQI ou2TeAMdnnAAs4T8uM0lBeaUiS+x+eXDVF3rs+2HQaIvEV/DE58Il+6/sDGsd8ifAmIa 4ts9wzM9c/vuQ01vVLbALmjuYS2Yrwxksx6dzNtIVn4aYNjnOTHWdq9kmXIjrGlrNyqE ENRw== X-Gm-Message-State: ACgBeo1a9bRHoPk07ihP1Y3H5DwbYuYY8c30HOTlAUxAMhwh4x0EcSDH Ft0s1rTr16l7UfmsG+LA207KXtUOJZcwTjbR6IMtqg== X-Google-Smtp-Source: AA6agR7Mt8+J+9C0t+E4H+SNLbKfvp6sQInXKIqgn+PeoTndSKIMBZutDhAtAgFa4DGD+hCYGDvQ2KjcehdXw9v0rCI= X-Received: by 2002:a05:6402:641:b0:446:d:bd64 with SMTP id u1-20020a056402064100b00446000dbd64mr24694639edx.32.1661952913167; Wed, 31 Aug 2022 06:35:13 -0700 (PDT) MIME-Version: 1.0 References: <20220818145616.3156379-1-arnd@kernel.org> <20220818145616.3156379-5-arnd@kernel.org> <63a630b7-9068-40f9-b7f7-d9a08f74ed13@www.fastmail.com> In-Reply-To: <63a630b7-9068-40f9-b7f7-d9a08f74ed13@www.fastmail.com> From: Linus Walleij Date: Wed, 31 Aug 2022 15:35:01 +0200 Message-ID: Subject: Re: [PATCH] ARM: fix XIP_KERNEL dependencies To: Arnd Bergmann Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King , Geert Uytterhoeven , Krzysztof Kozlowski , Ard Biesheuvel , Sekhar Nori , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220831_063518_455486_0C27E08D X-CRM114-Status: GOOD ( 13.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Aug 30, 2022 at 9:21 AM Arnd Bergmann wrote: > CONFIG_XIP_KERNEL does not work with any option that involves patching > the read-only kernel .text. > > Since at least CONFIG_SMP_ON_UP is required in certain configurations, > flip the dependency to always allow the .text patching options but make > XIP_KERNEL have the dependency instead. > > This is a prerequisite for allowing CONFIG_ARCH_MULTIPLATFORM to > be disabled. > > Signed-off-by: Arnd Bergmann OK this should work! Reviewed-by: Linus Walleij Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel