All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hanjun Guo <hanjun.guo@linaro.org>
To: "Zheng, Lv" <lv.zheng@intel.com>,
	"Wysocki, Rafael J" <rafael.j.wysocki@intel.com>,
	"Brown, Len" <len.brown@intel.com>
Cc: Lv Zheng <zetalog@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"Moore, Robert" <robert.moore@intel.com>
Subject: Re: [PATCH 12/19] ACPICA: ACPI 6.0: Add changes for MADT table.
Date: Sat, 23 May 2015 08:02:52 +0800	[thread overview]
Message-ID: <555FC3AC.1090108@linaro.org> (raw)
In-Reply-To: <1AE640813FDE7649BE1B193DEA596E8802720DDD@SHSMSX101.ccr.corp.intel.com>

On 2015年05月22日 08:16, Zheng, Lv wrote:
> Hi,
>
>> From: Hanjun Guo [mailto:hanjun.guo@linaro.org]
>> Sent: Thursday, May 21, 2015 10:36 PM
>>
>> Hi Lv,
>>
>> On 2015年05月21日 10:31, Lv Zheng wrote:
>>> From: Bob Moore <robert.moore@intel.com>
>>>
>>> ACPICA commit 02cbb41232bccf7a91967140cab95d5f48291f21
>>>
>>> New subtable type. Some additions to existing subtables.
>>>
>>> Link: https://github.com/acpica/acpica/commit/02cbb412
>>> Signed-off-by: Bob Moore <robert.moore@intel.com>
>>> Signed-off-by: Lv Zheng <lv.zheng@intel.com>
>>> ---
>> [...]
>>>
>>>    /* Masks for Flags field above */
>>> @@ -819,7 +822,7 @@ struct acpi_madt_generic_interrupt {
>>>    #define ACPI_MADT_PERFORMANCE_IRQ_MODE  (1<<1)	/* 01: Performance Interrupt Mode */
>>>    #define ACPI_MADT_VGIC_IRQ_MODE         (1<<2)	/* 02: VGIC Maintenance Interrupt mode */
>>>
>>> -/* 12: Generic Distributor (ACPI 5.0) */
>>> +/* 12: Generic Distributor (ACPI 5.0 + ACPI 6.0 changes) */
>>>
>>>    struct acpi_madt_generic_distributor {
>>>    	struct acpi_subtable_header header;
>>> @@ -827,7 +830,8 @@ struct acpi_madt_generic_distributor {
>>>    	u32 gic_id;
>>>    	u64 base_address;
>>>    	u32 global_irq_base;
>>> -	u32 reserved2;		/* reserved - must be zero */
>>> +	u8 version;
>>
>> version filed in generic distributor has following values,
>>
>> /* Values for gic_version in Generic Distributor  (ACPI 6.0) */
>>
>> enum acpi_madt_gic_ver_type
>> {
>>           ACPI_MADT_GIC_VER_UNKNOWN       = 0,
>>           ACPI_MADT_GIC_VER_V1            = 1,
>>           ACPI_MADT_GIC_VER_V2            = 2,
>>           ACPI_MADT_GIC_VER_V3            = 3,
>>           ACPI_MADT_GIC_VER_V4            = 4,
>>           ACPI_MADT_GIC_VER_RESERVED      = 5     /* 5 and greater are
>> reserved */
>> };
>>
>> should we put it here, or locate it to ARM64 arch related head
>> file?
>
> Yes, you can put it here.
> And also please help to submit an ACPICA patch to <devel@acpica.org>.

OK, I think it is a fix to this patch too, I will
prepare a patch soon.

Thanks
Hanjun
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Hanjun Guo <hanjun.guo@linaro.org>
To: "Zheng, Lv" <lv.zheng@intel.com>,
	"Wysocki, Rafael J" <rafael.j.wysocki@intel.com>,
	"Brown, Len" <len.brown@intel.com>
Cc: Lv Zheng <zetalog@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"Moore, Robert" <robert.moore@intel.com>
Subject: Re: [PATCH 12/19] ACPICA: ACPI 6.0: Add changes for MADT table.
Date: Sat, 23 May 2015 08:02:52 +0800	[thread overview]
Message-ID: <555FC3AC.1090108@linaro.org> (raw)
In-Reply-To: <1AE640813FDE7649BE1B193DEA596E8802720DDD@SHSMSX101.ccr.corp.intel.com>

On 2015年05月22日 08:16, Zheng, Lv wrote:
> Hi,
>
>> From: Hanjun Guo [mailto:hanjun.guo@linaro.org]
>> Sent: Thursday, May 21, 2015 10:36 PM
>>
>> Hi Lv,
>>
>> On 2015年05月21日 10:31, Lv Zheng wrote:
>>> From: Bob Moore <robert.moore@intel.com>
>>>
>>> ACPICA commit 02cbb41232bccf7a91967140cab95d5f48291f21
>>>
>>> New subtable type. Some additions to existing subtables.
>>>
>>> Link: https://github.com/acpica/acpica/commit/02cbb412
>>> Signed-off-by: Bob Moore <robert.moore@intel.com>
>>> Signed-off-by: Lv Zheng <lv.zheng@intel.com>
>>> ---
>> [...]
>>>
>>>    /* Masks for Flags field above */
>>> @@ -819,7 +822,7 @@ struct acpi_madt_generic_interrupt {
>>>    #define ACPI_MADT_PERFORMANCE_IRQ_MODE  (1<<1)	/* 01: Performance Interrupt Mode */
>>>    #define ACPI_MADT_VGIC_IRQ_MODE         (1<<2)	/* 02: VGIC Maintenance Interrupt mode */
>>>
>>> -/* 12: Generic Distributor (ACPI 5.0) */
>>> +/* 12: Generic Distributor (ACPI 5.0 + ACPI 6.0 changes) */
>>>
>>>    struct acpi_madt_generic_distributor {
>>>    	struct acpi_subtable_header header;
>>> @@ -827,7 +830,8 @@ struct acpi_madt_generic_distributor {
>>>    	u32 gic_id;
>>>    	u64 base_address;
>>>    	u32 global_irq_base;
>>> -	u32 reserved2;		/* reserved - must be zero */
>>> +	u8 version;
>>
>> version filed in generic distributor has following values,
>>
>> /* Values for gic_version in Generic Distributor  (ACPI 6.0) */
>>
>> enum acpi_madt_gic_ver_type
>> {
>>           ACPI_MADT_GIC_VER_UNKNOWN       = 0,
>>           ACPI_MADT_GIC_VER_V1            = 1,
>>           ACPI_MADT_GIC_VER_V2            = 2,
>>           ACPI_MADT_GIC_VER_V3            = 3,
>>           ACPI_MADT_GIC_VER_V4            = 4,
>>           ACPI_MADT_GIC_VER_RESERVED      = 5     /* 5 and greater are
>> reserved */
>> };
>>
>> should we put it here, or locate it to ARM64 arch related head
>> file?
>
> Yes, you can put it here.
> And also please help to submit an ACPICA patch to <devel@acpica.org>.

OK, I think it is a fix to this patch too, I will
prepare a patch soon.

Thanks
Hanjun

  reply	other threads:[~2015-05-23  0:03 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21  2:29 [PATCH 00/19] ACPICA: 20150515 Release Lv Zheng
2015-05-21  2:29 ` Lv Zheng
2015-05-21  2:30 ` [PATCH 01/19] ACPICA: Additional dragon_fly BSD support Lv Zheng
2015-05-21  2:30   ` Lv Zheng
2015-05-21  2:30 ` [PATCH 02/19] ACPICA: ACPI 6.0: Add support for STAO table Lv Zheng
2015-05-21  2:30   ` Lv Zheng
2015-05-21  2:30 ` [PATCH 03/19] ACPICA: ACPI 6.0: Add support for new predefined names Lv Zheng
2015-05-21  2:30   ` Lv Zheng
2015-05-21  2:30 ` [PATCH 04/19] ACPICA: ACPI 6.0: Add support for XENV table Lv Zheng
2015-05-21  2:30   ` Lv Zheng
2015-05-21  2:30 ` [PATCH 05/19] ACPICA: Parser: Move a couple externals to the proper header Lv Zheng
2015-05-21  2:30   ` Lv Zheng
2015-05-21  2:30 ` [PATCH 06/19] ACPICA: iASL: Enhance detection of non-ascii or corrupted input files Lv Zheng
2015-05-21  2:30   ` Lv Zheng
2015-05-21  2:30 ` [PATCH 07/19] ACPICA: ACPI 6.0: Add support for WPBT table Lv Zheng
2015-05-21  2:30   ` Lv Zheng
2015-05-21  2:30 ` [PATCH 08/19] ACPICA: ACPI 6.0: Add changes for FADT table Lv Zheng
2015-05-21  2:30   ` Lv Zheng
2015-05-21  2:30 ` [PATCH 09/19] ACPICA: ACPI 6.0: Add changes for LPIT table Lv Zheng
2015-05-21  2:30   ` Lv Zheng
2015-05-21  2:31 ` [PATCH 10/19] ACPICA: Dispatcher: Fix a resource leak issue in acpi_ds_auto_serialize_method() Lv Zheng
2015-05-21  2:31   ` Lv Zheng
2015-05-21  2:31 ` [PATCH 11/19] ACPICA: Hardware: Fix a resource leak issue in acpi_hw_build_pci_list() Lv Zheng
2015-05-21  2:31   ` Lv Zheng
2015-05-21  2:31 ` [PATCH 12/19] ACPICA: ACPI 6.0: Add changes for MADT table Lv Zheng
2015-05-21  2:31   ` Lv Zheng
2015-05-21 14:36   ` Hanjun Guo
2015-05-21 14:36     ` Hanjun Guo
2015-05-22  0:16     ` Zheng, Lv
2015-05-22  0:16       ` Zheng, Lv
2015-05-23  0:02       ` Hanjun Guo [this message]
2015-05-23  0:02         ` Hanjun Guo
2015-05-21  2:31 ` [PATCH 13/19] ACPICA: ACPI 6.0: Add ACPI_SUB_PTR() Lv Zheng
2015-05-21  2:31   ` Lv Zheng
2015-05-21  2:31 ` [PATCH 14/19] ACPICA: ACPI 6.0: Add support for IORT table Lv Zheng
2015-05-21  2:31   ` Lv Zheng
2015-05-21  2:31 ` [PATCH 15/19] ACPICA: ACPI 6.0: Add changes for DRTM table Lv Zheng
2015-05-21  2:31   ` Lv Zheng
2015-05-21  2:31 ` [PATCH 16/19] ACPICA: iASL/disassembler - fix possible fault for -e option Lv Zheng
2015-05-21  2:31   ` Lv Zheng
2015-05-21  2:31 ` [PATCH 17/19] ACPICA: acpi_help: Add option to display all known/supported ACPI tables Lv Zheng
2015-05-21  2:31   ` Lv Zheng
2015-05-21  2:31 ` [PATCH 18/19] ACPICA: ACPI 6.0: Add support for NFIT table Lv Zheng
2015-05-21  2:31   ` Lv Zheng
2015-05-22 15:17   ` Linda Knippers
2015-05-22 15:28     ` Moore, Robert
2015-05-22 21:53       ` Rafael J. Wysocki
2015-05-22 21:36         ` Moore, Robert
2015-05-22 21:36           ` Moore, Robert
2015-05-22 22:06           ` Rafael J. Wysocki
2015-05-22 16:12     ` Moore, Robert
2015-05-21  2:32 ` [PATCH 19/19] ACPICA: Update version to 20150515 Lv Zheng
2015-05-21  2:32   ` Lv Zheng
2015-05-22  2:06 ` [PATCH 00/19] ACPICA: 20150515 Release Rafael J. Wysocki
2015-05-25  0:15 ` [PATCH 1/2] ACPICA: acpihelp: Update for new NFIT table GUIDs Lv Zheng
2015-05-25  0:15   ` Lv Zheng
2015-05-26  0:21   ` Rafael J. Wysocki
2015-05-25  0:15 ` [PATCH 2/2] ACPICA: Fix for ill-formed GUID strings for NFIT tables Lv Zheng
2015-05-25  0:15   ` Lv Zheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=555FC3AC.1090108@linaro.org \
    --to=hanjun.guo@linaro.org \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lv.zheng@intel.com \
    --cc=rafael.j.wysocki@intel.com \
    --cc=robert.moore@intel.com \
    --cc=zetalog@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.