From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EB42C4332F for ; Wed, 23 Nov 2022 11:41:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237485AbiKWLll (ORCPT ); Wed, 23 Nov 2022 06:41:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237391AbiKWLlc (ORCPT ); Wed, 23 Nov 2022 06:41:32 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1329C1095AA; Wed, 23 Nov 2022 03:41:28 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669203686; 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=kc21O6wY4Q6r+mTnObxfs2KOMyS/UVcJmynZXV3Alfo=; b=fJiPVVKvGmb3Z6MlKrSoOE572tB3jWNzQMJM2ZsLFdhyLEI3dHpVghflAbJGIGkivhVX0v EcgfZViiax0lJTf3gYuumHZo3ioTTtSoTctDYt3ZKJE30lFj3EhRMozgeeZMFlRMsNb+i3 FfIV+VT0RdvY/Sy/29hY3d8XXxot7GcUE3ItMpDnNNJRy+qJGgOH5bBx2oqLZmVSxmyvfv XXqvMr/7wIpT3Z6Xig4Xv1BBBZ6F3m3LPbKXmNvSO5KyAFJnO4DRkvxKkvT5j83W4tnb5c SFIsySN5GyQImHWDMr9HfcNnSkD/ssADIkY3IXCJZfyPgAS+0Vz6AUjkyaeglQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669203686; 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=kc21O6wY4Q6r+mTnObxfs2KOMyS/UVcJmynZXV3Alfo=; b=qd4XW1N6UovQIjWlGHprPa+Nv/Om0cvvHmA4Oj16C7YLu7d+3dJoaWLpkMfTCE5V6n0gxK ByXCq0cvkV1AMNAA== To: "Tian, Kevin" , LKML Cc: "x86@kernel.org" , Joerg Roedel , Will Deacon , "linux-pci@vger.kernel.org" , Bjorn Helgaas , Lorenzo Pieralisi , Marc Zyngier , Greg Kroah-Hartman , Jason Gunthorpe , "Jiang, Dave" , Alex Williamson , "Williams, Dan J" , Logan Gunthorpe , "Raj, Ashok" , Jon Mason , Allen Hubbe Subject: RE: [patch V2 19/33] genirq/msi: Provide msi_desc::msi_data In-Reply-To: References: <20221121083657.157152924@linutronix.de> <20221121091327.546352933@linutronix.de> Date: Wed, 23 Nov 2022 12:41:26 +0100 Message-ID: <87wn7lew49.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 23 2022 at 08:27, Kevin Tian wrote: >> From: Thomas Gleixner >> Sent: Monday, November 21, 2022 10:38 PM >> >> The upcoming support for PCI/IMS requires to store some information >> related >> to the message handling in the MSI descriptor, e.g. PASID or a pointer to a >> queue. >> >> Provide a generic storage struct which maps over the existing PCI specific >> storage which means the size of struct msi_desc is not getting bigger. >> >> It contains a iomem pointer for device memory based IMS and a union of a >> u64 and a void pointer which allows the device specific IMS implementations >> to store the necessary information. > > stale comment. > >> >> The iomem pointer is set up by the domain allocation functions. >> >> The data union msi_dev_cookie is going to be handed in when allocating an > > no msi_dev_cookie now. Ooops.