public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: "Rafael J. Wysocki" <rjw@rjwysocki•net>,
	Huacai Chen <chenhuacai@loongson•cn>
Cc: Bob Moore <robert.moore@intel•com>,
	Huacai Chen <chenhuacai@kernel•org>,
	Jianmin Lv <lvjianmin@loongson•cn>,
	Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
	Linux Next Mailing List <linux-next@vger•kernel.org>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel•com>
Subject: linux-next: manual merge of the pm tree with the loongarch tree
Date: Thu, 19 May 2022 10:54:48 +1000	[thread overview]
Message-ID: <20220519105448.74a4447e@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 4571 bytes --]

Hi all,

Today's linux-next merge of the pm tree got a conflict in:

  include/acpi/actbl2.h

between commit:

  cb41f313b29e ("ACPICA: MADT: Add LoongArch APICs support")

from the loongarch tree and commit:

  da6a9bbedc79 ("ACPICA: iASL/MADT: Add OEM-defined subtable")

from the pm tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc include/acpi/actbl2.h
index 2419f9e397e2,655102bc6d14..000000000000
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@@ -762,14 -865,8 +865,15 @@@ enum acpi_madt_type 
  	ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR = 14,
  	ACPI_MADT_TYPE_GENERIC_TRANSLATOR = 15,
  	ACPI_MADT_TYPE_MULTIPROC_WAKEUP = 16,
 -	ACPI_MADT_TYPE_RESERVED = 17,	/* 17 to 0x7F are reserved */
 +	ACPI_MADT_TYPE_CORE_PIC = 17,
 +	ACPI_MADT_TYPE_LIO_PIC = 18,
 +	ACPI_MADT_TYPE_HT_PIC = 19,
 +	ACPI_MADT_TYPE_EIO_PIC = 20,
 +	ACPI_MADT_TYPE_MSI_PIC = 21,
 +	ACPI_MADT_TYPE_BIO_PIC = 22,
 +	ACPI_MADT_TYPE_LPC_PIC = 23,
