Skip to contentSkip to conversation

acpi: cpuhp: document CPHP_GET_CPU_ID_CMD command

PATCH In review Igor Mammedov 3 participants 4 messages Jan 29, 2020 – Feb 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acpi: cpuhp: document CPHP_GET_CPU_ID_CMD command

Commit 3a61c8db9d25 introduced CPHP_GET_CPU_ID_CMD command but did not sufficiently describe it. Fix it by adding missing command documentation.

Fixes 3a61c8db9d25 ("acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command")
---
 docs/specs/acpi_cpu_hotplug.txt | 2 ++
 1 file changed, 2 insertions(+)
docs/specs/acpi_cpu_hotplug.txt +2 -0
index a8ce5e7..9bb22d1 100644
@@ -94,6 +94,8 @@ write access:
                register in QEMU
             2: following writes to 'Command data' register set OST status
                register in QEMU
+            3: following reads from 'Command data' and 'Command data 2' return
+               architecture specific CPU ID value for currently selected CPU.
             other values: reserved
     [0x6-0x7] reserved
     [0x8] Command data: (DWORD access)
Signature · 1 line
2.7.4
#1 lore raw
Quoted 17 lines · Igor Mammedov

Commit 3a61c8db9d25 introduced CPHP_GET_CPU_ID_CMD command but did not sufficiently describe it. Fix it by adding missing command documentation.

Fixes 3a61c8db9d25 ("acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command")
---
 docs/specs/acpi_cpu_hotplug.txt | 2 ++
 1 file changed, 2 insertions(+)
docs/specs/acpi_cpu_hotplug.txt +0 -0
index a8ce5e7..9bb22d1 100644

docs/specs/acpi_cpu_hotplug.txt write access: · line 101

Quoted 8 lines
docs/specs/acpi_cpu_hotplug.txt +2 -0
@@ -94,6 +94,8 @@ write access:
                register in QEMU
             2: following writes to 'Command data' register set OST status
                register in QEMU
+            3: following reads from 'Command data' and 'Command data 2' return
+               architecture specific CPU ID value for currently selected CPU.
             other values: reserved
     [0x6-0x7] reserved
     [0x8] Command data: (DWORD access)

Thanks!

#2 lore raw
In reply to Igor Mammedov

Michael,

Quoted 17 lines · Igor Mammedov

Commit 3a61c8db9d25 introduced CPHP_GET_CPU_ID_CMD command but did not sufficiently describe it. Fix it by adding missing command documentation.

Fixes 3a61c8db9d25 ("acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command")
---
 docs/specs/acpi_cpu_hotplug.txt | 2 ++
 1 file changed, 2 insertions(+)
docs/specs/acpi_cpu_hotplug.txt +0 -0
index a8ce5e7..9bb22d1 100644

docs/specs/acpi_cpu_hotplug.txt write access: · line 101

Quoted 8 lines
docs/specs/acpi_cpu_hotplug.txt +2 -0
@@ -94,6 +94,8 @@ write access:
                register in QEMU
             2: following writes to 'Command data' register set OST status
                register in QEMU
+            3: following reads from 'Command data' and 'Command data 2' return
+               architecture specific CPU ID value for currently selected CPU.
             other values: reserved
     [0x6-0x7] reserved
     [0x8] Command data: (DWORD access)

can you please merge this?

It's a docs patch, but 3a61c8db9d25 (noted in "Fixes:") had gone in through your tree.

Thank you!
Laszlo

#3 lore raw
Quoted 31 lines · Laszlo Ersek

Michael,

Quoted 17 lines · Igor Mammedov

Commit 3a61c8db9d25 introduced CPHP_GET_CPU_ID_CMD command but did not sufficiently describe it. Fix it by adding missing command documentation.

Fixes 3a61c8db9d25 ("acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command")
---
 docs/specs/acpi_cpu_hotplug.txt | 2 ++
 1 file changed, 2 insertions(+)
docs/specs/acpi_cpu_hotplug.txt +0 -0
index a8ce5e7..9bb22d1 100644

docs/specs/acpi_cpu_hotplug.txt write access: · line 101

Quoted 8 lines
docs/specs/acpi_cpu_hotplug.txt +2 -0
@@ -94,6 +94,8 @@ write access:
                register in QEMU
             2: following writes to 'Command data' register set OST status
                register in QEMU
+            3: following reads from 'Command data' and 'Command data 2' return
+               architecture specific CPU ID value for currently selected CPU.
             other values: reserved
     [0x6-0x7] reserved
     [0x8] Command data: (DWORD access)

can you please merge this?

Quoted 5 lines

It's a docs patch, but 3a61c8db9d25 (noted in "Fixes:") had gone in through your tree.

Thank you!
Laszlo

Will do, thanks!