From patchwork Fri Jul 2 18:01:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atish Patra X-Patchwork-Id: 1500223 Return-Path: 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=) 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=Vspn5mJK; 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=qBH1RmrT; 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 4GGjcy3kjfz9sjD for ; Sat, 3 Jul 2021 04:03:46 +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=hCc+LrVU2uYzbpc9sgdThB88hujDRA+Ankdi5MwcIM8=; b=Vspn5mJKTVB5Tt VC+X1BJRnyjut/05D1y4bkrIaepBCxmF3s4N5ty8YNYI7y9v3Ba2K4o7ohgmMY3QHVCYvJdp39hpg Q2+JcTkH9kHtXSWYWrNPOcjhYvPW3MQE/+rdjwDT8rqWj5Vc7xYPJdcWsoJeefKGoWfQZpv3ijuy9 LFpjK33A83j6X8tz/URpdYm2yg3YDK3cZRUNLHPwtZuB5RQf6bmaLo3bXpqChw8kshPx8NqobfCwa 7pNF/21qtvRKTwMZgEUvFSxX+5KeqHGTOcQ7UXDpBI+bknSNdqMYY1KSKKane8vy8ZJgGRb34/5xo NN9yLlvNy6Ot3r8bkZ+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lzNVu-003iJf-F5; Fri, 02 Jul 2021 18:03:42 +0000 Received: from esa3.hgst.iphmx.com ([216.71.153.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lzNVr-003iHi-NW for opensbi@lists.infradead.org; Fri, 02 Jul 2021 18:03:40 +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=1625249019; x=1656785019; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vBIyDXP6k82GtHV/5hcdTiyLq0kPovxuvYQwqwZeGdM=; b=qBH1RmrTF+f0vsQVpXmsyET12+9zxlZzlU7bXNFnF66iItnJ4kIcoCt0 3HKMPmfu8SKbOHoGtERmvqFdUpiW01eKo1rn+5Su/IuZmbjJR5Rjp/2M/ 7oPgUFVs2Ec0csDANac4RScfg7SGoZAKhGZmQG1Egi1aTJdEo5juDexja ZXd030pCvFT9cxFOdY/DiluFtOmxz+qeLrM0U/fdVdsjl2XqAvQLu3Xq2 OILqMAuSXO02HGfCUY7bY4iMphPo6aYa0aIC5g5cIYjSg6gA4DicmLtcm /llk+y3BSfNDU4wHoAg5hR5JIDYxP5cqlzQjovmULTldlciNqKnK718he g==; IronPort-SDR: hwl2UTc4rkufr8WX3XeubqAtQQ2JcND94a3+AKopKgSfa8Co/JVDl2bDD6Tepwh12x68/UJx6k uVh/2BXNJHEXm08dy7aaMWcsZBkyMiSF2fjTOjzM0G2V2Fb2mI7oYiTqPVZ9A9YPfynckzZrSi x9P3e5vH3JR3UwMfBhG99nLsFNfybkbKkOrFkHnqerhbHSj4UC/l+/utp99x8+SP0Bzgkq9ReI AEs4jRjWFRtn9RU0GNA5YOGGXNL/D4rcddX4zB6nAziZkxzxmpqXr2363iLIeGm7MbnzwZkH3y sSI= X-IronPort-AV: E=Sophos;i="5.83,319,1616428800"; d="scan'208";a="178382839" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 03 Jul 2021 02:03:39 +0800 IronPort-SDR: yIveAWYtF/4Xf2aKFPL9ZP5QtIitgVZnRuqR2xahbcXnuCsI2Nb8U/bGgsvoIrKEu4e+GiYsq9 BQOYoOEiCj8qO9vqJde1lPyFctKZXPRh/Omr40NXRsPJgb7a5SlG497qTjgPlBwX0Gz5dcD2TQ MxSjt2nIiaZdr+Rtr+bRqSzFP+Wy4FghC86i6qXGTGavofDi96y+n0ccNifiHXJVprh2uIzXyP DV3s4uTWK43UY8N7GSKaWq3pmoIs6rWQqCo2LY5k4TOWmLz6wcIYOPGYSEbs3I6dYijuG/mHvT rFPYTxEJN1JciOrdC6Cna86P Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2021 10:40:44 -0700 IronPort-SDR: rt3IBYjCNnIAQh08+zSSxQ+HnSpAfId+v31H2l+zJ4gxHVqtpFOVfiZfVcN6LWUaf7nole2o5Z bqz0XLtjiwJZgFH2o9TP0NcJPcuH6ipXDqHt3MxA0o2GJWSSG01/Z4uYsGghC4cbiFlZG+Tnic hlf1Pw6iENQO0VzaZWkQ8vt+bDhBQIGs7TE3pJzCSPkslQdm5n5j1vd4XUBvdICgURX/fB2Gut vMPaaGYHNbHcP7NA75uzN+Ia8yECoZK4YmbtxfckCC9ECmwd4/LX0phTgIdfQ2u150vkjdMpnO VHo= WDCIronportException: Internal Received: from unknown (HELO fedora.wdc.com) ([10.225.163.29]) by uls-op-cesaip02.wdc.com with ESMTP; 02 Jul 2021 11:03:38 -0700 From: Atish Patra To: opensbi@lists.infradead.org Cc: Atish Patra , Xiang W , Anup Patel Subject: [PATCH v4 03/15] lib: sbi: Remove stray '\' character Date: Fri, 2 Jul 2021 11:01:07 -0700 Message-Id: <20210702180119.912898-4-atish.patra@wdc.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210702180119.912898-1-atish.patra@wdc.com> References: <20210702180119.912898-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-20210702_110339_793701_004F5E7D X-CRM114-Status: GOOD ( 10.41 ) 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 Reviewed-by: Anup Patel Signed-off-by: Atish Patra --- 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 [216.71.153.141 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_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Reviewed-by: Xiang W Reviewed-by: Anup Patel Signed-off-by: Atish Patra --- lib/sbi/sbi_hart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sbi/sbi_hart.c b/lib/sbi/sbi_hart.c index 0bd1db1ab85e..9c01cf75c0bb 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)