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 X-Spam-Level: X-Spam-Status: No, score=-16.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99C8FC433ED for ; Fri, 14 May 2021 08:30:48 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2362661076 for ; Fri, 14 May 2021 08:30:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2362661076 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=25XV0Wd7deQcR8V3Z5//FltA2AsHK74OSOJ6ZK+cMC8=; b=oUDu7E5f/fui4Xl5uyq4WLckC uR72nuX3GZsqQkGB7CHjqnXQZuyjGwtlZRGJ48IuHfz23aAI6k0i8fE1fjFw5gfoWkGF/fjb+H8L5 3bB37zCipljkhmYPJ7DT9iiZBvUigqSrqmbAve6oQF05qXgYPzPQGOdW7eWPLVWIrDhfCGxI9cHZn LUADnO5uhUgrlR5R6bZNwuEuUslOPgt4mxrQP+DHCt5UY6ik89npb+PLbVE6w15ljNGhCDwRovME7 X6YV1XGkSyloRWblsA/9oXJZECqpWb912W8ejbYbrHix4UEq6TcmII1T8SltyeLdS5Zd0gucY5xYy wTb2Ae6aw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhTBX-007VG2-J1; Fri, 14 May 2021 08:28:39 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhTBL-007V9R-2o for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 08:28:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=5w0DUc6v8+Ohu3/Un9/gp8Wn9KzAdxtOI/JJ1rmwYuM=; b=KYgzA5HPQ+UaL73Avn+FWXUAM/ McUCk4Krfb/AlzQ1XYKAu6EmoCO+wKahD9Wg3iBDnpHi6Cnjlz2po9FOwJQjJ6ImVq58Lcm8/tx/H QQHSNlg9OdJodiIc1WyWFpuXRkG3MmPwu4fmr5k6NySleWEMZNhkCXitV6yW0SVGlSZkb/EHLnNTe EDnxxUSy+HTUGT2DYGmMeYL/alKJctTigYisUh/dSYBKqKUGI8DVaPdBiJ9zy394Fuy+KyMArAMJb dJDEc5PDGeNDqIieszsA6BlpEyS1EFsxu8gq36jWUq+wgYM/1i6RAW3FGY7kDqqu2GBhgyrAXeHCJ KpE58hog==; Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhTBI-00BolW-IR for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 08:28:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620980903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5w0DUc6v8+Ohu3/Un9/gp8Wn9KzAdxtOI/JJ1rmwYuM=; b=MFp+EYNbog+UbV2XVhYnOj/c1lOm9aOA/xV5gEKAbUNc96DQ1DGZ5eudogQW02T+1p8vdz zsuMpxLNWMCxbAC0kF5UMTbQU7AOgk/cMs3wZl44c729Uw0iOfiwRVRmYNIFd8+k3GUVC0 0ybJIzxSzkSaz1XT9cYmp1f+sXfWXUs= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-104-beInfOBAOmi8UICyVdcSPA-1; Fri, 14 May 2021 04:28:19 -0400 X-MC-Unique: beInfOBAOmi8UICyVdcSPA-1 Received: by mail-ed1-f70.google.com with SMTP id d13-20020a056402144db0290387e63c95d8so16047078edx.11 for ; Fri, 14 May 2021 01:28:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=5w0DUc6v8+Ohu3/Un9/gp8Wn9KzAdxtOI/JJ1rmwYuM=; b=Vd2BxAT5UVJ7cdCXtQ9bKtQG6iAh1nH3jy3kMj5jZy8hXO1Re1R2wFdlCmwPcN92vC Lmg4ilVB34ve7QDMILCyClOltyeA1bGQHoosxPYEO5Dm/v7si31WNRlTt6vzgLHsGAJY NCE83e2jLVB9CCdNBaw9f0l6stl6n+PvBLgDqF0SuYTtGZIhDQqq8NAAD39Er8fKOUE3 mf0UEWRqHIPsZpbCE0gbQyK2cD/2ipJaWUnBRjfO2+kBeNppjKD36iCrz6m6E4S8C/wN BDZDDYKC/UbpAHz+bEURx/Efc5ma159/NNMFRWqXj5vsE5q5OUk4QiMOaVnw4Ax8aXNG mDWQ== X-Gm-Message-State: AOAM530RcX/k3E5XZ5CTJ/mKRPCHPq7RWTyYHuSWdEQPMUcGRrlDJOXb KHtb+t3YkNAp5T8TkbrIBOVa3kyYgGDZTCHI1/dh62DfyKifI9lsF9CNMWa1Yf5Sz4I+siT9LqV DgDwDT/3KHoRsr18LeZEDJSc1t3P9HY0Mrj0= X-Received: by 2002:aa7:c510:: with SMTP id o16mr54629592edq.310.1620980898824; Fri, 14 May 2021 01:28:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAa7CtEGRAWr1lF7BGwkWkyoH00MJ3yOs2g5NJWUfLIy+27BD8PFUUKz633oLeJlXdgmtb9Q== X-Received: by 2002:aa7:c510:: with SMTP id o16mr54629525edq.310.1620980898588; Fri, 14 May 2021 01:28:18 -0700 (PDT) Received: from [192.168.3.132] (p5b0c6501.dip0.t-ipconnect.de. [91.12.101.1]) by smtp.gmail.com with ESMTPSA id s4sm4090012edq.96.2021.05.14.01.28.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 May 2021 01:28:18 -0700 (PDT) Subject: Re: [PATCH v19 2/8] riscv/Kconfig: make direct map manipulation options depend on MMU To: Mike Rapoport , Andrew Morton Cc: Alexander Viro , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christopher Lameter , Dan Williams , Dave Hansen , Elena Reshetova , "H. Peter Anvin" , Hagen Paul Pfeifer , Ingo Molnar , James Bottomley , Kees Cook , "Kirill A. Shutemov" , Matthew Wilcox , Matthew Garrett , Mark Rutland , Michal Hocko , Mike Rapoport , Michael Kerrisk , Palmer Dabbelt , Palmer Dabbelt , Paul Walmsley , Peter Zijlstra , "Rafael J. Wysocki" , Rick Edgecombe , Roman Gushchin , Shakeel Butt , Shuah Khan , Thomas Gleixner , Tycho Andersen , Will Deacon , Yury Norov , linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org, kernel test robot References: <20210513184734.29317-1-rppt@kernel.org> <20210513184734.29317-3-rppt@kernel.org> From: David Hildenbrand Organization: Red Hat Message-ID: Date: Fri, 14 May 2021 10:28:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210513184734.29317-3-rppt@kernel.org> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_012824_693705_728D2671 X-CRM114-Status: GOOD ( 23.32 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 13.05.21 20:47, Mike Rapoport wrote: > From: Mike Rapoport > > ARCH_HAS_SET_DIRECT_MAP and ARCH_HAS_SET_MEMORY configuration options have > no meaning when CONFIG_MMU is disabled and there is no point to enable > them for the nommu case. > > Add an explicit dependency on MMU for these options. > > Signed-off-by: Mike Rapoport > Reported-by: kernel test robot > --- > arch/riscv/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index a8ad8eb76120..c426e7d20907 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -26,8 +26,8 @@ config RISCV > select ARCH_HAS_KCOV > select ARCH_HAS_MMIOWB > select ARCH_HAS_PTE_SPECIAL > - select ARCH_HAS_SET_DIRECT_MAP > - select ARCH_HAS_SET_MEMORY > + select ARCH_HAS_SET_DIRECT_MAP if MMU > + select ARCH_HAS_SET_MEMORY if MMU > select ARCH_HAS_STRICT_KERNEL_RWX if MMU && !XIP_KERNEL > select ARCH_HAS_STRICT_MODULE_RWX if MMU && !XIP_KERNEL > select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST > Reviewed-by: David Hildenbrand -- Thanks, David / dhildenb _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel