Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1858329lqo; Sun, 12 May 2024 23:42:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKXhmtRNf1frLJ44DJ97hzvG+foydXqjLVM7wVucvup3n4WDBptFxPekv+Pdu/tYLiNQy7GJihmv+nXB7gyNn6DCU2jjPlI8JA46R8Mg== X-Google-Smtp-Source: AGHT+IFkSgNBb2suJDwQNJ8SkLUoNh5nNmr4xeBWOwh/vIp6v/o5G2nJc4UTTrjTFPGlh7MGrkT2 X-Received: by 2002:a05:6358:9211:b0:186:1f52:540d with SMTP id e5c5f4694b2df-193bcff1ea3mr660868555d.28.1715582523955; Sun, 12 May 2024 23:42:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715582523; cv=pass; d=google.com; s=arc-20160816; b=NaXMALBi0wTamy0YG6o5gtaXbzbz1J2i5eSJjsKS4GZIW8WsEoC5uuX+Fj0Mye9KUx pdIujztfaWP53cCEGOk5TI9JV+jqBh0/Rzs13ittikEivIcOsaZnTyrF57RIUdqEEWpG +DkCmk4+GOdkKua8Zg2/P006vLM+vvvKwlwdFgxluYVS1/DdpZJXE0/xrOSvY/5WePIZ cyrw+SE/cG/m//5qosiQm7t1dXT37iwUwQ4WzbTmPmDo5x+Tu/ipUQ0QFPJaFUhKq864 5BxN/xEaavO3jgtzhjujxdfjRnOOp3N4A96J3bzX4QB+wzxXqwHXWh9kgOb20rUl4Y5E 2vGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:user-agent:date :message-id:from:references:cc:to:subject; bh=Z13r6sZFtGtP9RNmGoG3kwQYnkICZqfW+n+jHhgAbg4=; fh=CnMMnNL8ZkditFXdv+Vsf4Ot69+DTgH2CVL3+DbK4lQ=; b=oV8hKKr5NXddflzcUc42BWh7gizMPQBnbXg2AFlPCE01xOssgi9LyAxJh5J87hwhcT u8Khv2I/j6wfFOFdE/sX4rYRWdwd2e7mryJu1iZufh71uOxH5fdIogQjneOXGcqAe45c e2CuYOeHqtQr8EfoQkrknbIuVwhszE50y1ZZNT3yYCI10o54Yy8OTdPLFu46N9NbsYZr 9kPFDpcvUbKus0TdDvNSLULirkld5GLNIhMIXDVhbdmflegSR475Gl9HqsN0K5g166jY tYn2L2k3FxJx7VekehmJ72wnu+nugqgEfxHP4S+da5GTyKheblmAy/4ML0MT4AiCW1rv bA5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=loongson.cn); spf=pass (google.com: domain of linux-kernel+bounces-177217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177217-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e837c0si8634920a12.177.2024.05.12.23.42.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 23:42:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=loongson.cn); spf=pass (google.com: domain of linux-kernel+bounces-177217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177217-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 891622816D0 for ; Mon, 13 May 2024 06:42:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87502146A67; Mon, 13 May 2024 06:41:52 +0000 (UTC) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F077A145B1D; Mon, 13 May 2024 06:41:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=114.242.206.163 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715582512; cv=none; b=d3MWQVTeyo2I9LWD35irkQMoHb34I9Pu95caplF423w5PuJ3gk63Wi4Iwd+MwJ8WW6EZ8AIEX6rAN3wImVYFmQ9nnMIHXhTgXw7FuzRzFaIckxyXSY+5MdsK8AHTKRvCDgj5Y8hkG1m5xMHaIPOcU+y6QP2RsV3PlP5s0E6jbl4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715582512; c=relaxed/simple; bh=9CNcVsx6GH8f9RXjua1bE7voMwh312ilPJJw8WrRdxU=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=oa43Zli0lwDQArLBX86d5q1TJhHwEZkNh3UkcsUay4GZFkdfJoikr4duzAEiLCGD4H8naGE8Oox1wny7f1DjQ2Clhh6ZSGuB+UNu8HKyuiLutK5Q3LUPY1W2MnqO7/Ko0atOEXfkxx4+YCT6+P/Sy873aOIhJ49Ox1Akqq2URYw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn; spf=pass smtp.mailfrom=loongson.cn; arc=none smtp.client-ip=114.242.206.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loongson.cn Received: from loongson.cn (unknown [10.20.42.24]) by gateway (Coremail) with SMTP id _____8AxY+oqtkFm_xIMAA--.17447S3; Mon, 13 May 2024 14:41:46 +0800 (CST) Received: from [10.20.42.24] (unknown [10.20.42.24]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxXN4ptkFmoqMcAA--.51510S3; Mon, 13 May 2024 14:41:45 +0800 (CST) Subject: Re: [PATCH 2/2] Loongarch:Support loongarch avec To: Xi Ruoyao , 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 References: <20240507125953.9117-1-zhangtianyang@loongson.cn> From: Tianyang Zhang Message-ID: Date: Mon, 13 May 2024 14:41:45 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-TRANSID:AQAAf8DxXN4ptkFmoqMcAA--.51510S3 X-CM-SenderInfo: x2kd0wxwld05hdqjqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUUm0b4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26c xKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vE j48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xIIjxv20xvEc7CjxV AFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv6xkF7I0E 14v26r4UJVWxJr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44 I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jw0_WrylYx0Ex4A2 jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCYjI0SjxkI62 AI1cAE67vIY487MxAIw28IcxkI7VAKI48JMxAqzxv262kKe7AKxVWUAVWUtwCF54CYxVCY 1x0262kKe7AKxVWUAVWUtwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVWUAV WUtwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF 1VAFwI0_GFv_WrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVW8JVW5JwCI42IY6x IIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvE x4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvj DU0xZFpf9x07josjUUUUUU= 在 2024/5/7 下午10:20, Xi Ruoyao 写道: > 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. > Thank you for your feedback. I will make the necessary changes here