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) { /*