From patchwork Fri Jul 1 12:05:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xianting Tian X-Patchwork-Id: 12903230 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 07DEAC433EF for ; Fri, 1 Jul 2022 12:08:37 +0000 (UTC) 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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=du+pIKuM5143Od5FHLcgCEyKUVlINLk6Sb2VASJ6Mnk=; b=WTumDAaZZdLtrz m0TBW8It7cJPromYFnBvWkZubm02GDZhzOXu7K+psbNoMyuJAOV0g0vEh2/55IKFbRsAkzC/BJciz f8xGr3q6QH32ERgQiDkHXY/kzAuQqwQVbn8UKLy8bptdT7WXdHPfuIc23zAqn76w5nD7dIEk2fAQr 2412RqPYWpqh4F5Xs0Zv+YCjGFVKEWGnVAtMHgCwFvWvMMoL8uV6QXzRGkPn8g2U8wqqkulDz8KOY QhOqeNf8ecMKEmCb94YWhx2N0spa+JXPR/0q+u80SazLqGrRg0DwNXACZq/3fiKBmUoqxT8gEyi0d 1wrqR/cjR29i4HYGAdIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7FRk-004gLF-2V; Fri, 01 Jul 2022 12:08:28 +0000 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7FPG-004dC0-BP for linux-riscv@lists.infradead.org; Fri, 01 Jul 2022 12:05:55 +0000 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R961e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=xianting.tian@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0VI2JbZl_1656677148; Received: from localhost(mailfrom:xianting.tian@linux.alibaba.com fp:SMTPD_---0VI2JbZl_1656677148) by smtp.aliyun-inc.com; Fri, 01 Jul 2022 20:05:49 +0800 From: Xianting Tian To: palmer@dabbelt.com Cc: guoren@kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v5 0/3] RISC-V: three fixup and cleanups Date: Fri, 1 Jul 2022 20:05:45 +0800 Message-Id: <20220701120548.228261-1-xianting.tian@linux.alibaba.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220701_050554_654013_923D2E05 X-CRM114-Status: UNSURE ( 1.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi Palmer, These 3 patches are some obviously fixup and cleanups, please have a look, thanks. Xianting Tian (2): RISC-V: use __smp_processor_id() instead of smp_processor_id() RISC-V: Fixup fast call of crash_kexec() Guo Ren (1): riscv: atomic: Clean up unnecessary acquire and release definitions