From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lorenzo Pieralisi Subject: Re: [PATCH v4 1/2] ACPICA: ACPI 6.2: Add support for new SRAT subtable Date: Thu, 22 Jun 2017 22:06:35 +0100 Message-ID: <20170622210635.GB27861@red-moon> References: <1498111812-17053-1-git-send-email-ganapatrao.kulkarni@cavium.com> <20170622134303.GA9732@red-moon> <94F2FBAB4432B54E8AACC7DFDE6C92E37E5C3067@ORSMSX110.amr.corp.intel.com> <7426901.eKsnQBecvM@aspire.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from foss.arm.com ([217.140.101.70]:44176 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751221AbdFVVFI (ORCPT ); Thu, 22 Jun 2017 17:05:08 -0400 Content-Disposition: inline In-Reply-To: <7426901.eKsnQBecvM@aspire.rjw.lan> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: "Moore, Robert" , Ganapatrao Kulkarni , "Zheng, Lv" , "linux-acpi@vger.kernel.org" , "devel@acpica.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "marc.zyngier@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "hanjun.guo@linaro.org" , "tglx@linutronix.de" , "jason@lakedaemon.net" , "jnair@caviumnetworks.com" , "gpkulkarni@gmail.com" On Thu, Jun 22, 2017 at 04:27:18PM +0200, Rafael J. Wysocki wrote: > On Thursday, June 22, 2017 02:13:18 PM Moore, Robert wrote: > > This support is already in the ACPICA code base, but I can't speak to when it will be upstreamed to Linux. Lv would know this. > > It should be there in linux-next already AFAICS. > > Lorenzo, can you please double check? Yes, it is all fine, thank you Rafael for taking the ACPICA changes. Thanks ! Lorenzo > Thanks, > Rafael > > > > > -----Original Message----- > > > From: Lorenzo Pieralisi [mailto:lorenzo.pieralisi@arm.com] > > > Sent: Thursday, June 22, 2017 6:43 AM > > > To: Ganapatrao Kulkarni ; Zheng, Lv > > > ; Moore, Robert ; Rafael J. > > > Wysocki > > > Cc: linux-acpi@vger.kernel.org; devel@acpica.org; linux- > > > kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; > > > marc.zyngier@arm.com; catalin.marinas@arm.com; will.deacon@arm.com; > > > hanjun.guo@linaro.org; tglx@linutronix.de; jason@lakedaemon.net; > > > jnair@caviumnetworks.com; gpkulkarni@gmail.com > > > Subject: Re: [PATCH v4 1/2] ACPICA: ACPI 6.2: Add support for new SRAT > > > subtable > > > > > > Hi Rafael, Lv, Robert, > > > > > > On Thu, Jun 22, 2017 at 11:40:11AM +0530, Ganapatrao Kulkarni wrote: > > > > Add GIC ITS Affinity (ACPI 6.2) subtable to SRAT table. > > > > > > > > ACPICA commit 5bc67f63918da249bfe279ee461d152bb3e6f55b > > > > Link: https://github.com/acpica/acpica/commit/5bc67f6 > > > > > > > > Signed-off-by: Ganapatrao Kulkarni > > > > --- > > > > include/acpi/actbl1.h | 12 +++++++++++- > > > > 1 file changed, 11 insertions(+), 1 deletion(-) > > > > > > This patch is fine to me but it is up to you or who sends the ACPICA > > > pull request to send it upstream or give us an ACK so that it can go via > > > irqchip. > > > > > > We need to know how this commit (and other ACPICA changes) will be sent > > > upstream to handle trees dependencies, please advise it is a bit urgent, > > > thank you. > > > > > > Lorenzo > > > > > > > diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index > > > > b4ce55c..253c9db 100644 > > > > --- a/include/acpi/actbl1.h > > > > +++ b/include/acpi/actbl1.h > > > > @@ -1192,7 +1192,8 @@ enum acpi_srat_type { > > > > ACPI_SRAT_TYPE_MEMORY_AFFINITY = 1, > > > > ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2, > > > > ACPI_SRAT_TYPE_GICC_AFFINITY = 3, > > > > - ACPI_SRAT_TYPE_RESERVED = 4 /* 4 and greater are reserved */ > > > > + ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4, /* ACPI 6.2 */ > > > > + ACPI_SRAT_TYPE_RESERVED = 5 /* 5 and greater are reserved */ > > > > }; > > > > > > > > /* > > > > @@ -1260,6 +1261,15 @@ struct acpi_srat_gicc_affinity { > > > > u32 clock_domain; > > > > }; > > > > > > > > +/* 4: GIC ITS Affinity (ACPI 6.2) */ > > > > + > > > > +struct acpi_srat_its_affinity { > > > > + struct acpi_subtable_header header; > > > > + u32 proximity_domain; > > > > + u16 reserved; > > > > + u32 its_id; > > > > +}; > > > > + > > > > /* Flags for struct acpi_srat_gicc_affinity */ > > > > > > > > #define ACPI_SRAT_GICC_ENABLED (1) /* 00: Use affinity structure > > > */ > > > > -- > > > > 1.8.1.4 > > > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753631AbdFVVFL (ORCPT ); Thu, 22 Jun 2017 17:05:11 -0400 Received: from foss.arm.com ([217.140.101.70]:44176 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751221AbdFVVFI (ORCPT ); Thu, 22 Jun 2017 17:05:08 -0400 Date: Thu, 22 Jun 2017 22:06:35 +0100 From: Lorenzo Pieralisi To: "Rafael J. Wysocki" Cc: "Moore, Robert" , Ganapatrao Kulkarni , "Zheng, Lv" , "linux-acpi@vger.kernel.org" , "devel@acpica.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "marc.zyngier@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "hanjun.guo@linaro.org" , "tglx@linutronix.de" , "jason@lakedaemon.net" , "jnair@caviumnetworks.com" , "gpkulkarni@gmail.com" Subject: Re: [PATCH v4 1/2] ACPICA: ACPI 6.2: Add support for new SRAT subtable Message-ID: <20170622210635.GB27861@red-moon> References: <1498111812-17053-1-git-send-email-ganapatrao.kulkarni@cavium.com> <20170622134303.GA9732@red-moon> <94F2FBAB4432B54E8AACC7DFDE6C92E37E5C3067@ORSMSX110.amr.corp.intel.com> <7426901.eKsnQBecvM@aspire.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7426901.eKsnQBecvM@aspire.rjw.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 22, 2017 at 04:27:18PM +0200, Rafael J. Wysocki wrote: > On Thursday, June 22, 2017 02:13:18 PM Moore, Robert wrote: > > This support is already in the ACPICA code base, but I can't speak to when it will be upstreamed to Linux. Lv would know this. > > It should be there in linux-next already AFAICS. > > Lorenzo, can you please double check? Yes, it is all fine, thank you Rafael for taking the ACPICA changes. Thanks ! Lorenzo > Thanks, > Rafael > > > > > -----Original Message----- > > > From: Lorenzo Pieralisi [mailto:lorenzo.pieralisi@arm.com] > > > Sent: Thursday, June 22, 2017 6:43 AM > > > To: Ganapatrao Kulkarni ; Zheng, Lv > > > ; Moore, Robert ; Rafael J. > > > Wysocki > > > Cc: linux-acpi@vger.kernel.org; devel@acpica.org; linux- > > > kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; > > > marc.zyngier@arm.com; catalin.marinas@arm.com; will.deacon@arm.com; > > > hanjun.guo@linaro.org; tglx@linutronix.de; jason@lakedaemon.net; > > > jnair@caviumnetworks.com; gpkulkarni@gmail.com > > > Subject: Re: [PATCH v4 1/2] ACPICA: ACPI 6.2: Add support for new SRAT > > > subtable > > > > > > Hi Rafael, Lv, Robert, > > > > > > On Thu, Jun 22, 2017 at 11:40:11AM +0530, Ganapatrao Kulkarni wrote: > > > > Add GIC ITS Affinity (ACPI 6.2) subtable to SRAT table. > > > > > > > > ACPICA commit 5bc67f63918da249bfe279ee461d152bb3e6f55b > > > > Link: https://github.com/acpica/acpica/commit/5bc67f6 > > > > > > > > Signed-off-by: Ganapatrao Kulkarni > > > > --- > > > > include/acpi/actbl1.h | 12 +++++++++++- > > > > 1 file changed, 11 insertions(+), 1 deletion(-) > > > > > > This patch is fine to me but it is up to you or who sends the ACPICA > > > pull request to send it upstream or give us an ACK so that it can go via > > > irqchip. > > > > > > We need to know how this commit (and other ACPICA changes) will be sent > > > upstream to handle trees dependencies, please advise it is a bit urgent, > > > thank you. > > > > > > Lorenzo > > > > > > > diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index > > > > b4ce55c..253c9db 100644 > > > > --- a/include/acpi/actbl1.h > > > > +++ b/include/acpi/actbl1.h > > > > @@ -1192,7 +1192,8 @@ enum acpi_srat_type { > > > > ACPI_SRAT_TYPE_MEMORY_AFFINITY = 1, > > > > ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2, > > > > ACPI_SRAT_TYPE_GICC_AFFINITY = 3, > > > > - ACPI_SRAT_TYPE_RESERVED = 4 /* 4 and greater are reserved */ > > > > + ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4, /* ACPI 6.2 */ > > > > + ACPI_SRAT_TYPE_RESERVED = 5 /* 5 and greater are reserved */ > > > > }; > > > > > > > > /* > > > > @@ -1260,6 +1261,15 @@ struct acpi_srat_gicc_affinity { > > > > u32 clock_domain; > > > > }; > > > > > > > > +/* 4: GIC ITS Affinity (ACPI 6.2) */ > > > > + > > > > +struct acpi_srat_its_affinity { > > > > + struct acpi_subtable_header header; > > > > + u32 proximity_domain; > > > > + u16 reserved; > > > > + u32 its_id; > > > > +}; > > > > + > > > > /* Flags for struct acpi_srat_gicc_affinity */ > > > > > > > > #define ACPI_SRAT_GICC_ENABLED (1) /* 00: Use affinity structure > > > */ > > > > -- > > > > 1.8.1.4 > > > > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: lorenzo.pieralisi@arm.com (Lorenzo Pieralisi) Date: Thu, 22 Jun 2017 22:06:35 +0100 Subject: [PATCH v4 1/2] ACPICA: ACPI 6.2: Add support for new SRAT subtable In-Reply-To: <7426901.eKsnQBecvM@aspire.rjw.lan> References: <1498111812-17053-1-git-send-email-ganapatrao.kulkarni@cavium.com> <20170622134303.GA9732@red-moon> <94F2FBAB4432B54E8AACC7DFDE6C92E37E5C3067@ORSMSX110.amr.corp.intel.com> <7426901.eKsnQBecvM@aspire.rjw.lan> Message-ID: <20170622210635.GB27861@red-moon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Jun 22, 2017 at 04:27:18PM +0200, Rafael J. Wysocki wrote: > On Thursday, June 22, 2017 02:13:18 PM Moore, Robert wrote: > > This support is already in the ACPICA code base, but I can't speak to when it will be upstreamed to Linux. Lv would know this. > > It should be there in linux-next already AFAICS. > > Lorenzo, can you please double check? Yes, it is all fine, thank you Rafael for taking the ACPICA changes. Thanks ! Lorenzo > Thanks, > Rafael > > > > > -----Original Message----- > > > From: Lorenzo Pieralisi [mailto:lorenzo.pieralisi at arm.com] > > > Sent: Thursday, June 22, 2017 6:43 AM > > > To: Ganapatrao Kulkarni ; Zheng, Lv > > > ; Moore, Robert ; Rafael J. > > > Wysocki > > > Cc: linux-acpi at vger.kernel.org; devel at acpica.org; linux- > > > kernel at vger.kernel.org; linux-arm-kernel at lists.infradead.org; > > > marc.zyngier at arm.com; catalin.marinas at arm.com; will.deacon at arm.com; > > > hanjun.guo at linaro.org; tglx at linutronix.de; jason at lakedaemon.net; > > > jnair at caviumnetworks.com; gpkulkarni at gmail.com > > > Subject: Re: [PATCH v4 1/2] ACPICA: ACPI 6.2: Add support for new SRAT > > > subtable > > > > > > Hi Rafael, Lv, Robert, > > > > > > On Thu, Jun 22, 2017 at 11:40:11AM +0530, Ganapatrao Kulkarni wrote: > > > > Add GIC ITS Affinity (ACPI 6.2) subtable to SRAT table. > > > > > > > > ACPICA commit 5bc67f63918da249bfe279ee461d152bb3e6f55b > > > > Link: https://github.com/acpica/acpica/commit/5bc67f6 > > > > > > > > Signed-off-by: Ganapatrao Kulkarni > > > > --- > > > > include/acpi/actbl1.h | 12 +++++++++++- > > > > 1 file changed, 11 insertions(+), 1 deletion(-) > > > > > > This patch is fine to me but it is up to you or who sends the ACPICA > > > pull request to send it upstream or give us an ACK so that it can go via > > > irqchip. > > > > > > We need to know how this commit (and other ACPICA changes) will be sent > > > upstream to handle trees dependencies, please advise it is a bit urgent, > > > thank you. > > > > > > Lorenzo > > > > > > > diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index > > > > b4ce55c..253c9db 100644 > > > > --- a/include/acpi/actbl1.h > > > > +++ b/include/acpi/actbl1.h > > > > @@ -1192,7 +1192,8 @@ enum acpi_srat_type { > > > > ACPI_SRAT_TYPE_MEMORY_AFFINITY = 1, > > > > ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2, > > > > ACPI_SRAT_TYPE_GICC_AFFINITY = 3, > > > > - ACPI_SRAT_TYPE_RESERVED = 4 /* 4 and greater are reserved */ > > > > + ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4, /* ACPI 6.2 */ > > > > + ACPI_SRAT_TYPE_RESERVED = 5 /* 5 and greater are reserved */ > > > > }; > > > > > > > > /* > > > > @@ -1260,6 +1261,15 @@ struct acpi_srat_gicc_affinity { > > > > u32 clock_domain; > > > > }; > > > > > > > > +/* 4: GIC ITS Affinity (ACPI 6.2) */ > > > > + > > > > +struct acpi_srat_its_affinity { > > > > + struct acpi_subtable_header header; > > > > + u32 proximity_domain; > > > > + u16 reserved; > > > > + u32 its_id; > > > > +}; > > > > + > > > > /* Flags for struct acpi_srat_gicc_affinity */ > > > > > > > > #define ACPI_SRAT_GICC_ENABLED (1) /* 00: Use affinity structure > > > */ > > > > -- > > > > 1.8.1.4 > > > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1185911241431694719==" MIME-Version: 1.0 From: Lorenzo Pieralisi Subject: Re: [Devel] [PATCH v4 1/2] ACPICA: ACPI 6.2: Add support for new SRAT subtable Date: Thu, 22 Jun 2017 22:06:35 +0100 Message-ID: <20170622210635.GB27861@red-moon> In-Reply-To: 7426901.eKsnQBecvM@aspire.rjw.lan List-ID: To: devel@acpica.org --===============1185911241431694719== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Thu, Jun 22, 2017 at 04:27:18PM +0200, Rafael J. Wysocki wrote: > On Thursday, June 22, 2017 02:13:18 PM Moore, Robert wrote: > > This support is already in the ACPICA code base, but I can't speak to w= hen it will be upstreamed to Linux. Lv would know this. > = > It should be there in linux-next already AFAICS. > = > Lorenzo, can you please double check? Yes, it is all fine, thank you Rafael for taking the ACPICA changes. Thanks ! Lorenzo > Thanks, > Rafael > = > = > > > -----Original Message----- > > > From: Lorenzo Pieralisi [mailto:lorenzo.pieralisi(a)arm.com] > > > Sent: Thursday, June 22, 2017 6:43 AM > > > To: Ganapatrao Kulkarni ; Zheng, Lv > > > ; Moore, Robert ; Raf= ael J. > > > Wysocki > > > Cc: linux-acpi(a)vger.kernel.org; devel(a)acpica.org; linux- > > > kernel(a)vger.kernel.org; linux-arm-kernel(a)lists.infradead.org; > > > marc.zyngier(a)arm.com; catalin.marinas(a)arm.com; will.deacon(a)arm.= com; > > > hanjun.guo(a)linaro.org; tglx(a)linutronix.de; jason(a)lakedaemon.net; > > > jnair(a)caviumnetworks.com; gpkulkarni(a)gmail.com > > > Subject: Re: [PATCH v4 1/2] ACPICA: ACPI 6.2: Add support for new SRAT > > > subtable > > > = > > > Hi Rafael, Lv, Robert, > > > = > > > On Thu, Jun 22, 2017 at 11:40:11AM +0530, Ganapatrao Kulkarni wrote: > > > > Add GIC ITS Affinity (ACPI 6.2) subtable to SRAT table. > > > > > > > > ACPICA commit 5bc67f63918da249bfe279ee461d152bb3e6f55b > > > > Link: https://github.com/acpica/acpica/commit/5bc67f6 > > > > > > > > Signed-off-by: Ganapatrao Kulkarni > > > > --- > > > > include/acpi/actbl1.h | 12 +++++++++++- > > > > 1 file changed, 11 insertions(+), 1 deletion(-) > > > = > > > This patch is fine to me but it is up to you or who sends the ACPICA > > > pull request to send it upstream or give us an ACK so that it can go = via > > > irqchip. > > > = > > > We need to know how this commit (and other ACPICA changes) will be se= nt > > > upstream to handle trees dependencies, please advise it is a bit urge= nt, > > > thank you. > > > = > > > Lorenzo > > > = > > > > diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index > > > > b4ce55c..253c9db 100644 > > > > --- a/include/acpi/actbl1.h > > > > +++ b/include/acpi/actbl1.h > > > > @@ -1192,7 +1192,8 @@ enum acpi_srat_type { > > > > ACPI_SRAT_TYPE_MEMORY_AFFINITY =3D 1, > > > > ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY =3D 2, > > > > ACPI_SRAT_TYPE_GICC_AFFINITY =3D 3, > > > > - ACPI_SRAT_TYPE_RESERVED =3D 4 /* 4 and greater are reserved */ > > > > + ACPI_SRAT_TYPE_GIC_ITS_AFFINITY =3D 4, /* ACPI 6.2 */ > > > > + ACPI_SRAT_TYPE_RESERVED =3D 5 /* 5 and greater are reserved */ > > > > }; > > > > > > > > /* > > > > @@ -1260,6 +1261,15 @@ struct acpi_srat_gicc_affinity { > > > > u32 clock_domain; > > > > }; > > > > > > > > +/* 4: GIC ITS Affinity (ACPI 6.2) */ > > > > + > > > > +struct acpi_srat_its_affinity { > > > > + struct acpi_subtable_header header; > > > > + u32 proximity_domain; > > > > + u16 reserved; > > > > + u32 its_id; > > > > +}; > > > > + > > > > /* Flags for struct acpi_srat_gicc_affinity */ > > > > > > > > #define ACPI_SRAT_GICC_ENABLED (1) /* 00: Use affinity structu= re > > > */ > > > > -- > > > > 1.8.1.4 > > > > >=20 --===============1185911241431694719==--