All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 1/2] ACPICA/IORT: Correct the comment for id_count
@ 2019-12-23  9:23 ` Hanjun Guo
  0 siblings, 0 replies; 16+ messages in thread
From: Hanjun Guo @ 2019-12-23  9:23 UTC (permalink / raw)
  To: Lorenzo Pieralisi, Sudeep Holla, Rafael J. Wysocki,
	Pankaj Bansal, Erik Schmauss
  Cc: linux-acpi, linux-arm-kernel, linuxarm, Hanjun Guo

In IORT spec
(http://infocenter.arm.com/help/topic/com.arm.doc.den0049d/DEN0049D_IO_Remapping_Table.pdf),
id_num means Number of IDs minus one, update the comment.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
---

This patch just for comments, needs to be upstream in ACPICA first.

 include/acpi/actbl2.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index e45ced2..382642f 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -104,7 +104,7 @@ enum acpi_iort_node_type {
 
 struct acpi_iort_id_mapping {
 	u32 input_base;		/* Lowest value in input range */
-	u32 id_count;		/* Number of IDs */
+	u32 id_count;		/* Number of IDs in the range minus one */
 	u32 output_base;	/* Lowest value in output range */
 	u32 output_reference;	/* A reference to the output node */
 	u32 flags;
-- 
1.7.12.4


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-01-03 10:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-23  9:23 [RFC PATCH 1/2] ACPICA/IORT: Correct the comment for id_count Hanjun Guo
2019-12-23  9:23 ` Hanjun Guo
2019-12-23  9:23 ` [RFC PATCH 2/2] ACPI/IORT: Workaround for IORT ID count "minus one" issue Hanjun Guo
2019-12-23  9:23   ` Hanjun Guo
2019-12-23 12:17   ` Pankaj Bansal
2019-12-23 12:17     ` Pankaj Bansal
2019-12-24  1:08     ` Hanjun Guo
2019-12-24  1:08       ` Hanjun Guo
2020-01-02 10:20   ` Shameerali Kolothum Thodi
2020-01-02 10:20     ` Shameerali Kolothum Thodi
2020-01-03 10:14     ` Hanjun Guo
2020-01-03 10:14       ` Hanjun Guo
2019-12-23 10:35 ` [RFC PATCH 1/2] ACPICA/IORT: Correct the comment for id_count John Garry
2019-12-23 10:35   ` John Garry
2019-12-24  1:10   ` Hanjun Guo
2019-12-24  1:10     ` Hanjun Guo

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.