Message ID | 20210527003044.889681-4-atish.patra@wdc.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=uI4WSAxY; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=wdc.com header.i=@wdc.com header.a=rsa-sha256 header.s=dkim.wdc.com header.b=c1MYSl8e; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fr7z80Hrtz9sPf for <incoming@patchwork.ozlabs.org>; Thu, 27 May 2021 10:31:16 +1000 (AEST) 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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8QipcpMWw5bt0RLXtvx2gwjWelqTZzOkET5VPEcJx0o=; b=uI4WSAxYzC/sr9 MvGVnfZOHVav66Hie4rMeX+ZJc0Pe8KnRvAwxYQbiXjkjbUio9HmWif+NP4IEq6fE4FonrK2i/sNH Gfs5swfFs2Lcze7MK7l/a3yZZu4aIj8UVs7Ezf4Lm5E1YFM0XXgsxwl6m7tHiOU/zMTYwHzYdmzh9 oiqjyARbCCIzQmGzmSXVLBScmVadGJoD+NyQFmPYsyvQI8kdw7KUy8jp/QGHYpt/LyvrI5bP3hQkS /4Dvt1oUVY+sWg/9KKZoy9+ghTVbhh2bavnjoBWK25hrPwJ7T+Imns1kIEG72Ph976wHX+dnIZo9d a4faaJuPI3eT7IL+QSgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lm3vb-001ANJ-Ow; Thu, 27 May 2021 00:31:11 +0000 Received: from esa2.hgst.iphmx.com ([68.232.143.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lm3vY-001AK8-Sv for opensbi@lists.infradead.org; Thu, 27 May 2021 00:31:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1622075489; x=1653611489; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3A6rukzSZDsdn0beciRftCJOojiJV/vpms2iVPNqWDc=; b=c1MYSl8e6Jnih6plc+NENrXD5RiPWf524mFLTLg+FYQsHshznnpQiEpY LsHXH2bzQOV19FPUzhpMlEBDlK192NlpkSiLOP+P5iEbmPUbeQccRNxyP w3ICwPj2jLyWQ7zWf3CwLBDAossswkKogDlaiV4ORY8CEanqsAI9IMoGf 0pTd246M6fpCjxn7QOgF7Zj8wHsCRrWWRYXJPOAAB4TjlWJAyo3p8mNJu JqarfVTIy/p4yxxIreQeI26y5CoWUDWUSkZsvi21J+mVaqLGT9yhPfcQm 1zrd+NO1HxCFquDsF7/moMi9e6G7Qr5LDfhyi8noUnMB4i6Ka4UVrcgZe g==; IronPort-SDR: tTdX9xLMIOaFm0HUQ3tlaDZim8uqHCmXQVvxQGbd9D5jy4b7mF6gzaNKNDidobWU7p/Vkw3zOo grmQxTD0eb1Y7AI+705SR/2mIm7CY2irIPm4+15H7S7ajMlrMyXJJDQI99EHT1UUMu6wbAIBWm ijLyt3G7DQQveRvAX5idESqtMtEET+o7GDzRzVrQnSUqZ6InSonHNCSBquQSI8WY/iFx51wJkQ YbgZSyLkLAxgFywWC4Z3AmXdmGmwypPR9hqgjTxDT3/FRHebiPxqaHdMn/ecgvliHQr6lLT9wf EkM= X-IronPort-AV: E=Sophos;i="5.82,333,1613404800"; d="scan'208";a="273477721" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 27 May 2021 08:31:28 +0800 IronPort-SDR: dO5tE8Vr2sLJ6OjOOwhYbdFB4AFkMr7i6RLY5rIBlVKzY1K/Q8f9De9rd76SIt0gQPysT2W0cq g9qQP7OAt5Tcc6yW3mym+QfK1yepL5M7HQ1Vb95GLvp5XM0LeZ6NR5jN7sj7E3lVBo+zD//pvd EOR1k5UZvWDUy7OG8lHWyl4uffCMiETTO4CIUNIMcN8pFnufiYJOpi5sspjFSWXGXo7qEpkZSn g5OtyFZpBnuMu9vbVy3qhfAIystOLVoYGYSd9NqDcWnNfN1Fa8UBtnE1D8OHk9agUI1LyeVRjb RYVBrgGkfuZyLWKiRhojC+La Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2021 17:10:34 -0700 IronPort-SDR: VvU8bcsz2O+0LwMW2wb6DdyfS973KCYFVAllLhuK4H4Qsfizi96zmrQBUOc30NjYXSW8Xu58A+ +iY4FssQhOVn/gOkOBpJh3RKhkflfqFD0hfZ3y8+N2FZ42EKQ5aqx3yt6EW9EdTqxQrkhVvK05 eeeA50teD1saM/iKVsKzYZpMefmonYyuJIv3GwcFjCc2aT0NROzfj0J4SzSlXmJQWtNQHx3wC1 huZx8a6Oycfup+4hu8brFxtP0hex0JUHjSQaNVJevtpI7CW7wwW/aQ3q2RDYz1vANUJFA+l18K Qdg= WDCIronportException: Internal Received: from unknown (HELO jedi-01.wdc.com) ([10.225.163.91]) by uls-op-cesaip02.wdc.com with ESMTP; 26 May 2021 17:31:06 -0700 From: Atish Patra <atish.patra@wdc.com> To: opensbi@lists.infradead.org Cc: Atish Patra <atish.patra@wdc.com>, Xiang W <wxjstz@126.com>, Anup Patel <anup.patel@wdc.com> Subject: [PATCH v2 03/15] lib: sbi: Remove stray '\' character Date: Wed, 26 May 2021 17:30:32 -0700 Message-Id: <20210527003044.889681-4-atish.patra@wdc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210527003044.889681-1-atish.patra@wdc.com> References: <20210527003044.889681-1-atish.patra@wdc.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210526_173109_020865_8C603EC7 X-CRM114-Status: GOOD ( 10.36 ) X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Reviewed-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup.patel@wdc.com> Signed-off-by: Atish Patra <atish.patra@wdc.com> --- lib/sbi/sbi_hart.c | 2 +- 1 file changed, 1 insertion(+), 1 dele [...] Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.143.124 listed in list.dnswl.org] 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <opensbi.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/opensbi>, <mailto:opensbi-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/opensbi/> List-Post: <mailto:opensbi@lists.infradead.org> List-Help: <mailto:opensbi-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/opensbi>, <mailto:opensbi-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "opensbi" <opensbi-bounces@lists.infradead.org> Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
SBI PMU extension support
|
expand
|
diff --git a/lib/sbi/sbi_hart.c b/lib/sbi/sbi_hart.c index 8fae20891bde..e5e5781ff412 100644 --- a/lib/sbi/sbi_hart.c +++ b/lib/sbi/sbi_hart.c @@ -320,7 +320,7 @@ static unsigned long hart_pmp_get_allowed_addr(void) unsigned long val = 0; struct sbi_trap_info trap = {0}; - csr_write_allowed(CSR_PMPADDR0, (ulong)&trap, PMP_ADDR_MASK); \ + csr_write_allowed(CSR_PMPADDR0, (ulong)&trap, PMP_ADDR_MASK); if (!trap.cause) { val = csr_read_allowed(CSR_PMPADDR0, (ulong)&trap); if (trap.cause)