Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp13796pxb; Wed, 30 Mar 2022 21:27:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyydWlXGduFkM9ede6N+WBzpr8zJtzrFbCQgrp9uKN6xitXdNDHhmy6OOpGV9aKHxAmV316 X-Received: by 2002:a05:6a00:2124:b0:4fa:739f:2386 with SMTP id n4-20020a056a00212400b004fa739f2386mr3408613pfj.68.1648700863874; Wed, 30 Mar 2022 21:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648700863; cv=none; d=google.com; s=arc-20160816; b=JPifjhHB6/KQDqlQ8uP86JS6Wccfol+zezAtkh6PyF80r+9d/NkkvzYWWiuiovRM2T FRATFAL5FinN/cojugWJk6auM8wxbGtlosSI5n6KAReV6wO0Q5b+How+dUDrDG9Qo1IT 8+hAAFdHPq+11/kKeGVPctzStC3g8+Wbnj6Ajp1eh4jhzHXVdLQwkSRT5qN9UraZom3Z PjO7FZ0T5SBydX2eY7duqPtuKn/P2O274cmZc/ShXpruaAXFb/8YM4PiUZvU/XJ//cBM O2Hx5qeqPm+gCyW3OYAD2203MCyEq2cx2aIAzgQSVBk2DxkahtG9YVX/zyd5Vh2Mfoly nd+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject :dkim-signature; bh=mbvQcvzRMWuLzmRogAceckeWGzUztkwWXFc3ujFTsg4=; b=D/k0V0kLEeVwdmPpBlsgLF7i55UMhxJWMGev8TtM3ASgxjCBEMMh8QwSFy76eiF1Ew aDleftSMTASQOiOiNd+wJzQktcqBqUMmltzQQy9cE2Gb4etd4u2b0f2V+AEQ6WvQ8x0i 9w+qFNh9biAlLXndO3bZi+nsCOcBsHsy00MTPKAkUcseHVr7RjCOKB8CdeU/qnTIYxQz tEYK6Ag2ZNWSLX0EkU5xtzxkNs2zTcn4T1wP2LZB7OZf4dStn534ma3E/TwVwG6xYfnM d72ctk50y8sfcv+KkQvux34RWSvJ4FVjUCQFqgAe/rgHVQm+KBS9QMDR5G/1Llp5nD2V CQPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=hKV3NtwL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l17-20020a170902f69100b00153b2d1643dsi24996496plg.69.2022.03.30.21.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 21:27:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=hKV3NtwL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 864071C7C39; Wed, 30 Mar 2022 20:22:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351903AbiC3Xuf (ORCPT + 99 others); Wed, 30 Mar 2022 19:50:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351887AbiC3XuY (ORCPT ); Wed, 30 Mar 2022 19:50:24 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A1D417E0A for ; Wed, 30 Mar 2022 16:48:37 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id b15so20329759pfm.5 for ; Wed, 30 Mar 2022 16:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding:cc:from:to; bh=mbvQcvzRMWuLzmRogAceckeWGzUztkwWXFc3ujFTsg4=; b=hKV3NtwLlixYyPl3wYg91OPT9ev6NMYgYVcW66JImWNV4H6l/6QD6bu/oZiuPvb7sU 5c8wjhHFBrwPjLGHIWwLfasYWOKBYez82T6uiRd9tEBtKc/Ss0PPdxCegGZ2+Iov5gDo fv8EC2gXx/eL3evXObW0dxrjs+T8yl8ytIuSdoJ+jRxyWTsZtn6YOkuyJA27F1dn1E+p KFW7TRR7tJNQICZ1fSgt5g9NqKs5v5bSvp0z5XYkLvNZ3h0fdtmMamnoRJVsqrijGOsI Rl1PywIQbfbX86u+RNGW52gA6f8iVv/nOyyWFRIbWlbgsSFU+IH/iRjtQx5lCiRfQIap axKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:cc:from:to; bh=mbvQcvzRMWuLzmRogAceckeWGzUztkwWXFc3ujFTsg4=; b=5ongp4M6IoURv1oJHIjKqxJOSey1fWKMw15GOL0mbhbWA7q2DHUWeQI4WbG1dzkGwU FT1oqDEDqR+AiNAnFV2FlXbYf93mxCA95ilNC2CaGkyRHc5QeqeH+XfwdhDgSJxBAklh ylwovARyFoCXoKvVuGCoGUxZl9KnmtqvD5SPMzR8mweK+7nbYx+1Z/f47Er8rSsu/LIn qsKuROQE1I7GD67VFbvhCnX0GDn+/Pl+Tw+46sLiCozh1zVawRfh7L8F7vK0EstJsLmo 9PgBkYy+yZXOW+hbWEzzp0gc71MskEDoqs9lUCtawOx5vh4pPsazCA0ZyDt4dSYkt9ib 1VQQ== X-Gm-Message-State: AOAM531I8EinDFXHjb6Gu4SIUMJ+TEC1zlDBhZjpK99raxjaL1XWAhCq 0Go+EsCfe/pa8oppY09zKz+b1w== X-Received: by 2002:a05:6a00:130e:b0:4cc:3c7d:4dec with SMTP id j14-20020a056a00130e00b004cc3c7d4decmr2142386pfu.32.1648684116701; Wed, 30 Mar 2022 16:48:36 -0700 (PDT) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id g70-20020a636b49000000b003823dd39d41sm20075524pgc.64.2022.03.30.16.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 16:48:36 -0700 (PDT) Subject: [PATCH 2/3] RISC-V: K210 defconfigs: Drop redundant MEMBARRIER=n Date: Wed, 30 Mar 2022 16:47:38 -0700 Message-Id: <20220330234739.1956-2-palmer@rivosinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220330234739.1956-1-palmer@rivosinc.com> References: <20220330234739.1956-1-palmer@rivosinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Paul Walmsley , Palmer Dabbelt , aou@eecs.berkeley.edu, anup@brainfault.org, heinrich.schuchardt@canonical.com, atishp@atishpatra.org, mchitale@ventanamicro.com, alexandre.ghiti@canonical.com, damien.lemoal@opensource.wdc.com, axboe@kernel.dk, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Palmer Dabbelt From: Palmer Dabbelt To: linux-riscv@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Palmer Dabbelt As of 93917ad50972 ("RISC-V: Add support for restartable sequence") we have support for restartable sequences, which default to enabled. These select MEMBARRIER, so disabling it is now redundant. Signed-off-by: Palmer Dabbelt --- I'm not actually sure this is the right way to go: presumably the K210 defconfigs had MEMBARRIER=n for a reason (maybe just size?), so we might actually want to move to RSEQ=n instead? As usual: I don't test on the K210, so I'm not exactly sure what the constraints are. --- arch/riscv/configs/nommu_k210_defconfig | 1 - arch/riscv/configs/nommu_k210_sdcard_defconfig | 1 - arch/riscv/configs/nommu_virt_defconfig | 1 - 3 files changed, 3 deletions(-) diff --git a/arch/riscv/configs/nommu_k210_defconfig b/arch/riscv/configs/nommu_k210_defconfig index 3f42ed87dde8..2438fa39f8ae 100644 --- a/arch/riscv/configs/nommu_k210_defconfig +++ b/arch/riscv/configs/nommu_k210_defconfig @@ -21,7 +21,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_AIO is not set # CONFIG_IO_URING is not set # CONFIG_ADVISE_SYSCALLS is not set -# CONFIG_MEMBARRIER is not set # CONFIG_KALLSYMS is not set CONFIG_EMBEDDED=y # CONFIG_VM_EVENT_COUNTERS is not set diff --git a/arch/riscv/configs/nommu_k210_sdcard_defconfig b/arch/riscv/configs/nommu_k210_sdcard_defconfig index af64b95e88cc..9a133e63ae5b 100644 --- a/arch/riscv/configs/nommu_k210_sdcard_defconfig +++ b/arch/riscv/configs/nommu_k210_sdcard_defconfig @@ -13,7 +13,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_AIO is not set # CONFIG_IO_URING is not set # CONFIG_ADVISE_SYSCALLS is not set -# CONFIG_MEMBARRIER is not set # CONFIG_KALLSYMS is not set CONFIG_EMBEDDED=y # CONFIG_VM_EVENT_COUNTERS is not set diff --git a/arch/riscv/configs/nommu_virt_defconfig b/arch/riscv/configs/nommu_virt_defconfig index e1c9864b6237..5269fbb6b4fc 100644 --- a/arch/riscv/configs/nommu_virt_defconfig +++ b/arch/riscv/configs/nommu_virt_defconfig @@ -19,7 +19,6 @@ CONFIG_EXPERT=y # CONFIG_AIO is not set # CONFIG_IO_URING is not set # CONFIG_ADVISE_SYSCALLS is not set -# CONFIG_MEMBARRIER is not set # CONFIG_KALLSYMS is not set # CONFIG_VM_EVENT_COUNTERS is not set # CONFIG_COMPAT_BRK is not set -- 2.34.1