From: "Yang, Shunyong" <shunyong.yang@hxt-semitech.com>
To: "rjw@rjwysocki.net" <rjw@rjwysocki.net>
Cc: "lenb@kernel.org" <lenb@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Zheng, Joey" <yu.zheng@hxt-semitech.com>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
"Jiang, Yutang2" <yutang2.jiang@hxt-semitech.com>
Subject: Re: [PATCH v2] ACPI / tables: Add IORT to injectable table list
Date: Tue, 30 Jan 2018 01:44:32 +0000 [thread overview]
Message-ID: <1517276662.2652.12.camel@hxt-semitech.com> (raw)
In-Reply-To: <1516695922-15045-1-git-send-email-shunyong.yang@hxt-semitech.com>
Hi, Rafael
Could you please help to review this patch? This is a small change to
add ACPI_SIG_IORT to table_sigs[].
Loading IORT table from initrd is very useful to debug SMMU node/device
probe, MSI allocation, stream id translation and verifying IORT table
from firmware. So, I add this.
Thanks
Shunyong.
On Tue, 2018-01-23 at 16:25 +0800, Yang Shunyong wrote:
> This patch adds ACPI_SIG_IORT to the table, which enables IORT from
> initrd to override which from firmware.
>
> Signed-off-by: Yang Shunyong <shunyong.yang@hxt-semitech.com>
> Cc: yutang2.jiang@hxt-semitech.com
> Cc: yu.zheng@hxt-semitech.com
> ---
>
> v2: change typo ACPI_SIG_PPTT to ACPI_SIG_IORT in commit message.
>
> ---
> drivers/acpi/tables.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
> index 80ce2a7d224b..7bcb66ccccf3 100644
> --- a/drivers/acpi/tables.c
> +++ b/drivers/acpi/tables.c
> @@ -456,7 +456,8 @@ static u8 __init acpi_table_checksum(u8 *buffer,
> u32 length)
> ACPI_SIG_SLIC, ACPI_SIG_SPCR, ACPI_SIG_SPMI, ACPI_SIG_TCPA,
> ACPI_SIG_UEFI, ACPI_SIG_WAET, ACPI_SIG_WDAT, ACPI_SIG_WDDT,
> ACPI_SIG_WDRT, ACPI_SIG_DSDT, ACPI_SIG_FADT, ACPI_SIG_PSDT,
> - ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT, NULL };
> + ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT, ACPI_SIG_IORT,
> + NULL };
>
> #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)
>
next prev parent reply other threads:[~2018-01-30 1:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-23 8:25 Yang Shunyong
2018-01-30 1:44 ` Yang, Shunyong [this message]
2018-01-31 13:32 ` Hanjun Guo
2018-02-02 7:18 ` Yang, Shunyong
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=1517276662.2652.12.camel@hxt-semitech.com \
--to=shunyong.yang@hxt-semitech.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=yu.zheng@hxt-semitech.com \
--cc=yutang2.jiang@hxt-semitech.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®