Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp114786ybx; Thu, 31 Oct 2019 16:58:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwe1fvOuvB/sVOcDfq0OxCkie3j8Uxj9fesCAqnf+FWFNNqunkMo07NSBTNOFRQSyv/zOEZ X-Received: by 2002:a50:8f03:: with SMTP id 3mr9663309edy.195.1572566299069; Thu, 31 Oct 2019 16:58:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572566299; cv=none; d=google.com; s=arc-20160816; b=uUVgHwMQ8/UnP9PFvsH6krxzv+0VeDDdjGOmaufFGESkR5xcAdjfKOIKe4v7oB32aA UVY8iWyrOhgEjB/Itcol98M2wH/RLmD4om7XWRJIDeMyiXIMWdiqLFFDJoaWb7OYr0il 6dWGfTjqTdwMaBALWppSL1wpcgEe5mkt5HXRHGYLQz64LCq6Y9Vad9UAbp0Mk8qzL3MC KVA+ZHX9ijUWpshqp+YA2HJleNrxKh0zUUmHskrVlAyRLDKNDD02ivgeQWXrXCAjSrpY ca3qrHnd+aMzbvU+VcVEZ8/kgIgqoVRo+zBIKiWlDjlCjJqzzvE3CWEt2zHMBsUGJGt/ MHWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=N5iHmlILXRbEi8EN+IUZsNyE4Ymf/VB8PmWy2Y78vP4=; b=k7Lq9C2GZvv7nt8oKubIyF3U+6zcC3hY6eOAPF/nzSkbcWL6L1N3b8lFvR9VliR5iH j2U1+YdTUFPCDV+O+7n9Ls9MbvJQhNBd2G4h1lizK88kAIJt/vokRiQ9Sw++V0nWn5PM sGjpKXQBNHOXbstKjulUUy0O1b903wCz5jLJLx3mjwYo8+WgECMrsbW/Eh4Ax1SBNRBb q5X++nvHqxfIH2aHDELivImRlX1oh6CqQrvKRolrMKiCRcX3ZyhTDVuMdNz3Xxzeh2EO aX02RZ7gaxLw1CU597GcTF6flwgFOXNtdYB9Btl9k8CEFLBtYU1uyzUR7OPIHPKaTAA4 nz7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="l3C/2pCp"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v27si4879016ejk.63.2019.10.31.16.57.55; Thu, 31 Oct 2019 16:58:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="l3C/2pCp"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728250AbfJaXzM (ORCPT + 99 others); Thu, 31 Oct 2019 19:55:12 -0400 Received: from mail-il1-f193.google.com ([209.85.166.193]:42604 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbfJaXzL (ORCPT ); Thu, 31 Oct 2019 19:55:11 -0400 Received: by mail-il1-f193.google.com with SMTP id n18so155419ilt.9 for ; Thu, 31 Oct 2019 16:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=N5iHmlILXRbEi8EN+IUZsNyE4Ymf/VB8PmWy2Y78vP4=; b=l3C/2pCpaeuyWCknJRQnTKh6SlFTtCYRDRLdQ4KxJW12S9T67ROtFv1XDnteZ4c6pe RZMawNLPTzAJdVH58ytBFB8FjbdKER6jaVf5hBD+ZXfWPrsCt1kaeHn/kqbSdzn5G+se TdxXO9hz4JV8xcaq6VxA1HMHYCylImZ31fpFBx0xs1ELH7sKeePIMh9PWet8fYYcCLfr aNgGL3OwXekCBs5EMg/PVpVO3kZ9TLhOYd7Jm/hhnclYSHU1wCDDZhCzqM0WSDWYZg7e Ukv3noUisj0/t0pGlqjaNpbHhfvixS4ZMc9xkaIBaAhfDFKGbMMjAHyTcQaT4wvUMZDC Uvug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=N5iHmlILXRbEi8EN+IUZsNyE4Ymf/VB8PmWy2Y78vP4=; b=A1DmC6J0mv7ZlHHaIprUGXEoHHpEowyeT/P2fPrRvlVOEXHYPVSjLQREhhz0hI/Z0l dIkOQNLuokZdtf7ysdMLpxjpJz2ESKRRsYuFv7LUVyv5ljalAtPGb8y25ck4kWSTonFA M30LVpqe1gglVbDT5ZSa00Nh+gkZTSX22hwjsJLbi/SLBadjRP3BRcWuzs0dLsf3p9Ej /mPGgch8erxmHnnkKmUcCS7unBwfks8F1xr67s1SarLHgilw5xb9O6DN0ya2ayyENTFk arQxAPICsb5DQRN2WFtn3Jm4xBVBeqeubaIbteh5F3LJyDUysX5Sn0oQuktAX+iYhq0A PMZQ== X-Gm-Message-State: APjAAAWB0WgeynXlnUE8o0qDmA8SnsxzjCChQHi7lvthja8Q6DcmTWjf oqjkZOun/TwH6f3lXlpO++DDNw== X-Received: by 2002:a92:5c5d:: with SMTP id q90mr9702452ilb.22.1572566111105; Thu, 31 Oct 2019 16:55:11 -0700 (PDT) Received: from localhost ([64.62.168.194]) by smtp.gmail.com with ESMTPSA id g13sm494749ion.23.2019.10.31.16.55.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2019 16:55:10 -0700 (PDT) Date: Thu, 31 Oct 2019 16:55:08 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Christoph Hellwig cc: Palmer Dabbelt , Damien Le Moal , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel Subject: Re: [PATCH 03/12] riscv: poison SBI calls for M-mode In-Reply-To: <20191028121043.22934-4-hch@lst.de> Message-ID: References: <20191028121043.22934-1-hch@lst.de> <20191028121043.22934-4-hch@lst.de> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Oct 2019, Christoph Hellwig wrote: > There is no SBI when we run in M-mode, so fail the compile for any code > trying to use SBI calls. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Anup Patel Thanks, queued for v5.5-rc. - Paul