irqchip/loongson-eiointc: Add virt extension supportInterrupts can be routed to maximal four virtual CPUs with real HWEIOINTC interrupt controller model, since interrupt routing is encodedwith CP
irqchip/loongson-eiointc: Add virt extension supportInterrupts can be routed to maximal four virtual CPUs with real HWEIOINTC interrupt controller model, since interrupt routing is encodedwith CPU bitmap and EIOINTC node combined method. Here add the EIOINTCvirt extension support so that interrupts can be routed to 256 vCPUs invirtual machine mode. CPU bitmap is replaced with normal encoding andEIOINTC node type is removed, so there are 8 bits for cpu selection, atmost 256 vCPUs are supported for interrupt routing.Reviewed-by: Thomas Gleixner <tglx@linutronix.de>Co-developed-by: Song Gao <gaosong@loongson.cn>Signed-off-by: Song Gao <gaosong@loongson.cn>Signed-off-by: Bibo Mao <maobibo@loongson.cn>Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
show more ...
Docs/LoongArch: Add advanced extended IRQ model descriptionIntroduce the advanced extended interrupt controllers (AVECINTC). Thisfeature will allow each core to have 256 independent interrupt vect
Docs/LoongArch: Add advanced extended IRQ model descriptionIntroduce the advanced extended interrupt controllers (AVECINTC). Thisfeature will allow each core to have 256 independent interrupt vectorsand MSI interrupts can be independently routed to any vector on any CPU.The whole topology of irqchips in LoongArch machines looks like this ifAVECINTC is supported: +-----+ +-----------------------+ +-------+ | IPI | --> | CPUINTC | <-- | Timer | +-----+ +-----------------------+ +-------+ ^ ^ ^ | | | +---------+ +----------+ +---------+ +-------+ | EIOINTC | | AVECINTC | | LIOINTC | <-- | UARTs | +---------+ +----------+ +---------+ +-------+ ^ ^ | | +---------+ +---------+ | PCH-PIC | | PCH-MSI | +---------+ +---------+ ^ ^ ^ | | | +---------+ +---------+ +---------+ | Devices | | PCH-LPC | | Devices | +---------+ +---------+ +---------+ ^ | +---------+ | Devices | +---------+Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>Signed-off-by: Tianyang Zhang <zhangtianyang@loongson.cn>
Merge tag 'docs-6.8-2' of git://git.lwn.net/linuxPull documentation fixes from Jonathan Corbet: "A handful of late-arriving documentation fixes"* tag 'docs-6.8-2' of git://git.lwn.net/linux: d
Merge tag 'docs-6.8-2' of git://git.lwn.net/linuxPull documentation fixes from Jonathan Corbet: "A handful of late-arriving documentation fixes"* tag 'docs-6.8-2' of git://git.lwn.net/linux: docs, kprobes: Add loongarch as supported architecture docs, kprobes: Update email address of Masami Hiramatsu docs: admin-guide: hw_random: update rng-tools website Documentation/core-api: fix spelling mistake in workqueue docs: kernel_feat.py: fix potential command injection Documentation: constrain alabaster package to older versions
docs: kernel_feat.py: fix potential command injectionThe kernel-feat directive passes its argument straight to the shell.This is unfortunate and unnecessary.Let's always use paths relative to $s
docs: kernel_feat.py: fix potential command injectionThe kernel-feat directive passes its argument straight to the shell.This is unfortunate and unnecessary.Let's always use paths relative to $srctree/Documentation/ and usesubprocess.check_call() instead of subprocess.Popen(shell=True).This also makes the code shorter.This is analogous to commit 3231dd586277 ("docs: kernel_abi.py: fixcommand injection") where we did exactly the same thing forkernel_abi.py, somehow I completely missed this one.Link: https://fosstodon.org/@jani/111676532203641247Reported-by: Jani Nikula <jani.nikula@intel.com>Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>Cc: stable@vger.kernel.orgSigned-off-by: Jonathan Corbet <corbet@lwn.net>Link: https://lore.kernel.org/r/20240110174758.3680506-1-vegard.nossum@oracle.com
Docs/zh_CN/LoongArch: Update links in LoongArch introduction.rstLoongArch-Vol1 has been updated to v1.10, the links in the documentationare out of date, let's update it.Signed-off-by: Yanteng Si
Docs/zh_CN/LoongArch: Update links in LoongArch introduction.rstLoongArch-Vol1 has been updated to v1.10, the links in the documentationare out of date, let's update it.Signed-off-by: Yanteng Si <siyanteng@loongson.cn>Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
docs/zh_CN/LoongArch: Update the links of ABIThe current links of ABI can not be found for some time, let us fixthe broken links.By the way, the latest and official ABI documentation releases ar
docs/zh_CN/LoongArch: Update the links of ABIThe current links of ABI can not be found for some time, let us fixthe broken links.By the way, the latest and official ABI documentation releases areavailable at https://github.com/loongson/la-abi-specs, but there areno Chinese and pdf versions for now, so just do the minimal changesto update the links so that they can be found, hope there are stablelinks in the future.Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
docs: move loongarch under archand fix all in-tree references.Architecture-specific documentation is being moved into Documentation/arch/as a way of cleaning up the top-level documentation direc
docs: move loongarch under archand fix all in-tree references.Architecture-specific documentation is being moved into Documentation/arch/as a way of cleaning up the top-level documentation directory and makingthe docs hierarchy more closely match the source hierarchy.Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>Acked-by: Huacai Chen <chenhuacai@loongson.cn>Reviewed-by: Yanteng Si <siyanteng@loongson.cn>Signed-off-by: Jonathan Corbet <corbet@lwn.net>Link: https://lore.kernel.org/r/20230717192456.453124-1-costa.shul@redhat.com