Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1426122lqt; Wed, 20 Mar 2024 03:52:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV3cEvs/K9iOJiPASuN4ixEswVRo11o2sTftNEBMz+oVduJENiDcLK9KwxT5qezU/U/HnZlkVid1V0QcjOw1RKfFL4cTxhcU6O3qAGm9Q== X-Google-Smtp-Source: AGHT+IGaqS5X2nxtADcTM4B9l6KMZ5qDaaTOTcb4d6SpBFr2qmOWE2aR6v93vaww0FvsqUVMBGOP X-Received: by 2002:ac8:5707:0:b0:430:eeaa:a432 with SMTP id 7-20020ac85707000000b00430eeaaa432mr3124422qtw.5.1710931934821; Wed, 20 Mar 2024 03:52:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710931934; cv=pass; d=google.com; s=arc-20160816; b=BR9hpvUp1X3ELYJWwabpRTr6xLGvxwOKLBnnA/FUnlU6w72x4Dl8IJ27VDGs00UhjK t944sDz/kBkeZnvaRoEIK1i1K2dFxdYBiMOoDCD4nMZVLUFqzDS52iNqGeUGZ6kOcsCX 19/5AUlxga6uyT7uAYmQuhbKfgfh6j8JjgSN8MDmdNP+gGnCFk2kGSA+qT5K5XnSyM/k HDT0F06ib8Q/CV+Yowq9DNJhAUQXZWreM3FcJ0MNSfrdJMW/tQdlUQqT8qMib9CQTOyc tixAB0mep/o2KJYtFxtAYfAZRH2AjgdprP3xuRvc8AJS8MFOvgnE08YCbI2a9oD3xXXF zubw== 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 :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=VO4zCDGYT7oVV7YkUdlk1cK7JA0FP1l7EU9DjR4c6L4=; fh=F1YAbuqspz6aMu9M6zK/yEC6zBfyzJhTZ2WZ2H2H9os=; b=qdysAirplla2a9l1Tbux/0O66KU/tbO67E+/tobOw8Y9fBfVDRhDOfjaRhguXwRyUR FTTEJWmeVPwVLb6TQIHePTwNSEPq+8N7q12cVbLN1S/TH6sf2Nhhi08jOR0QEp28ySNc 4/Lyc+l46+QSKoz/unLLcBAw1/3MrlBDLnjSqNBvyqy9PBJK49onFwn9d34ToFtrighM ehB2TDLR/98j4S5b+A5jZtN2IQgRrsqgBtTagVoHdFpB5J0AOdFSqMUwWGeF6kJ/Lx53 yEJP7rUy9fvmoEFO8hn9bkPPKMFSgvujmDvhxIAs5ODyaD8xjnyZbhNX766NYuPT7niE ruoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sFqWfsiA; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-108807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h22-20020ac87d56000000b00431072b15f4si944170qtb.195.2024.03.20.03.52.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 03:52:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sFqWfsiA; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-108807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 88E191C20DE8 for ; Wed, 20 Mar 2024 10:52:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AE1D39FFD; Wed, 20 Mar 2024 10:52:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="sFqWfsiA"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="fSa45An8" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 DC73238DF9; Wed, 20 Mar 2024 10:52:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710931927; cv=none; b=Potd+Hy/ViuDvaYeRLfbspn8Nuob+PLBFoX/0mpSoqckj83Kuzr4rdxcJi5eXPnqhgHo3qIVADk9uNb0TwdzL2Vu5dk4vYd6bBrWvIzTk6o7afkx9GuZWS80TXuHPRQUwOO4xLkBJF6h8vWMVQU11cjTu31e3toTyfZ4Ot9R2uM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710931927; c=relaxed/simple; bh=CakNBgJk9vDeqbzefxMLt7ID2KfM75MwAL8Qc9sUo0U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=fY4dhpSirPoowAkHFOxdPiGKeBhgmnM3eqor0eyH0wzdGJzOXiIDC7luqh6BIBkirxoGLGG9zqPYYWlY0TQh53apT+NP6EwIiCoQrDKnI18CC7Uvfc/scz6L3HL9PFpywFphaKbeK0wvnQqHK1IWmTaVtsR3sJ0aLHk7OwWWeDg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=sFqWfsiA; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=fSa45An8; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710931923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VO4zCDGYT7oVV7YkUdlk1cK7JA0FP1l7EU9DjR4c6L4=; b=sFqWfsiAwAqMKQvGDFhMWWsieJ9mOGQwqjuFZ/LEWVEmpK7lukEmGtG7cnFQD64uikElRh piiJrtFEq6FjLawtq7pJ5yRXCPLcMWcFsuoy70NwpA6NclalUa3EeX3k45mYLmYeMVyg0E 90JDRH/d8PLmY0LvumU8AvcP7OVb5ya0rWiHGE89vrH9DbGXA3Xl/Cxh948X+xqOQm92FN PbSJnnNzzs/wSHEyiecj7LEu9XGhS187pxsmuI60JhOG+7DhYlBor8eqgtrdWy/nAO350y 9iT/Zo7zSozGFhVdiIjyQK9GeR51dx8dIlcGHPBplqi9+VwTcAekA+iOq28RWA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710931923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VO4zCDGYT7oVV7YkUdlk1cK7JA0FP1l7EU9DjR4c6L4=; b=fSa45An87J9XDtQV6/KHdqqR2/tb7tvciBwo90VhwS1JvVHPQDqterIX5unF7czEtTKFyd yHAOFZmI3xD1iyAw== To: Tianyang Zhang , chenhuacai@kernel.org, jiaxun.yang@flygoat.com Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Baoqi Zhang , Biao Dong , Tianyang Zhang Subject: Re: [PATCH V3] irqchip/loongson-pch-pic: Update interrupt registration policy In-Reply-To: <20240319124629.23925-1-zhangtianyang@loongson.cn> References: <20240319124629.23925-1-zhangtianyang@loongson.cn> Date: Wed, 20 Mar 2024 11:52:03 +0100 Message-ID: <878r2di3ak.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Tue, Mar 19 2024 at 20:46, Tianyang Zhang wrote: > From: Baoqi Zhang > > This patch remove the fixed mapping between the LS7A interrupt source Please don't use 'This patch'. We already know that this is a patch. See Documentation/process/ > and the HT interrupt vector, and replaced it with a dynamically > allocated approach. You explain the WHAT, but you really need to explain the WHY. > We introduce a mapping table in struct pch_pic, where each interrupt s/We introduce/Introduce/ See documentation. > source will allocate an index as a 'hwirq' from the table in the order > of application and set table value as interrupt source number. This hwirq > will be configured as its vector in the HT interrupt controller. For an > interrupt source, the validity period of the obtained hwirq will last until > the system reset. > > This will be more conducive to fully utilizing existing vectors to > support more devices. > > Signed-off-by: Baoqi Zhang > Signed-off-by: Biao Dong > Signed-off-by: Tianyang Zhang This Signed-off-by chain is wrong. Please see Documentation/process/submitting-patches.rst Thanks, tglx