- 	ACPI_MADT_TYPE_RESERVED = 24	/* 24 and greater are reserved */
++	ACPI_MADT_TYPE_RESERVED = 24	/* 24 to 0x7F are reserved */
+ 	ACPI_MADT_TYPE_OEM_RESERVED = 0x80	/* 0x80 to 0xFF are reserved for OEM use */
  };
  
  /*
@@@ -999,120 -1096,10 +1103,125 @@@ struct acpi_madt_multiproc_wakeup_mailb
  
  #define ACPI_MP_WAKE_COMMAND_WAKEUP    1
  
 +/* Values for Version field above */
 +
 +enum acpi_madt_core_pic_version {
 +	ACPI_MADT_CORE_PIC_VERSION_NONE = 0,
 +	ACPI_MADT_CORE_PIC_VERSION_V1 = 1,
 +	ACPI_MADT_CORE_PIC_VERSION_RESERVED = 2	/* 2 and greater are reserved */
 +};
 +
 +enum acpi_madt_lio_pic_version {
 +	ACPI_MADT_LIO_PIC_VERSION_NONE = 0,
 +	ACPI_MADT_LIO_PIC_VERSION_V1 = 1,
 +	ACPI_MADT_LIO_PIC_VERSION_RESERVED = 2	/* 2 and greater are reserved */
 +};
 +
 +enum acpi_madt_eio_pic_version {
 +	ACPI_MADT_EIO_PIC_VERSION_NONE = 0,
 +	ACPI_MADT_EIO_PIC_VERSION_V1 = 1,
 +	ACPI_MADT_EIO_PIC_VERSION_RESERVED = 2	/* 2 and greater are reserved */
 +};
 +
 +enum acpi_madt_ht_pic_version {
 +	ACPI_MADT_HT_PIC_VERSION_NONE = 0,
 +	ACPI_MADT_HT_PIC_VERSION_V1 = 1,
 +	ACPI_MADT_HT_PIC_VERSION_RESERVED = 2	/* 2 and greater are reserved */
 +};
 +
 +enum acpi_madt_bio_pic_version {
 +	ACPI_MADT_BIO_PIC_VERSION_NONE = 0,
 +	ACPI_MADT_BIO_PIC_VERSION_V1 = 1,
 +	ACPI_MADT_BIO_PIC_VERSION_RESERVED = 2	/* 2 and greater are reserved */
 +};
 +
 +enum acpi_madt_msi_pic_version {
 +	ACPI_MADT_MSI_PIC_VERSION_NONE = 0,
 +	ACPI_MADT_MSI_PIC_VERSION_V1 = 1,
 +	ACPI_MADT_MSI_PIC_VERSION_RESERVED = 2	/* 2 and greater are reserved */
 +};
 +
 +enum acpi_madt_lpc_pic_version {
 +	ACPI_MADT_LPC_PIC_VERSION_NONE = 0,
 +	ACPI_MADT_LPC_PIC_VERSION_V1 = 1,
 +	ACPI_MADT_LPC_PIC_VERSION_RESERVED = 2	/* 2 and greater are reserved */
 +};
 +
 +/* Core Interrupt Controller */
 +
 +struct acpi_madt_core_pic {
 +	struct acpi_subtable_header header;
 +	u8 version;
 +	u32 processor_id;
 +	u32 core_id;
 +	u32 flags;
 +};
 +
 +/* Legacy I/O Interrupt Controller */
 +
 +struct acpi_madt_lio_pic {
 +	struct acpi_subtable_header header;
 +	u8 version;
 +	u64 address;
 +	u16 size;
 +	u8 cascade[2];
 +	u32 cascade_map[2];
 +};
 +
 +/* Extend I/O Interrupt Controller */
 +
 +struct acpi_madt_eio_pic {
 +	struct acpi_subtable_header header;
 +	u8 version;
 +	u8 cascade;
 +	u8 node;
 +	u64 node_map;
 +};
 +
 +/* HT Interrupt Controller */
 +
 +struct acpi_madt_ht_pic {
 +	struct acpi_subtable_header header;
 +	u8 version;
 +	u64 address;
 +	u16 size;
 +	u8 cascade[8];
 +};
 +
 +/* Bridge I/O Interrupt Controller */
 +
 +struct acpi_madt_bio_pic {
 +	struct acpi_subtable_header header;
 +	u8 version;
 +	u64 address;
 +	u16 size;
 +	u16 id;
 +	u16 gsi_base;
 +};
 +
 +/* MSI Interrupt Controller */
 +
 +struct acpi_madt_msi_pic {
 +	struct acpi_subtable_header header;
 +	u8 version;
 +	u64 msg_address;
 +	u32 start;
 +	u32 count;
 +};
 +
 +/* LPC Interrupt Controller */
 +
 +struct acpi_madt_lpc_pic {
 +	struct acpi_subtable_header header;
 +	u8 version;
 +	u64 address;
 +	u16 size;
 +	u8 cascade;
++
+ /* 17: OEM data */
+ 
+ struct acpi_madt_oem_data {
+ 	u8 oem_data[0];
  };
  
  /*

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2022-05-19  0:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19  0:54 Stephen Rothwell [this message]
2022-05-19  1:00 ` linux-next: manual merge of the pm tree with the loongarch tree Stephen Rothwell
2022-05-19  1:04   ` Stephen Rothwell
2022-05-19  1:15     ` Huacai Chen

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=20220519105448.74a4447e@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=chenhuacai@kernel$(echo .)org \
    --cc=chenhuacai@loongson$(echo .)cn \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=lvjianmin@loongson$(echo .)cn \
    --cc=rafael.j.wysocki@intel$(echo .)com \
    --cc=rjw@rjwysocki$(echo .)net \
    --cc=robert.moore@intel$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox