From patchwork Mon Aug 16 08:24:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 1517057 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Bqf1N9dH; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Gp6g40DZCz9sWw for ; Mon, 16 Aug 2021 18:25:36 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Gp6g35tqKz3cl6 for ; Mon, 16 Aug 2021 18:25:35 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Bqf1N9dH; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62f; helo=mail-pl1-x62f.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Bqf1N9dH; dkim-atps=neutral Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Gp6dm3hSDz30GQ for ; Mon, 16 Aug 2021 18:24:28 +1000 (AEST) Received: by mail-pl1-x62f.google.com with SMTP id e19so19905196pla.10 for ; Mon, 16 Aug 2021 01:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KsROo587+qUywH1jdAFJy4E7RhcZdUyJiBb0LnvzW6Y=; b=Bqf1N9dH2SdY59JXtefRr98iXsV/ZUeklQeqsBPlN6T1ZAW+4OKfdVC4wUgdrFNpcI XpKuMisWA18ZMuXqh3/kJj1w4Lqtchmo1tvArJ2VZie6YA1iQ962fn3VU2ph8Uu3dzsX kWvorj2T/SKa15zSEZu0a2OYleA/FMnZxcWNMqhYA9GXDekdmYWLhsubyRamMXuVneN7 qBs3+Fu21qUT/R674ivPy+1jDr7leSB9P6xzURCQwoi3OBswIzM0hTy+CQUgMX4+0sN+ 1tbxPk1CX7GpDTtYkCE0hWhakBKAXNOrIzD88K0qdWxPJndzFeBqwWA+GCkufB9Tpduz NwXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=KsROo587+qUywH1jdAFJy4E7RhcZdUyJiBb0LnvzW6Y=; b=Ld+rylZOPU381dsK7QfGtcgy+3bEBGCdOw8ViJprVILncM1vtFV4bC5msMspeZzXHW Fh4nJ4yxb+0Ko6EBvo6UTL8bLo79Y8wlvPIlc8kdJYG5F/wKmT/TnRw+LGvl/IFLKmaE +Dqu8YI7hklqufpoIvOfPjnBhDlMiZCRzjJe6kGUOeW+G7FTnE8FuGg3GdJRo/NhIo/d 2sWClLhedpCmFJS+QzScQyQVwTcGT/ObIqhINynvKx6UCsNkMABvm/IjD3126vxk0mH0 caQd7Go1H8Uwz4ifoQY4f4CvUt9B8e0I64X4YgKBuFB7S53wWXG5rbAvMk3zcEK1eSok c2jg== X-Gm-Message-State: AOAM531G78TDv6fpcVptY0JlDyBsKGYXzydP0c3XhWNmLhZVX00MmYD6 b4RW5Tz21WQ5mA7Axv3tRtY= X-Google-Smtp-Source: ABdhPJzfvD9NOO7s9sJOJCOmv/el5BCm0xPeCQj7QVr71F6aM4AVc8if6v3lOBwTyD5BOWPiApNpzQ== X-Received: by 2002:a17:90b:33d1:: with SMTP id lk17mr4932854pjb.83.1629102266366; Mon, 16 Aug 2021 01:24:26 -0700 (PDT) Received: from voyager.lan ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id u24sm10542358pfm.85.2021.08.16.01.24.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Aug 2021 01:24:25 -0700 (PDT) From: Joel Stanley To: Paul Mackerras , Michael Neuling , Anton Blanchard , Michael Ellerman , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/3] powerpc/64s: Fix build when !PPC_BARRIER_NOSPEC Date: Mon, 16 Aug 2021 17:54:01 +0930 Message-Id: <20210816082403.2293846-2-joel@jms.id.au> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210816082403.2293846-1-joel@jms.id.au> References: <20210816082403.2293846-1-joel@jms.id.au> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Axtens Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" When disabling PPC_BARRIER_NOSPEC the do_barrier_nospec_fixups_range definition is still included, as well as a stub in asm/setup.h: ../arch/powerpc/lib/feature-fixups.c:502:6: error: redefinition of ‘do_barrier_nospec_fixu> 502 | void do_barrier_nospec_fixups_range(bool enable, void *fixup_start, void *fixup_en> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../arch/powerpc/lib/feature-fixups.c:23: ../arch/powerpc/include/asm/setup.h:70:20: note: previous definition of ‘do_barrier_nospec> 70 | static inline void do_barrier_nospec_fixups_range(bool enable, void *start, void *> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I assume the intent was to put the just do_barrier_nospec_fixups behind PPC_BARRIER_NOSPEC and let the compiler drop _range when there are no users. (There is a caller in module.c, but this is behind PPC_BARRIER_NOSPEC). This makes PPC_BOOK3S_64 match how the PPC_FSL_BOOK3E build works. Signed-off-by: Joel Stanley --- arch/powerpc/include/asm/setup.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/include/asm/setup.h b/arch/powerpc/include/asm/setup.h index 6c1a7d217d1a..71012284c044 100644 --- a/arch/powerpc/include/asm/setup.h +++ b/arch/powerpc/include/asm/setup.h @@ -66,8 +66,6 @@ extern bool barrier_nospec_enabled; #ifdef CONFIG_PPC_BARRIER_NOSPEC void do_barrier_nospec_fixups_range(bool enable, void *start, void *end); -#else -static inline void do_barrier_nospec_fixups_range(bool enable, void *start, void *end) { } #endif #ifdef CONFIG_PPC_FSL_BOOK3E From patchwork Mon Aug 16 08:24:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 1517058 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=czsVNgGx; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Gp6gp3z5jz9sWw for ; Mon, 16 Aug 2021 18:26:14 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Gp6gp311Dz3bWT for ; Mon, 16 Aug 2021 18:26:14 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=czsVNgGx; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::102c; helo=mail-pj1-x102c.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=czsVNgGx; dkim-atps=neutral Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Gp6ds1j3Sz30RV for ; Mon, 16 Aug 2021 18:24:33 +1000 (AEST) Received: by mail-pj1-x102c.google.com with SMTP id n13-20020a17090a4e0d00b0017946980d8dso12151231pjh.5 for ; Mon, 16 Aug 2021 01:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0/BQ5I59R5DvReXc9OPs6E0JDRNhr4UM8x2hWwNF/QE=; b=czsVNgGxtJ66p3SWs9L8qRacGPoxa3qns0K9P/5IErUUaw6RnGyatJgbpxr6aCdLRk Wb5z2ro45aF2X7x3iJrFt7Jh5VSiXiG19Odp/Iq5+ZSlOaeCTpPcRoFl/w3Ahu/jo3yK JJJG3B2ukq5kQfVSufycB+EhuO4DEceIk172+G3IalMZd587+E1jGt9qxFZQOjn8XSvF po3SsZHSqEMtHMvCVQ7Dot/W1XwexCfAuwOdmcg4TYlJGgmahMczZIdHw4sEOAlcP+ad 6VRwM1B/I7GrerrdEo2jI2sJKXRguL+Jyfkg7N/i+zTpcr895VqCQ1ZZMAobbj0cSRlj Xl4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=0/BQ5I59R5DvReXc9OPs6E0JDRNhr4UM8x2hWwNF/QE=; b=ohN0Virpu25Id4XVak1zw2ps5Oz8ykbiN3MzcFcDvUbRqzto0d6YUgoOFTzby/tdcK vTKagxo2H/8YLzaaBLV4nT3fwguu71HA14i5gKqs2VipUsUXsWOU6n6grp3GP5ZV35gA YwkrDhxWy2JfPSU/TRbncCWCKAWgP3u4jbyxdzC3iGNdEhQNxVU20d6Q0euW6wWuQiHC XywBUur3xCWV2GG86k2yX45i2qyevqmD0m+cl/sJssjy0D02V2RV+IraCOvqiFNETjh1 aePSPGNw5TisA6bP9obuHWouyhdUJUY9ax8QKyohTiOAiiER7nLb6Nfmcj+2niwoJU91 TCVA== X-Gm-Message-State: AOAM532fnm8jBt/uIMdwAsokQvKEc4cpbRdcMzldFZCOYfW8VhJHW53l rpa196o1aXmOv0Chvq3SoZk= X-Google-Smtp-Source: ABdhPJxeoN3QyUpeWCld+aS4ckIZiPENGZSjmvs3wspn4a6QUXz3wLdpxgoYckhvdoxRe6D47xi6OQ== X-Received: by 2002:a17:90a:f10:: with SMTP id 16mr15821535pjy.80.1629102270769; Mon, 16 Aug 2021 01:24:30 -0700 (PDT) Received: from voyager.lan ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id u24sm10542358pfm.85.2021.08.16.01.24.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Aug 2021 01:24:30 -0700 (PDT) From: Joel Stanley To: Paul Mackerras , Michael Neuling , Anton Blanchard , Michael Ellerman , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 2/3] powerpc: Fix undefined static key Date: Mon, 16 Aug 2021 17:54:02 +0930 Message-Id: <20210816082403.2293846-3-joel@jms.id.au> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210816082403.2293846-1-joel@jms.id.au> References: <20210816082403.2293846-1-joel@jms.id.au> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Axtens Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" When CONFIG_PPC_BARRIER_NOSPEC=n, security.c is not built leading to a missing definition of uaccess_flush_key. LD vmlinux.o MODPOST vmlinux.symvers MODINFO modules.builtin.modinfo GEN modules.builtin LD .tmp_vmlinux.kallsyms1 powerpc64le-linux-gnu-ld: arch/powerpc/kernel/align.o:(.toc+0x0): undefined reference to `uaccess_flush_key' powerpc64le-linux-gnu-ld: arch/powerpc/kernel/signal_64.o:(.toc+0x0): undefined reference to `uaccess_flush_key' powerpc64le-linux-gnu-ld: arch/powerpc/kernel/process.o:(.toc+0x0): undefined reference to `uaccess_flush_key' powerpc64le-linux-gnu-ld: arch/powerpc/kernel/traps.o:(.toc+0x0): undefined reference to `uaccess_flush_key' powerpc64le-linux-gnu-ld: arch/powerpc/kernel/hw_breakpoint_constraints.o:(.toc+0x0): undefined reference to `uaccess_flush_key' powerpc64le-linux-gnu-ld: arch/powerpc/kernel/ptrace/ptrace.o:(.toc+0x0): more undefined references to `uaccess_flush_key' follow make[1]: *** [Makefile:1176: vmlinux] Error 1 Hack one in to fix the build. Signed-off-by: Joel Stanley --- arch/powerpc/include/asm/security_features.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/include/asm/security_features.h b/arch/powerpc/include/asm/security_features.h index 792eefaf230b..46ade7927a4c 100644 --- a/arch/powerpc/include/asm/security_features.h +++ b/arch/powerpc/include/asm/security_features.h @@ -39,6 +39,9 @@ static inline bool security_ftr_enabled(u64 feature) return !!(powerpc_security_features & feature); } +#ifndef CONFIG_PPC_BARRIER_NOSPEC +DEFINE_STATIC_KEY_FALSE(uaccess_flush_key); +#endif // Features indicating support for Spectre/Meltdown mitigations From patchwork Mon Aug 16 08:24:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 1517059 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jT7PHESt; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Gp6hV3ftKz9sWw for ; Mon, 16 Aug 2021 18:26:50 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Gp6hV2YJcz3dGG for ; Mon, 16 Aug 2021 18:26:50 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jT7PHESt; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1032; helo=mail-pj1-x1032.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jT7PHESt; dkim-atps=neutral Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Gp6dx5LX2z3bbx for ; Mon, 16 Aug 2021 18:24:37 +1000 (AEST) Received: by mail-pj1-x1032.google.com with SMTP id j12-20020a17090aeb0c00b00179530520b3so10681134pjz.0 for ; Mon, 16 Aug 2021 01:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2ez5nRjqbyCLB7lm8hB7epSqLa5vR5YmVpdnQUI3QfY=; b=jT7PHEStIC9OiP7hVe1Il+bqxY3kIyjQuCmTCPEYroUVGIKH7+DT1PLZ1u8ByboTWD J6sMx/hR7DgHZU+MYW1YOIy/Mp4P3yjsdQij7U5CAfkDtZS2LRFQx6ecSsXGdPRxIWjs SY2VqTauFZbfJVYmjPSn0OjzwVmDsyj1paLTiBYXZweq1Fxjd4kacLqqZ3rTvpKc32OU 5TftEWvUrRlqDq+Db0NbRmpTbnByPv6DWMtgrYjlXrvuSuezu680VDfcSDhDcDYKk9bW r/mQ/c03oEuPuzLHNk+5l70AYkAzMlkPeLARa77sqzNjNBV7Sa91dfUtUYthcz0ztK6U DNiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=2ez5nRjqbyCLB7lm8hB7epSqLa5vR5YmVpdnQUI3QfY=; b=gW16QDJbLcrjhA2LaGe8fdbm5HG8wbE7ty+7oYyZKokvbMSeM5TcVND+SQH+u+OO8u 9g3e+koGOApsMLxPPmtgrzKRdDG0PLPAGkCzIBNykQxnmPlF4ecZ2dilleHQoUAOU8eS vQY89ZSxYGiVUE58nnThGnG3+2hSilKLT/edRE1PfguLIXR2ZCBttxgLpB4gz7SLVzzD lFfSwA9rz8DFhg3zd/9ulotbb0wnUtbwwkr9srey0AtVGqMEKJ86Jq99+8kABEBCL/99 xCXy6Bb7tV0EMNA2H/wRS8FLkPJwDXJlTAoXTSx6CsT1EtBeMtjii4/ZFavvxuROFqct DODA== X-Gm-Message-State: AOAM531uMbOg7T/1HpyjEbOySmeBlugTuFb0++n0J5XB9/xt4eAb5At3 jx3Jp2PA1kCC7J7yg6DOQPs= X-Google-Smtp-Source: ABdhPJw3TZc2M6QWwTA0ZOwBxq6+qgWGYC/OU5iZbIDZB6+o8ehBEFev/3yWRQiO2hzuDj9RtNeXPg== X-Received: by 2002:a63:6983:: with SMTP id e125mr14966187pgc.389.1629102275204; Mon, 16 Aug 2021 01:24:35 -0700 (PDT) Received: from voyager.lan ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id u24sm10542358pfm.85.2021.08.16.01.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Aug 2021 01:24:34 -0700 (PDT) From: Joel Stanley To: Paul Mackerras , Michael Neuling , Anton Blanchard , Michael Ellerman , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 3/3] powerpc/microwatt: CPU doesn't (yet) have speculation bugs Date: Mon, 16 Aug 2021 17:54:03 +0930 Message-Id: <20210816082403.2293846-4-joel@jms.id.au> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210816082403.2293846-1-joel@jms.id.au> References: <20210816082403.2293846-1-joel@jms.id.au> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Axtens Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Signed-off-by: Joel Stanley --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 663766fbf505..d5af6667c206 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -279,6 +279,7 @@ config PPC_BARRIER_NOSPEC bool default y depends on PPC_BOOK3S_64 || PPC_FSL_BOOK3E + depends on !PPC_MICROWATT config EARLY_PRINTK bool