From patchwork Fri Jun 4 15:35:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1487838 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=gFnHN10V; 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=tE5oF5+A; 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 4FxRgW0ywGz9sRK for ; Sat, 5 Jun 2021 01:36:07 +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: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:In-Reply-To:References: List-Owner; bh=EAl9pmD4uWPkK9tQPWwBZglyl/3HXvaExLI9XzVWHDQ=; b=gFnHN10VKqILln l0NBXwUNikm4QOINPFh5EhOr5JT/hgTrHe+gMGP+kRTr5mUw5szzMQKeC/F1Ac4IKE8/V3j82FB+R mvDH6lVTn/wahJaT7yRrFdF40jTD5yxZ/oT5f+IDleFgnK4ya42kTziOvr71/qbWjYPn6POvhGUUJ UHmYowDEQ3gWLq/f1qctvMY5Nb+ZFXKiCxt1//YI3Q/3MhasVXwFdhltYxx27wcfSt/VknZAuQqtg zv5tROLOzj5XnIjDWwJcgmSdQMIvg7/AAnAJ7idCuBOhoAbi8srNhi37qnnW+Y1MXFMNS1Qdz12wl faiLKCAwVHq2fjI8AGDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpBrc-00EBwQ-Q4; Fri, 04 Jun 2021 15:36:00 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpBrW-00EBtj-IU for opensbi@lists.infradead.org; Fri, 04 Jun 2021 15:35:59 +0000 Received: by mail-pl1-x62f.google.com with SMTP id t21so4846172plo.2 for ; Fri, 04 Jun 2021 08:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UCXMq9Uhu1zoGeHcNLskijKru4oFcN3FbH0svFcLxag=; b=tE5oF5+A4f17S1A5oxiPA/Lci+qieWM9IJKVrCI/Lj9I2XRdonL9xzioDURsMs5Srf RZS5Qk5LKGkmFX6slbEFdQwFsHmU3Rr/dfg6AW9umilDcoPhCgo7cTLs4XrSUouJ2f18 PycezEKZl21ZUvMzcRFSgVxlKCrtDfZ0uF8/o1AH3HSAGz356J3N/2XzheTwoE2xRGgI vfW7GTBl2gptqPq26mqnhny4G3hnhCJr9qvqzAHQb+pgyRK0leimTJ4JI225vQY8uiWg zLrA4wCKaZSrw05N2uJqhyWAuB2Cvnop1xgx3oXSJBtf0PhmHVjSXITw6E7r4+a0C+HA t6pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UCXMq9Uhu1zoGeHcNLskijKru4oFcN3FbH0svFcLxag=; b=XzAgVWzUV9t2/+X3cpUC6XwJwFyOXb+7NDFA41v17ufrWV4phzFfPaKXqIglbJLV4v 0WqsetOSim5oFIeK/voN2kJK1tlWfDAlL26K0+47S/l2WdSEgzgCef1/cgFEwUGQEw6i iiHEe3+dJPKess2O5TFmSTiyGy8813MMWP6KtuXZxQF1EB44/Oouke17jRTnJU8yvb/V +H+NArRLU3oqWa3TnX/JgZnEa3ckFdPpiUIn2GPSJM/IHE/MmTywvWDV6oINMSMGRQcV fADvHn9rYH1T/MRYCBwryTYw8w7u+pm/KxJ2Rq8w2xUcxp9NW7OGpelXY20jgvX3bUwF 3MCA== X-Gm-Message-State: AOAM533dO/oH7uvlFYV+nuarex6FsryyI9RLaxR8PhSy5R14PZs2/JzP 3aFeozthU+FehlpYis8uZGE= X-Google-Smtp-Source: ABdhPJyq/apO5K/CS+3BVvzV1AMOZ1LXLeEmsbulQlfqv/7hE7Nf4VVMR5764PGAsKPu/mQdscPJ7Q== X-Received: by 2002:a17:90a:7c02:: with SMTP id v2mr5425086pjf.118.1622820953407; Fri, 04 Jun 2021 08:35:53 -0700 (PDT) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id s24sm2207006pfh.104.2021.06.04.08.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 08:35:52 -0700 (PDT) From: Bin Meng To: Anup Patel , opensbi@lists.infradead.org Cc: Bin Meng Subject: [PATCH v2 1/4] platform: andes/ae350: Cosmetic fixes in plicsw.c Date: Fri, 4 Jun 2021 23:35:42 +0800 Message-Id: <20210604153545.18949-1-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210604_083554_676259_7B629597 X-CRM114-Status: GOOD ( 10.15 ) X-Spam-Score: -0.2 (/) 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: - %s/CLINT/PLICSW - replace '.' with a space - add a space around * in plicsw_cold_ipi_init() Signed-off-by: Bin Meng --- Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:62f listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [bmeng.cn[at]gmail.com] -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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org - %s/CLINT/PLICSW - replace '.' with a space - add a space around * in plicsw_cold_ipi_init() Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- Changes in v2: - andex => andes in the commit title - add a space around * platform/andes/ae350/plicsw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/andes/ae350/plicsw.c b/platform/andes/ae350/plicsw.c index d07df28..4df7317 100644 --- a/platform/andes/ae350/plicsw.c +++ b/platform/andes/ae350/plicsw.c @@ -83,7 +83,7 @@ void plicsw_ipi_clear(u32 target_hart) if (plicsw_ipi_hart_count <= target_hart) return; - /* Clear CLINT IPI */ + /* Clear PLICSW IPI */ plicsw_claim(); plicsw_complete(); } @@ -108,10 +108,10 @@ int plicsw_cold_ipi_init(unsigned long base, u32 hart_count) /* Setup source priority */ uint32_t *priority = (void *)base + PLICSW_PRIORITY_BASE; - for (int i = 0; i < AE350_HART_COUNT*PLICSW_PENDING_PER_HART; i++) + for (int i = 0; i < AE350_HART_COUNT * PLICSW_PENDING_PER_HART; i++) writel(1, &priority[i]); - /* Setup target enable.*/ + /* Setup target enable */ uint32_t enable_mask = PLICSW_HART_MASK; for (int i = 0; i < AE350_HART_COUNT; i++) { From patchwork Fri Jun 4 15:35:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1487840 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=YvgB0uXm; 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=L4dntINU; 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 4FxRgZ6LnZz9sRK for ; Sat, 5 Jun 2021 01:36:10 +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=hVAt9h15vp9aqwxBVAanM+UU01HEXDA6BoTqYHv2zvg=; b=YvgB0uXmCUc4M9 laImrwfChFM2G8vEdAb5HU6KYRICQ0oKObIuCsuF7viEbSzRMNzv5CwhuPSrqVuI9czgjWSSHgcH7 ZpHOyLSPgACgaYTknb5kge5dBhOHGZq3+MTOSal3qzicenh6Bs1hHAGPfW+veuedzxLXyjghM4y69 SoZ6XCiB6i+si3hUW13kouWNJhI3GZry7KkBTHBLxyfrN5cy8WoPqIDASHwygFUcxcsMNTfJkhfj8 /FjlfymBf7lTfrqEbU2GrEzKEMEz85UGjWmPfGIQd2uTn20ZYEvV/34xaDxg2k9HGocL1JIrJSpnx uPL2R4JTZ1pEWZjINzfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpBrh-00EBxl-Ay; Fri, 04 Jun 2021 15:36:05 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpBrZ-00EBuk-BS for opensbi@lists.infradead.org; Fri, 04 Jun 2021 15:36:02 +0000 Received: by mail-pl1-x630.google.com with SMTP id t21so4846219plo.2 for ; Fri, 04 Jun 2021 08:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CZVrJhxeCYLgeRL9i2p6DbBA8A16MGpHYZJy1C8Xolw=; b=L4dntINU08/uKc8LMRbf3Wfz/7vHfByiYHw77/FZJRvl6ReY3ZNlyviMAjjMsy8IlS +u/n8aFcHCS8AqmmGlAUINdRhqTDJgUPEB1z/Zmi+nnGpp1/jGdC3BKtpCUx5Jx3cSJe AYFpLbLBDiJINI2sZ0Sl0XLn9kbvGOH5APKENP7fTPNUWP7YpkRhKPFRimkjj2uXvqS5 LnKRuQgkArH1gaWWS/vV1w5kTqSwOfKGeGBp7F81Uch7XPoRer7/De3x4EpyU0Fmcr4U 5JIsL+zHZPADmFYKQlUYc6mUzvdqRekbr9kBN7yl3PYFBbv8fUTRCyV9IhyVKrjfDOeb Gfng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CZVrJhxeCYLgeRL9i2p6DbBA8A16MGpHYZJy1C8Xolw=; b=KUhokjqMhb35pNzat1PJXfBjZ50aKRvDI2Ti8jgQx3EcG+1EFbpBVmYFo4kjXxYqdw Exu00eQGJHkJrV253OJ8zEniQLt6+aGMY4+c4NX6W9QI/E443KA4khP0K4xJIWfTcR+a /mXzPkAry4AMgDFz7uZpUyY8aTfdQJocGLwxuY/jxELcp/hEYIxyfqXrJrRt2iLfZ4Mk 4uPWY6JwLyjqxmIKQiORYQACbjfm9pEogpTg4Flg6phzdirVxlhEhlVowIwslU8og0C6 Z4efKBdL4vsOhyP2gkWchgV0n7rJCuugMPnoaaUi8UwiEIWA9maVkFR7OjV1nuZKJdwx Xd5A== X-Gm-Message-State: AOAM532tG5Wjk1eLCAOPv4Wy2OZTPXlvDNizWEvBYaPeYBBtXWCx1mVA dc0XZ0El7O+HkLLuskoGjFFpElXLB3aNng== X-Google-Smtp-Source: ABdhPJwMDnYKKzmI/+gTdT6JEMES1Xi130dqFNe6cOnZ4hGau2MF2cT5x2zQIdgdb6ZAH1jn2wJlPQ== X-Received: by 2002:a17:902:27:b029:10b:dd63:2d3a with SMTP id 36-20020a1709020027b029010bdd632d3amr4875650pla.77.1622820955488; Fri, 04 Jun 2021 08:35:55 -0700 (PDT) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id s24sm2207006pfh.104.2021.06.04.08.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 08:35:55 -0700 (PDT) From: Bin Meng To: Anup Patel , opensbi@lists.infradead.org Cc: Bin Meng Subject: [PATCH v2 2/4] docs/platform: andes-ae350: Fix missing spaces Date: Fri, 4 Jun 2021 23:35:43 +0800 Message-Id: <20210604153545.18949-2-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210604153545.18949-1-bmeng.cn@gmail.com> References: <20210604153545.18949-1-bmeng.cn@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210604_083557_433604_AFE6B4D9 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) 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: Fix several places in the docmentation that are missing spaces. Signed-off-by: Bin Meng --- (no changes since v1) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:630 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [bmeng.cn[at]gmail.com] -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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Fix several places in the docmentation that are missing spaces. Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- (no changes since v1) docs/platform/andes-ae350.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/platform/andes-ae350.md b/docs/platform/andes-ae350.md index 46889a1..1cf83cf 100644 --- a/docs/platform/andes-ae350.md +++ b/docs/platform/andes-ae350.md @@ -1,9 +1,9 @@ Andes AE350 SoC Platform ======================== The AE350 AXI/AHB-based platform N25(F)/NX25(F)/D25F/A25/AX25 CPU with level-one -memories,interrupt controller, debug module, AXI and AHB Bus Matrix Controller, -AXI-to-AHB Bridge and a collection of fundamentalAHB/APB bus IP components -pre-integrated together as a system design.The high-quality and configurable +memories, interrupt controller, debug module, AXI and AHB Bus Matrix Controller, +AXI-to-AHB Bridge and a collection of fundamental AHB/APB bus IP components +pre-integrated together as a system design. The high-quality and configurable AHB/APB IPs suites a majority embedded systems, and the verified platform serves as a starting point to jump start SoC designs. From patchwork Fri Jun 4 15:35:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1487839 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=2MmqosaD; 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=uCQsn1Za; 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 4FxRgX3qxxz9sRK for ; Sat, 5 Jun 2021 01:36:08 +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=BC4yEdiwTLQd6UNvPVXacOb2XyWrDxa1iTBnnDuZRCg=; b=2MmqosaDYuppfX u+QZ1pO9WGki3/tm3RoUL2EdCvFBSJQ+qZooNfQQq928OZNfJxQM0JgfBjEtxVlJZbY8p2qz12N6y zZXYu7Dl5Os3bRATNMFUkRddiQh1Tt3xjuDI+Wr+m5Z+GGfq/fkcLcgr0u+k87pvkKK9hgAna89aV Fk6E/DTGsCFp2hSra2YpZ8oN/TxWukxCkQlU3MU1vja49lZdrMtFWIsU/I1YvqqDJPs9s8aZ1jJNc mBgs5UXt7YBLMv92gzaw6uJBrnDhNDeHMyG+vl6fRfWJEWYW4kTMahZJ9Y6Cpyl3/4UZ5IXjh/y+B /eJbAaUl7GpDFq5UT+8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpBrf-00EBx4-GC; Fri, 04 Jun 2021 15:36:03 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpBra-00EBvB-DP for opensbi@lists.infradead.org; Fri, 04 Jun 2021 15:36:00 +0000 Received: by mail-pg1-x534.google.com with SMTP id y11so29303pgp.11 for ; Fri, 04 Jun 2021 08:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qdI+/l/t2Opx9V15Uwdn8CHp3tU5Hox3tA85ofndiz0=; b=uCQsn1ZamQAhInvnE7BmSjdg239u33ihQncy2PNiy3FoVlF2SXoD/hqQ4YPW/gHNeK MdUUs87+h/7abbdrWw8UGceFUW/Q2M7UscypcEh0XxJDEMqASvS5TGZmRhpxDqf9yeJN aH2JqlnWv/x7G30Q4hgCgEQQvemeaJXpyfoVZv5SH3af8+KcplEmGpZ6aKJa3FxoIqcz xLySrEZFMBX4iW6s+Ud9qs2tzWlornN7pjR3tfiCPI86R2qb1gDQLcZ3ChHfZsTMLI9f ro8mx0SWsZlB8zDZ/UQCyGwjlymoUC+9s14gcqnMeCbr6vweVP47juGs0klz8oJC1EwS EP5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qdI+/l/t2Opx9V15Uwdn8CHp3tU5Hox3tA85ofndiz0=; b=Vowl0TzR4CKGAs3tCPSEGV13Yvx/66iuzvGr9aahaL6f9Z7mh4sXwXahgSC5k6k/LC fcEpHJzrtdZBs7Fmg0c/OZWyqk3kvwQZc6xmyrNn5tzcE6fT+V5mls8FlXndfi6XUqbB Ng/SgnSUSWuaqegr3nf9vBBQnW9X87Y6T1OIHD7AknETtUDqvWSz03iZwnFErj6aJLO9 EdvVowLL5xhfhWv8KAwnr1eHZDhEaa+ckqlcfV5CjAhwySVD2rBuyrWtEZeOM8RBNEj5 hJw45R+xtjA9htuz4+/UZe5g7OySIHXU1CXBqwK2hXo14BtqiwGAVSil5aPc17gI1vVc T11A== X-Gm-Message-State: AOAM533yaHcULppMHeiEVEu+KpL0QfSSGT1LbURijPFKPwIJPfg0rneh 3X8Zn0IptLXipmm8LyzqbVUmQeKhQNaH1A== X-Google-Smtp-Source: ABdhPJypLizLPwpMv+BTyyGSELyiLBnIk5sKFJsykrZpVP+arxblB97Qh4AThl0wPFDIuqWuOgnO5g== X-Received: by 2002:a05:6a00:d66:b029:2e9:c899:d618 with SMTP id n38-20020a056a000d66b02902e9c899d618mr5075622pfv.6.1622820957364; Fri, 04 Jun 2021 08:35:57 -0700 (PDT) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id s24sm2207006pfh.104.2021.06.04.08.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 08:35:57 -0700 (PDT) From: Bin Meng To: Anup Patel , opensbi@lists.infradead.org Cc: Bin Meng Subject: [PATCH v2 3/4] platform: andes/ae350: Drop plicsw_get_pending() Date: Fri, 4 Jun 2021 23:35:44 +0800 Message-Id: <20210604153545.18949-3-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210604153545.18949-1-bmeng.cn@gmail.com> References: <20210604153545.18949-1-bmeng.cn@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210604_083558_497359_F992B030 X-CRM114-Status: UNSURE ( 7.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) 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: This is not used anywhere. Drop it. Signed-off-by: Bin Meng --- Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:534 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [bmeng.cn[at]gmail.com] -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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This is not used anywhere. Drop it. Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- Changes in v2: - new patch: Drop plicsw_get_pending() platform/andes/ae350/plicsw.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/platform/andes/ae350/plicsw.c b/platform/andes/ae350/plicsw.c index 4df7317..edbbb11 100644 --- a/platform/andes/ae350/plicsw.c +++ b/platform/andes/ae350/plicsw.c @@ -33,12 +33,6 @@ static inline void plicsw_complete(void) writel(source, plicsw_dev[source_hart].plicsw_claim); } -static inline u32 plicsw_get_pending(u32 source_hart, u32 target_hart) -{ - return readl(plicsw_dev[source_hart].plicsw_pending) - & (PLICSW_HART_MASK >> target_hart); -} - static inline void plic_sw_pending(u32 target_hart) { /* From patchwork Fri Jun 4 15:35:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1487841 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=oi+Evj7q; 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=dsIDgOat; 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 4FxRhj6vkWz9sRK for ; Sat, 5 Jun 2021 01:37:09 +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=6HCdcSVcynxNd7mTtb6HLgT7cX5mziSAm9VuZrwJ04k=; b=oi+Evj7qqBxO3M 3i7ijySvs7cHkM2KhoOVfmpRE8yybPnzFq0Q1bnlNdv2kcP95bRNqC4v2hOCH1c6h3EXSIW5ejIwf YBRhykV1HeaR857hsktkHQknEF+EYxeBSjs8pjAN2+FoCkJUaGM/dz5RA0cFPNi3OLD0ticrbk/K1 JXcQiE+2W/D95fnQZQ6so+sgLz5xfZiX7sdZky3L8Dg8titV3ZY8TWxvtZkImqrHbVmevTj98OQtl /KvVVWQKtl/uCToRG0Vt4IGx5wJMnNGqvZ8/sZPJqxHTfyNPylQrN6KzYowGa0Yobpqwj9PycHsOY kBlv3uIdBdYGhWUAuNhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpBse-00ECJ7-LG; Fri, 04 Jun 2021 15:37:04 +0000 Received: from mail-pl1-f175.google.com ([209.85.214.175]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lpBsa-00ECHf-Bo for opensbi@lists.infradead.org; Fri, 04 Jun 2021 15:37:02 +0000 Received: by mail-pl1-f175.google.com with SMTP id e1so4820432pld.13 for ; Fri, 04 Jun 2021 08:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Wv3hXeOjbra6UBApfMeUCEU1EcFX80s6an2wtcs9jUI=; b=dsIDgOat9jKHWALHUdhlIPxriDwRhSMKj4QOxWOfXilRxXOUw9VFjM0E9XABLlOXvH Y7C0A0jieJ9Q+wR5HoqLPd9iuAFlFzEYjXciMmxVGU6KvEp+iWUIfkn77OE42m2eGmIr H5z5shDwYlqoJmNGUcTRXjAuu+uRo5lTG1mvWL+0mvXy7EXd0E/BseIg0lRBpwCalqXp Y9FZDO3fmKtAqnB5hVvhyrGdG2Tp/r+T/9EbQM7ck/tg6ilanrI1ECKfazV7mCkP77GX rYRdh/0xC8sN7NuoLYTNHPV13fQUrRPvwbtvW0Scppxj/peSdZvfOGua+GSUcHrPfxua DOWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Wv3hXeOjbra6UBApfMeUCEU1EcFX80s6an2wtcs9jUI=; b=BGCUrlBIEEnNjXF4XEHR9jbl0fuaB3dEwECRfrQxt9FVIsQlJzxUVb7xNwCVsVizYf UPSt7JDchQper3K8uZb60ckI10wU7NpxTsqIHrO2lwUK9RrX3jPrpHN1jlqPPYGSMYS4 sIXhsEfbXvp3vHmJxzmAvakNurtjl+4aSe68dp7OmdwaNguLbv0rTb0s0H/kfzRF/+JB vQV9hzMv+2rlF9Y8lcWV6rIoqPvvBZQ2uTT+zZIE9LMqw18HI0E5hEveJDKnmbUu1mvd 5UMGsVVcr2uooyvrah+IRr6Hn4PGzrnSzpudViIZqA8+gbkLY12+FSQ/m1ZNSM2FQ8dW VCfQ== X-Gm-Message-State: AOAM532gg0Pgb/fdZUnrtrjQvcx7oLywAqh3wM5izp9/XgBAHqVAJkTD d252HNz3WX0Sl3FvGsTRRiw= X-Google-Smtp-Source: ABdhPJxzbU3nqQjS3wLVkDgeJI9q1PChRK/dbI1p9JSXMj1AwYCMbZG2Xa5bcH8xlSg+RJVrJjRe3w== X-Received: by 2002:a17:902:e546:b029:10e:990a:46f5 with SMTP id n6-20020a170902e546b029010e990a46f5mr4873373plf.81.1622820959223; Fri, 04 Jun 2021 08:35:59 -0700 (PDT) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id s24sm2207006pfh.104.2021.06.04.08.35.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 08:35:58 -0700 (PDT) From: Bin Meng To: Anup Patel , opensbi@lists.infradead.org Cc: Bin Meng Subject: [PATCH v2 4/4] platform: andes/ae350: Drop plicsw_ipi_sync() Date: Fri, 4 Jun 2021 23:35:45 +0800 Message-Id: <20210604153545.18949-4-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210604153545.18949-1-bmeng.cn@gmail.com> References: <20210604153545.18949-1-bmeng.cn@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210604_083700_450591_9D0ABDFC X-CRM114-Status: UNSURE ( 7.08 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) 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: plicsw_ipi_sync() is a forward declaration but without the actual implementation. Drop it. Signed-off-by: Bin Meng --- Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.175 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [bmeng.cn[at]gmail.com] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.214.175 listed in wl.mailspike.net] -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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org plicsw_ipi_sync() is a forward declaration but without the actual implementation. Drop it. Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- Changes in v2: - new patch: Drop plicsw_ipi_sync() platform/andes/ae350/plicsw.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/andes/ae350/plicsw.h b/platform/andes/ae350/plicsw.h index 8be6194..58728f6 100644 --- a/platform/andes/ae350/plicsw.h +++ b/platform/andes/ae350/plicsw.h @@ -35,8 +35,6 @@ struct plicsw { void plicsw_ipi_send(u32 target_hart); -void plicsw_ipi_sync(u32 target_hart); - void plicsw_ipi_clear(u32 target_hart); int plicsw_warm_ipi_init(void);