The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Anup Patel 5cf998ba8c
RISC-V: self-contained IPI handling routine
Currently, the IPI handling routine riscv_software_interrupt() does
not take any argument and also does not perform irq_enter()/irq_exit().

This patch makes IPI handling routine more self-contained by:
1. Passing "pt_regs *" argument
2. Explicitly doing irq_enter()/irq_exit()
3. Explicitly save/restore "pt_regs *" using set_irq_regs()

With above changes, IPI handling routine does not depend on caller
function to perform irq_enter()/irq_exit() and save/restore of
"pt_regs *" hence its more self-contained. This also enables us
to call IPI handling routine from IRQCHIP drivers.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2020-06-09 19:11:19 -07:00
Documentation Devicetree updates for v5.8: 2020-06-04 20:11:25 -07:00
LICENSES
arch RISC-V: self-contained IPI handling routine 2020-06-09 19:11:19 -07:00
block for-5.8/drivers-2020-06-01 2020-06-02 15:37:03 -07:00
certs
crypto
drivers Misc changes: 2020-06-05 11:18:53 -07:00
fs Merge branch 'akpm' (patches from Andrew) 2020-06-04 19:18:29 -07:00
include Devicetree updates for v5.8: 2020-06-04 20:11:25 -07:00
init Kconfig: add config option for asm goto w/ outputs 2020-06-04 19:28:07 -07:00
ipc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-06-03 16:27:18 -07:00
kernel Modules updates for v5.8 2020-06-05 12:31:16 -07:00
lib ARM/SoC: drivers for v5.7 2020-06-04 19:56:20 -07:00
mm Merge branch 'akpm' (patches from Andrew) 2020-06-04 19:18:29 -07:00
net Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2020-06-04 13:54:34 -07:00
samples Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-06-03 16:27:18 -07:00
scripts Devicetree updates for v5.8: 2020-06-04 20:11:25 -07:00
security Merge branch 'akpm' (patches from Andrew) 2020-06-04 19:18:29 -07:00
sound sound updates for 5.8-rc1 2020-06-04 11:07:38 -07:00
tools Merge branch 'akpm' (patches from Andrew) 2020-06-04 19:18:29 -07:00
usr
virt A fair amount of stuff this time around, dominated by yet another massive 2020-06-01 15:45:27 -07:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap A fair amount of stuff this time around, dominated by yet another massive 2020-06-01 15:45:27 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Devicetree updates for v5.8: 2020-06-04 20:11:25 -07:00
Makefile arm64 updates for 5.8 2020-06-01 15:18:27 -07:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.