Skip to content

Commit

Permalink
Merge tag 'for-linus-5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/li…
Browse files Browse the repository at this point in the history
…nux/kernel/git/rw/uml

Pull UML updates from Richard Weinberger:

 - Kconfig cleanups

 - Fix cpu_all_mask() usage

 - Various bug fixes

* tag 'for-linus-5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/rw/uml:
  um: irq: don't set the chip for all irqs
  um: define set_pte_at() as a static inline function, not a macro
  um: remove uses of variable length arrays
  um: remove unused variable
  uml: fix a boot splat wrt use of cpu_all_mask
  um: Do not unlock mutex that is not hold.
  hostfs: fix mismatch between link_file definition and declaration
  arch: um: drivers: Kconfig: pedantic formatting
  arch: um: Kconfig: pedantic indention cleanups
  um: Revert to using stack for pt_regs in signal handling
  • Loading branch information
torvalds committed May 12, 2019
2 parents 4778236 + 1987b1b commit 983dfa4
Show file tree
Hide file tree
Showing 10 changed files with 253 additions and 239 deletions.
58 changes: 31 additions & 27 deletions arch/um/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -80,46 +80,46 @@ config LD_SCRIPT_DYN
bool
default y
depends on !LD_SCRIPT_STATIC
select MODULE_REL_CRCS if MODVERSIONS
select MODULE_REL_CRCS if MODVERSIONS

config HOSTFS
tristate "Host filesystem"
help
While the User-Mode Linux port uses its own root file system for
booting and normal file access, this module lets the UML user
access files stored on the host. It does not require any
network connection between the Host and UML. An example use of
this might be:
While the User-Mode Linux port uses its own root file system for
booting and normal file access, this module lets the UML user
access files stored on the host. It does not require any
network connection between the Host and UML. An example use of
this might be:

mount none /tmp/fromhost -t hostfs -o /tmp/umlshare
mount none /tmp/fromhost -t hostfs -o /tmp/umlshare

where /tmp/fromhost is an empty directory inside UML and
/tmp/umlshare is a directory on the host with files the UML user
wishes to access.
where /tmp/fromhost is an empty directory inside UML and
/tmp/umlshare is a directory on the host with files the UML user
wishes to access.

For more information, see
<http://user-mode-linux.sourceforge.net/hostfs.html>.
For more information, see
<http://user-mode-linux.sourceforge.net/hostfs.html>.

If you'd like to be able to work with files stored on the host,
say Y or M here; otherwise say N.
If you'd like to be able to work with files stored on the host,
say Y or M here; otherwise say N.

config MCONSOLE
bool "Management console"
depends on PROC_FS
default y
help
The user mode linux management console is a low-level interface to
the kernel, somewhat like the i386 SysRq interface. Since there is
a full-blown operating system running under every user mode linux
instance, there is much greater flexibility possible than with the
SysRq mechanism.
The user mode linux management console is a low-level interface to
the kernel, somewhat like the i386 SysRq interface. Since there is
a full-blown operating system running under every user mode linux
instance, there is much greater flexibility possible than with the
SysRq mechanism.

If you answer 'Y' to this option, to use this feature, you need the
mconsole client (called uml_mconsole) which is present in CVS in
2.4.5-9um and later (path /tools/mconsole), and is also in the
distribution RPM package in 2.4.6 and later.
If you answer 'Y' to this option, to use this feature, you need the
mconsole client (called uml_mconsole) which is present in CVS in
2.4.5-9um and later (path /tools/mconsole), and is also in the
distribution RPM package in 2.4.6 and later.

It is safe to say 'Y' here.
It is safe to say 'Y' here.

config MAGIC_SYSRQ
bool "Magic SysRq key"
Expand All @@ -142,13 +142,17 @@ config MAGIC_SYSRQ

config KERNEL_STACK_ORDER
int "Kernel stack size order"
default 1 if 64BIT
range 1 10 if 64BIT
default 0 if !64BIT
default 2 if 64BIT
range 2 10 if 64BIT
default 1 if !64BIT
help
This option determines the size of UML kernel stacks. They will
be 1 << order pages. The default is OK unless you're running Valgrind
on UML, in which case, set this to 3.
It is possible to reduce the stack to 1 for 64BIT and 0 for 32BIT on
older (pre-2017) CPUs. It is not recommended on newer CPUs due to the
increase in the size of the state which needs to be saved when handling
signals.

config MMAPPER
tristate "iomem emulation driver"
Expand Down
Loading

0 comments on commit 983dfa4

Please sign in to comment.