diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2026-01-13 16:59:38 +0800 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-01-18 14:39:17 +0100 |
| commit | 4093b0e55b39422bbdae108a1be06292714a994d (patch) | |
| tree | f5fafe8edc7779d919a4cc8f12fe62ca7b980fa6 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 04f1f17d28ce24a7b40039c8d8ee053a777661a7 (diff) | |
irqchip/loongson-pch-msi: Adjust irqchip driver for 32BIT/64BIT
irq_domain_alloc_fwnode() takes a parameter with the phys_addr_t type.
Currently the code passe acpi_pchmsi->msg_address to it.
This can only work on 64BIT platform because its type is u64, so cast it to
phys_addr_t and then the driver works on both 32BIT and 64BIT platform.
[ tglx: Make the cast explicit and fixup coding style. ]
Co-developed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260113085940.3344837-6-chenhuacai@loongson.cn
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
