Message ID | 20230120030512.8778-4-peterlin@andestech.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: legolas.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=OGEAUe6j; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NyksK3sLjz23gM for <incoming@patchwork.ozlabs.org>; Fri, 20 Jan 2023 14:05:57 +1100 (AEDT) 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=Fu2QpREklceoxr4ecv1SWYdawbXg7Iw4ntJDc322C3A=; b=OGEAUe6jUbCZdi 2zInX4hG0ijqJm9rnaDOiIbOdw1BsPEHk4aZBEvwkRx7Cyq4AlUvcCqV2zaBFDFfmWUhORb7ytk1d lNayEX7BOzOeMx7eTZSkzBFUTAb4vKxraEGC92A8SbrevrnRss0z7pjIfNbSxv31oXwwBxUGl47MH d+g7LXsRGmFZzGh62mmLlK+OA8FLqkRzO9Rpg6UGMu1JgAWmlS7+iD+J0DgNBx6hLibhyw8Vsz3WZ 1cBAGQVHO+70rPtz5/BywQRzWeH5uH+DoU6472SI68gevVYIrTjEInIPIBuKCV+gOWPifg8Hn6KxN zbBFT7lq6TIdjytLsNFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIhiq-008AkK-Eu; Fri, 20 Jan 2023 03:05:44 +0000 Received: from 60-248-80-70.hinet-ip.hinet.net ([60.248.80.70] helo=Atcsqr.andestech.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIhio-008Aie-7K for opensbi@lists.infradead.org; Fri, 20 Jan 2023 03:05:43 +0000 Received: from mail.andestech.com (ATCPCS16.andestech.com [10.0.1.222]) by Atcsqr.andestech.com with ESMTP id 30K35Z33080415; Fri, 20 Jan 2023 11:05:35 +0800 (+08) (envelope-from peterlin@andestech.com) Received: from atcfdc88.andestech.com (10.0.15.158) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.498.0; Fri, 20 Jan 2023 11:05:32 +0800 From: Yu Chien Peter Lin <peterlin@andestech.com> To: <opensbi@lists.infradead.org> CC: <anup@brainfault.org>, <hchauhan@ventanamicro.com>, Yu Chien Peter Lin <peterlin@andestech.com> Subject: [PATCH v4 3/6] include: types: add always inline compiler attribute Date: Fri, 20 Jan 2023 11:05:09 +0800 Message-ID: <20230120030512.8778-4-peterlin@andestech.com> X-Mailer: git-send-email 2.38.0.68.ge85701b4af.dirty In-Reply-To: <20230120030512.8778-1-peterlin@andestech.com> References: <20230120030512.8778-1-peterlin@andestech.com> MIME-Version: 1.0 X-Originating-IP: [10.0.15.158] X-DNSRBL: X-SPAM-SOURCE-CHECK: pass X-MAIL: Atcsqr.andestech.com 30K35Z33080415 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_190542_730240_6E76873D X-CRM114-Status: UNSURE ( 5.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.4 (/) 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: Provide __always_inline to sbi_types header. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Anup Patel <anup@brainfault.org> --- include/sbi/sbi_types.h | 1 + 1 file changed, 1 insertion(+) Content analysis details: (0.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 TVD_RCVD_IP Message was received from an IP address -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 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 |
Implement hart hotplug using HSM extension for AE350
|
expand
|
diff --git a/include/sbi/sbi_types.h b/include/sbi/sbi_types.h index 75cddddf..9c1fef3b 100644 --- a/include/sbi/sbi_types.h +++ b/include/sbi/sbi_types.h @@ -62,6 +62,7 @@ typedef unsigned long physical_size_t; #define __packed __attribute__((packed)) #define __noreturn __attribute__((noreturn)) #define __aligned(x) __attribute__((aligned(x))) +#define __always_inline inline __attribute__((always_inline)) #define likely(x) __builtin_expect((x), 1) #define unlikely(x) __builtin_expect((x), 0)