Re: [PATCH v2 00/11] LSM documentation update

2019-02-27 Thread Denis Efremov
The rest of the warnings are about undocumented hooks. This patchset fixes the existing documentation. I will try to document the hooks from warnings in a separate patch. Some of the hooks are trivial enough, but others require me digging into the code and mailing lists. Can't promise to do it quic

Re: [PATCH v2 00/11] LSM documentation update

2019-02-27 Thread Kees Cook
On Wed, Feb 27, 2019 at 7:10 AM Denis Efremov wrote: > The rest of the warnings are about undocumented hooks. This patchset > fixes the existing documentation. I will try to document the hooks from > warnings in a separate patch. Some of the hooks are trivial enough, but > others require me diggin

[PATCH v3 2/2] Add selftests for module build using in-kernel headers

2019-02-27 Thread Joel Fernandes (Google)
This test tries to build a module successfully using the in-kernel headers found in /proc/kheaders.tar.xz. Verified pass and fail scenarios by running: make -C tools/testing/selftests TARGETS=kheaders run_tests Signed-off-by: Joel Fernandes (Google) --- tools/testing/selftests/Makefile

[PATCH v3 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-02-27 Thread Joel Fernandes (Google)
Introduce in-kernel headers and other artifacts which are made available as an archive through proc (/proc/kheaders.tar.xz file). This archive makes it possible to build kernel modules, run eBPF programs, and other tracing programs that need to extend the kernel for tracing purposes without any dep

[PATCH 0/2] doc: net: ieee802154: move from plain text to rst

2019-02-27 Thread Stefan Schmidt
Hello. The ieee802154 subsystem doc was still in plain text. With the networking book taking shape I thought it was time to do the first step and move it over to rst. This really is only the minimal conversion. I need to take some time to update and extend the docs. The patches are based on net-n

[PATCH 1/2] doc: net: ieee802154: introduce IEEE 802.15.4 subsystem doc in rst style

2019-02-27 Thread Stefan Schmidt
Moving the ieee802154 docs from a plain text file into the new rst style. This commit only does the minimal needed change to bring the documentation over. Follow up patches will improve and extend on this. Signed-off-by: Stefan Schmidt --- Documentation/networking/ieee802154.rst | 180 ++

[PATCH 2/2] doc: net: ieee802154: remove old plain text docs after switching to rst

2019-02-27 Thread Stefan Schmidt
The plain text docs are converted to rst now, which allows us to remove the old text file from the tree. Signed-off-by: Stefan Schmidt --- Documentation/networking/ieee802154.txt | 177 1 file changed, 177 deletions(-) delete mode 100644 Documentation/networking/ieee802

Re: [PATCH 0/2] doc: net: ieee802154: move from plain text to rst

2019-02-27 Thread Jonathan Corbet
On Wed, 27 Feb 2019 20:59:12 +0100 Stefan Schmidt wrote: > The patches are based on net-next, but they only touch the networking book so > I > would not expect and trouble. From what I have seen they would go through > Jonathan's tree after being acked by Dave? If you want this patches against a

Re: [PATCH 0/2] doc: net: ieee802154: move from plain text to rst

2019-02-27 Thread Stefan Schmidt
Hello Jon. On 27.02.19 21:18, Jonathan Corbet wrote: > On Wed, 27 Feb 2019 20:59:12 +0100 > Stefan Schmidt wrote: > >> The patches are based on net-next, but they only touch the networking book >> so I >> would not expect and trouble. From what I have seen they would go through >> Jonathan's tr

Re: [PATCH 1/2] doc: net: ieee802154: introduce IEEE 802.15.4 subsystem doc in rst style

2019-02-27 Thread Randy Dunlap
On 2/27/19 11:59 AM, Stefan Schmidt wrote: > Moving the ieee802154 docs from a plain text file into the new rst > style. This commit only does the minimal needed change to bring the > documentation over. Follow up patches will improve and extend on this. > > Signed-off-by: Stefan Schmidt > --- >

Re: [PATCH] x86/fpu: Parse comma separated list passed in clearcpuid

2019-02-27 Thread Prarit Bhargava
On 2/21/19 8:48 AM, Peter Zijlstra wrote: > On Thu, Feb 21, 2019 at 08:12:25AM -0500, Prarit Bhargava wrote: >> Users cannot disable multiple CPU features with the kernel parameter >> clearcpuid=. For example, "clearcpuid=154 clearcpuid=227" only disables >> CPUID bit 154. >> >> Previous to com

Re: [PATCH v8 05/26] clocksource: Add driver for the Ingenic JZ47xx OST

2019-02-27 Thread Paul Cercueil
Hi, Le lun. 25 févr. 2019 à 15:05, Stephen Boyd a écrit : Quoting Paul Cercueil (2019-02-22 19:17:25) Hi, Anything new on this? It still happens on 5.0-rc7. It probes with late_initcall, and not with device_initcall. I have no clue what's going on. I'm not sure what's going on either.

Re: [PATCH v3 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-02-27 Thread Masahiro Yamada
Hi Joel, On Thu, Feb 28, 2019 at 4:40 AM Joel Fernandes (Google) wrote: > > Introduce in-kernel headers and other artifacts which are made available > as an archive through proc (/proc/kheaders.tar.xz file). This archive makes > it possible to build kernel modules, run eBPF programs, and other >

Re: [RFC v9 5/5] Documentation: pstore/blk: create document for pstore_blk

2019-02-27 Thread Randy Dunlap
On 2/19/19 3:52 AM, liaoweixiong wrote: > The document, at Documentation/admin-guide/pstore-block.rst, > tells user how to use pstore_blk and the attentions about panic > read/write > > Signed-off-by: liaoweixiong > --- > Documentation/admin-guide/pstore-block.rst | 233 > ++

Re: [RFC v9 5/5] Documentation: pstore/blk: create document for pstore_blk

2019-02-27 Thread liaoweixiong
Thank you for your correction. I will update the patch in the 12th version. On 2019/02/28 13:15, Randy Dunlap wrote: > On 2/19/19 3:52 AM, liaoweixiong wrote: >> The document, at Documentation/admin-guide/pstore-block.rst, >> tells user how to use pstore_blk and the attentions about panic >> read/

[PATCH v12 1/4] pstore/blk: new support logger for block devices

2019-02-27 Thread liaoweixiong
pstore_blk is similar to pstore_ram, but dump log to block devices rather than persistent ram. Why should we need pstore_blk? 1. Most embedded intelligent equipment have no persistent ram, which increases costs. We perfer to cheaper solutions, like block devices. In fact, there is already a sample

[PATCH v12 0/4] pstore/block: new support logger for block devices

2019-02-27 Thread liaoweixiong
Why should we need pstore_block? 1. Most embedded intelligent equipment have no persistent ram, which increases costs. We perfer to cheaper solutions, like block devices. In fast, there is already a sample for block device logger in driver MTD (drivers/mtd/mtdoops.c). 2. Do not any equipment have b

[PATCH v12 3/4] pstore/blk: support pmsg for pstore block

2019-02-27 Thread liaoweixiong
To enable pmsg, just set pmsg_size when block device register blkzone. Signed-off-by: liaoweixiong --- fs/pstore/Kconfig | 21 fs/pstore/blkoops.c| 10 ++ fs/pstore/blkzone.c| 253 + include/linux/pstore_blk.h | 1 + 4

[PATCH v12 4/4] Documentation: pstore/blk: create document for pstore_blk

2019-02-27 Thread liaoweixiong
The document, at Documentation/admin-guide/pstore-block.rst, tells user how to use pstore_blk and the attentions about panic read/write Signed-off-by: liaoweixiong --- Documentation/admin-guide/pstore-block.rst | 233 + MAINTAINERS| 1

[PATCH v12 2/4] pstore/blk: add blkoops for pstore_blk

2019-02-27 Thread liaoweixiong
blkoops is a sample for pstore/blk. It can only record oops, excluding panics as no read/write apis for panic registered. It support settings on Kconfg/module parameters. It can record oops log even power failure if "PSTORE_BLKOOPS_BLKDEV" on Kconfig or "blkdev" on module parameter is valid. Otherw