Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp557208lqh; Tue, 7 May 2024 07:24:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX16FXKw++JJ8hA08HbaqVF1zGoooIDFjcr3DQlLH23L+hg9QeEC4W9NcQ/XSSYVsTx0X9jYAc+hckvbeL13PEcc0gg0jI4G2GOc+s2Dw== X-Google-Smtp-Source: AGHT+IG84hiZLBapMhDtx0d2PDvysjGGBMFwEz+XDnjo0lJozrwD63Z7gWwU7CSeO/aszZrxdKzv X-Received: by 2002:a17:907:3d88:b0:a59:c577:c5c4 with SMTP id he8-20020a1709073d8800b00a59c577c5c4mr5320379ejc.24.1715091845494; Tue, 07 May 2024 07:24:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715091845; cv=pass; d=google.com; s=arc-20160816; b=Q2IQ1ceYtFP4u1mka7c72Qn7JB0W1ugQbkEJHIlr4zy9DrY3zHe+nkiUNkPtC1AC/j Osw5S57bcettvWnJg3428C5HBOCxdkWRFGMKl5E0IYP3wt5vOF+QBJepPOHag+A3pjEs y18Ny6n1HBA7D3S14s7HVzFwGJoW+y72hVWKTpltj/VX+tXRH6Tw5bTu58ySaalc9BLo Xa3sDT6yYj8TerSixK0ftbVjloWJ61zyk6YgEatjvg1NMRNKGKYXEKBKO1PN1LmFPUJJ vZoMF30QRIn4/B37f4cZ+eZuhNTc2A0zRIt8sQ3DTdlhk0hfe421urepWTULnU/ZMVlj uKKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=rvnWnElEa9Hdc75INWzFofuRyx6gTk/YsVUN98wrQ8Q=; fh=hEMg24dhMPbv/wHu//4cOGwYWQ85jBbJQN3B40XStNo=; b=CGtoN+EXPK9DmxrSqo5R4DNT6rrwJfljhng4jqDHH33tI1lNlKyLAb+TYeuN3cQ8lq MIrXngCK7jf8BXnsJeszBjMGk+9DQUo3Pl2F0Pmom2QI19thJQHsqtImCZFqoNDVyaZ9 nJXE9mSfUs8aR1MT2uslxZU0P7hIRZvESvfIZL0kgmoWGiEzil4nana1tppnW51i9/Xt Gtl6bwVDoAq6D6f27wJryyNyT4HRrakATA/5Oo55hom0cv6utLbhpvzcyqFnpnT12/vA LvOk4VT2WM1zbnnNNt6U4DUm7RUzITpRXn1oir0eEW+nUpnlqmeHy40XsfDUuRV29rfJ B/bQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=SAnUNbzE; arc=pass (i=1 spf=pass spfdomain=xry111.site dkim=pass dkdomain=xry111.site dmarc=pass fromdomain=xry111.site); spf=pass (google.com: domain of linux-kernel+bounces-171562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171562-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s19-20020a170906061300b00a5741f4b33esi5833351ejb.441.2024.05.07.07.24.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 07:24:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=SAnUNbzE; arc=pass (i=1 spf=pass spfdomain=xry111.site dkim=pass dkdomain=xry111.site dmarc=pass fromdomain=xry111.site); spf=pass (google.com: domain of linux-kernel+bounces-171562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171562-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 22A501F221E1 for ; Tue, 7 May 2024 14:24:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07AF516192D; Tue, 7 May 2024 14:21:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xry111.site header.i=@xry111.site header.b="SAnUNbzE" Received: from xry111.site (xry111.site [89.208.246.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE30316C434; Tue, 7 May 2024 14:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.208.246.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715091674; cv=none; b=lNmHN0w69Q+KJ38+n0nuj+oBSzw3iukiuxSeUdI7AJy4kwy29sX0LoAQzJ0XkkFxv3SbAMdaXqi8lzuUNqwnbE2i8yB49xhPxU5Br0ObMG6bHQsO0BFetlgcqIdrOct0EekCpa8BzXoiVbiZZBBoKkDbTKucqoR6gdMNVU8DKKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715091674; c=relaxed/simple; bh=KuPguweerCAeDeFcHUy2Ym+qHGosgURq8HC0Jlhat0k=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=FC2gyQNIdPT1FsaXiLcTX0M7Hd8pHJc5votZxQQCvZo6rY2WFJVtBcC3y66cfV7vqtXFNrAczlSWqS0gn0gPiaXGD/2+k4tKX2gH9m9PLElKISw6kgln/vniadR8EzBqD/NbTDaBMEcbwxEr5ecNijuoqjE/ynwGo9hbgAGyXTY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=xry111.site; spf=pass smtp.mailfrom=xry111.site; dkim=pass (1024-bit key) header.d=xry111.site header.i=@xry111.site header.b=SAnUNbzE; arc=none smtp.client-ip=89.208.246.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1715091664; bh=KuPguweerCAeDeFcHUy2Ym+qHGosgURq8HC0Jlhat0k=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=SAnUNbzEABYCaE148HVT/5Kc4c/5dt5/BW8DXzOR1++aF+l+/mjwKH+6T7FEc3FIp T9BRfDKtYojdJP+XCKnBUJCMq8+Y6QmdObldwQCWw/KfSZyHXblBYUrnCpHV4WH7H9 olguVMaRtysU2TO3gu3pLu1vDfFeanhezIxj2Wiw= Received: from [IPv6:240e:456:1030:3f01:af89:88e3:556c:eacb] (unknown [IPv6:240e:456:1030:3f01:af89:88e3:556c:eacb]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id DFBE266916; Tue, 7 May 2024 10:20:48 -0400 (EDT) Message-ID: Subject: Re: [PATCH 2/2] Loongarch:Support loongarch avec From: Xi Ruoyao To: Tianyang Zhang , chenhuacai@kernel.org, kernel@xen0n.name, tglx@linutronix.de, jiaxun.yang@flygoat.com, gaoliang@loongson.cn, wangliupu@loongson.cn, lvjianmin@loongson.cn, yijun@loongson.cn, mhocko@suse.com, akpm@linux-foundation.org, dianders@chromium.org, maobibo@loongson.cn, zhaotianrui@loongson.cn, nathan@kernel.org, yangtiezhu@loongson.cn, zhoubinbin@loongson.cn Cc: loongarch@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 07 May 2024 22:20:42 +0800 In-Reply-To: <20240507125953.9117-1-zhangtianyang@loongson.cn> References: <20240507125953.9117-1-zhangtianyang@loongson.cn> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Tue, 2024-05-07 at 20:59 +0800, Tianyang Zhang wrote: > +static inline void loongarch_avec_ack_irq(struct irq_data *d) > +{ > +} > + > +static inline void loongarch_avec_unmask_irq(struct irq_data *d) > +{ > +} > + > +static inline void loongarch_avec_mask_irq(struct irq_data *d) > +{ > +} "inline" has no use here because these functions are only called via function pointers, thus such calls cannot be inline-able. I'd suggest to remove "inline" for them. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University