Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-07-01 Thread Luis Chamberlain
On Wed, Jul 01, 2020 at 12:08:11PM +0200, Christian Borntraeger wrote: > dmesg attached > [ 14.438482] virbr0: port 1(virbr0-nic) entered blocking state > [ 14.438485] virbr0: port 1(virbr0-nic) entered disabled state > [ 14.438635] device virbr0-nic entered promiscuous mode > [ 14.439654]

Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-07-01 Thread Luis Chamberlain
On Wed, Jul 01, 2020 at 10:24:29PM +0900, Tetsuo Handa wrote: > On 2020/07/01 19:08, Christian Borntraeger wrote: > > > > > > On 30.06.20 19:57, Luis Chamberlain wrote: > >> On Fri, Jun 26, 2020 at 02:54:10AM +, Luis Chamberlain wrote: > >>>

Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-07-01 Thread Luis Chamberlain
On Wed, Jul 01, 2020 at 11:08:57PM +0900, Tetsuo Handa wrote: > On 2020/07/01 22:53, Luis Chamberlain wrote: > >> Well, it is not br_stp_call_user() but br_stp_start() which is expecting > >> to set sub_info->retval for both KWIFEXITED() case and KWIFSIGNALED() case. > &

Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-07-01 Thread Luis Chamberlain
On Wed, Jul 01, 2020 at 05:48:48PM +0200, Christian Borntraeger wrote: > > > On 01.07.20 17:38, Luis Chamberlain wrote: > > On Wed, Jul 01, 2020 at 11:08:57PM +0900, Tetsuo Handa wrote: > >> On 2020/07/01 22:53, Luis Chamberlain wrote: > >>>> Well, it is

Re: [PATCH v2.5 2/3] firmware: Add support for loading compressed files

2019-06-19 Thread Luis Chamberlain
Sorry for the late review... Ah! On Tue, Jun 11, 2019 at 02:26:25PM +0200, Takashi Iwai wrote: > @@ -354,7 +454,12 @@ module_param_string(path, fw_path_para, > sizeof(fw_path_para), 0644); > MODULE_PARM_DESC(path, "customized firmware image search path with a higher > priority than default path

Re: [PATCH v2] mm: expland documentation over __read_mostly

2020-05-06 Thread Luis Chamberlain
On Tue, May 8, 2018 at 12:19 PM Luis R. Rodriguez wrote: > > __read_mostly can easily be misused by folks, its not meant for > just read-only data. There are performance reasons for using it, but > we also don't provide any guidance about its use. Provide a bit more > guidance over it use. > > Ack

[PATCH] mm: expland documentation over __read_mostly

2020-05-06 Thread Luis Chamberlain
__read_mostly can easily be misused by folks, its not meant for just read-only data. There are performance reasons for using it, but we also don't provide any guidance about its use. Provide a bit more guidance over it use. Acked-by: Christoph Lameter Signed-off-by: Luis Chamberlain --- I

Re: [PATCH] kernel: add panic_on_taint

2020-05-06 Thread Luis Chamberlain
On Wed, May 06, 2020 at 06:28:15PM -0400, Rafael Aquini wrote: > Analogously to the introduction of panic_on_warn, this patch > introduces a kernel option named panic_on_taint in order to > provide a simple and generic way to stop execution and catch > a coredump when the kernel gets tainted by any

Re: [PATCH v3] kernel: add panic_on_taint

2020-05-11 Thread Luis Chamberlain
On Sat, May 09, 2020 at 09:57:37AM -0400, Rafael Aquini wrote: > +Trigger Kdump on add_taint() > + > + > +The kernel parameter, panic_on_taint, calls panic() from within add_taint(), > +whenever the value set in this bitmask matches with the bit flag being set > +by add_

Re: [PATCH v4 0/4] Fix some issues about kmod

2020-05-11 Thread Luis Chamberlain
On Mon, May 11, 2020 at 08:59:37PM +0800, Tiezhu Yang wrote: > Hi, > > Could you please apply the following three patches? > > [v4,1/4] selftests: kmod: Use variable NAME in kmod_test_0001() > https://lore.kernel.org/patchwork/patch/1227980/ > > [v4,2/4] kmod: Remove redundant "be an" in the com

Re: [PATCH v3 5/5] lib/test_sysctl: support testing of sysctl. boot parameter

2020-05-11 Thread Luis Chamberlain
On Mon, May 11, 2020 at 01:05:22PM +0200, Vlastimil Babka wrote: > > On 4/27/20 8:39 PM, Luis Chamberlain wrote: > > On Mon, Apr 27, 2020 at 08:04:33PM +0200, Vlastimil Babka wrote: > > Nice, also we could just require > > > > diff --git a/tools/testing/selfte

Re: [PATCH v3] kernel: add panic_on_taint

2020-05-11 Thread Luis Chamberlain
On Mon, May 11, 2020 at 04:03:25PM -0400, Rafael Aquini wrote: > On Mon, May 11, 2020 at 06:24:55PM +0000, Luis Chamberlain wrote: > > On Sat, May 09, 2020 at 09:57:37AM -0400, Rafael Aquini wrote: > > > +Trigger Kdump on add_taint() > > > +===

Re: [PATCH] kernel: sysctl: ignore invalid taint bits introduced via kernel.tainted and taint the kernel with TAINT_USER on writes

2020-05-11 Thread Luis Chamberlain
On Mon, May 11, 2020 at 05:59:04PM -0400, Rafael Aquini wrote: > The sysctl knob allows any user with SYS_ADMIN capability to > taint the kernel with any arbitrary value, but this might > produce an invalid flags bitset being committed to tainted_mask. > > This patch introduces a simple way for pr

Re: [PATCH] kernel: sysctl: ignore invalid taint bits introduced via kernel.tainted and taint the kernel with TAINT_USER on writes

2020-05-11 Thread Luis Chamberlain
On Mon, May 11, 2020 at 07:59:14PM -0400, Rafael Aquini wrote: > On Mon, May 11, 2020 at 11:10:45PM +0000, Luis Chamberlain wrote: > > On Mon, May 11, 2020 at 05:59:04PM -0400, Rafael Aquini wrote: > > > diff --git a/kernel/sysctl.c b/kernel/sysctl.c > > > index 8a176d

Re: linux-next: manual merge of the vfs tree with the parisc-hd tree

2020-05-11 Thread Luis Chamberlain
On Mon, May 11, 2020 at 09:55:16AM +0800, Xiaoming Ni wrote: > On 2020/5/11 9:11, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the vfs tree got a conflict in: > > > >kernel/sysctl.c > > > > between commit: > > > >b6522fa409cf ("parisc: add sysctl file interfac

Re: [PATCH] kernel: sysctl: ignore invalid taint bits introduced via kernel.tainted and taint the kernel with TAINT_USER on writes

2020-05-11 Thread Luis Chamberlain
On Mon, May 11, 2020 at 09:03:13PM -0400, Rafael Aquini wrote: > On Tue, May 12, 2020 at 12:17:03AM +0000, Luis Chamberlain wrote: > > On Mon, May 11, 2020 at 07:59:14PM -0400, Rafael Aquini wrote: > > > On Mon, May 11, 2020 at 11:10:45PM +, Luis Chamberlain wrote: > >

Re: linux-next: manual merge of the vfs tree with the parisc-hd tree

2020-05-11 Thread Luis Chamberlain
On Mon, May 11, 2020 at 10:22:04PM -0700, Kees Cook wrote: > On Tue, May 12, 2020 at 12:33:05AM +0000, Luis Chamberlain wrote: > > On Mon, May 11, 2020 at 09:55:16AM +0800, Xiaoming Ni wrote: > > > On 2020/5/11 9:11, Stephen Rothwell wrote: > > > > Hi all, > > &

Re: [PATCH] kernel: sysctl: ignore invalid taint bits introduced via kernel.tainted and taint the kernel with TAINT_USER on writes

2020-05-12 Thread Luis Chamberlain
On Tue, May 12, 2020 at 10:49:06AM -0400, Rafael Aquini wrote: > On Tue, May 12, 2020 at 05:04:05AM +0000, Luis Chamberlain wrote: > > On Mon, May 11, 2020 at 09:03:13PM -0400, Rafael Aquini wrote: > > > On Tue, May 12, 2020 at 12:17:03AM +, Luis Chamberlain wrote: > >

Re: linux-next: manual merge of the vfs tree with the parisc-hd tree

2020-05-12 Thread Luis Chamberlain
On Tue, May 12, 2020 at 06:52:35AM -0500, Eric W. Biederman wrote: > Luis Chamberlain writes: > > > On Mon, May 11, 2020 at 09:55:16AM +0800, Xiaoming Ni wrote: > >> On 2020/5/11 9:11, Stephen Rothwell wrote: > >> > Hi all, > >> > > >> >

Re: [EXT] [PATCH 09/15] qed: use new module_firmware_crashed()

2020-05-12 Thread Luis Chamberlain
On Tue, May 12, 2020 at 07:23:28PM +0300, Igor Russkikh wrote: > > >> So I think its not a good place to insert this call. > >> Its hard to find exact good place to insert it in qed. > > > > Is there a way to check if what happened was indeed a fw crash? > > Our driver has two firmwares (slowpat

Re: linux-next: manual merge of the vfs tree with the parisc-hd tree

2020-05-12 Thread Luis Chamberlain
On Tue, May 12, 2020 at 12:40:55PM -0500, Eric W. Biederman wrote: > Luis Chamberlain writes: > > > On Tue, May 12, 2020 at 06:52:35AM -0500, Eric W. Biederman wrote: > >> Luis Chamberlain writes: > >> > >> &

Re: [PATCH] kernel: sysctl: ignore out-of-range taint bits introduced via kernel.tainted

2020-05-12 Thread Luis Chamberlain
simple way for proc_taint() to ignore > any eventual invalid bit coming from the user input before > committing those bits to the kernel tainted_mask. > > Signed-off-by: Rafael Aquini Acked-by: Luis Chamberlain Luis

Re: [PATCH v5 1/7] fs: introduce kernel_pread_file* support

2020-05-12 Thread Luis Chamberlain
On Thu, May 07, 2020 at 05:27:33PM -0700, Scott Branden wrote: > diff --git a/fs/exec.c b/fs/exec.c > index 06b4c550af5d..cfab212fab9d 100644 > --- a/fs/exec.c > +++ b/fs/exec.c > @@ -896,10 +896,14 @@ struct file *open_exec(const char *name) > } > EXPORT_SYMBOL(open_exec); > > -int kernel_read

Re: [PATCH v5 2/7] firmware: add offset to request_firmware_into_buf

2020-05-12 Thread Luis Chamberlain
On Thu, May 07, 2020 at 05:27:34PM -0700, Scott Branden wrote: > Add offset to request_firmware_into_buf to allow for portions > of firmware file to be read into a buffer. Necessary where firmware > needs to be loaded in portions from file in memory constrained systems. > > Signed-off-by: Scott B

Re: [PATCH v5 3/7] test_firmware: add partial read support for request_firmware_into_buf

2020-05-12 Thread Luis Chamberlain
On Thu, May 07, 2020 at 05:27:35PM -0700, Scott Branden wrote: > Add additional hooks to test_firmware to pass in support > for partial file read using request_firmware_into_buf. > buf_size: size of buffer to request firmware into > partial: indicates that a partial file request is being made > fil

Re: [PATCH v5 6/7] misc: bcm-vk: add Broadcom VK driver

2020-05-12 Thread Luis Chamberlain
On Thu, May 07, 2020 at 05:27:38PM -0700, Scott Branden wrote: > +#if defined(CONFIG_REQ_FW_INTO_BUF_PRIV) > + > +#define KERNEL_PREAD_FLAG_PART 0x0001 /* Allow reading part of file */ > +#define REQUEST_FIRMWARE_INTO_BUF request_firmware_into_buf_priv > +int request_firmware_into_buf_priv(co

Re: [PATCH v2] kernel: sysctl: ignore out-of-range taint bits introduced via kernel.tainted

2020-05-12 Thread Luis Chamberlain
kernel tainted_mask. > > Signed-off-by: Rafael Aquini Reviewed-by: Luis Chamberlain Luis

Re: [PATCH v6 3/6] block: revert back to synchronous request_queue removal

2020-06-19 Thread Luis Chamberlain
On Fri, Jun 12, 2020 at 06:53:40PM -0700, Bart Van Assche wrote: > On 2020-06-08 10:01, Luis Chamberlain wrote: > > + * Drivers exist which depend on the release of the request_queue to be > > + * synchronous, it should not be deferred. > > This sounds mysterious. Which

Re: [PATCH 0/5] kmod/umh: a few fixes

2020-06-19 Thread Luis Chamberlain
On Wed, Jun 17, 2020 at 05:43:48PM -0700, Andrew Morton wrote: > On Wed, 10 Jun 2020 15:49:18 + "Luis R. Rodriguez" > wrote: > > > Tiezhu Yang had sent out a patch set with a slew of kmod selftest > > fixes, and one patch which modified kmod to return 254 when a module > > was not found. Thi

[PATCH v7 1/8] block: add docs for gendisk / request_queue refcount helpers

2020-06-19 Thread Luis Chamberlain
This adds documentation for the gendisk / request_queue refcount helpers. Reviewed-by: Christoph Hellwig Reviewed-by: Bart Van Assche Signed-off-by: Luis Chamberlain --- block/blk-core.c | 13 + block/genhd.c| 50 +++- 2 files

[PATCH v7 5/8] loop: be paranoid on exit and prevent new additions / removals

2020-06-19 Thread Luis Chamberlain
Be pedantic on removal as well and hold the mutex. This should prevent uses of addition while we exit. Reviewed-by: Ming Lei Reviewed-by: Christoph Hellwig Signed-off-by: Luis Chamberlain --- drivers/block/loop.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/block/loop.c b

[PATCH v7 6/8] blktrace: fix debugfs use after free

2020-06-19 Thread Luis Chamberlain
n Cc: Michal Hocko Cc: "Martin K. Petersen" Cc: "James E.J. Bottomley" Cc: yu kuai Reported-by: syzbot+603294af2d01acfdd...@syzkaller.appspotmail.com Fixes: 6ac93117ab00 ("blktrace: use existing disk debugfs directory") Signed-off-by: Luis Chamberlain --- kernel/

[PATCH v7 8/8] block: create the request_queue debugfs_dir on registration

2020-06-19 Thread Luis Chamberlain
tside of the blktrace context. Signed-off-by: Luis Chamberlain --- block/blk-core.c| 8 +- block/blk-mq-debugfs.c | 5 block/blk-sysfs.c | 9 +++ block/blk.h | 2 -- include/linux/blkdev.h | 5 ++-- kernel/trace/blktrace.c

[PATCH v7 2/8] block: clarify context for refcount increment helpers

2020-06-19 Thread Luis Chamberlain
, but will be addressed in the next patch. Reviewed-by: Christoph Hellwig Reviewed-by: Bart Van Assche Signed-off-by: Luis Chamberlain --- block/blk-core.c | 2 ++ block/genhd.c| 6 ++ 2 files changed, 8 insertions(+) diff --git a/block/blk-core.c b/block/blk-core.c index a0760aa

[PATCH v7 4/8] blktrace: annotate required lock on do_blk_trace_setup()

2020-06-19 Thread Luis Chamberlain
Ensure it is clear which lock is required on do_blk_trace_setup(). Suggested-by: Bart Van Assche Signed-off-by: Luis Chamberlain --- kernel/trace/blktrace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 7f60029bdaff..7ff2ea5cd05e

[PATCH v7 7/8] blktrace: ensure our debugfs dir exists

2020-06-19 Thread Luis Chamberlain
tions typically aren't checked for, and we have maintainers doing sweep removals of these checks, but since we need this check to ensure proper userspace blktrace functionality we make sure to annotate the justification for the check. Signed-off-by: Luis Chamberlain --- kernel/trace/blktr

[PATCH v7 3/8] block: revert back to synchronous request_queue removal

2020-06-19 Thread Luis Chamberlain
Suggested-by: Nicolai Stange Fixes: dc9edc44de6c ("block: Fix a blk_exit_rl() regression") Reviewed-by: Christoph Hellwig Reviewed-by: Bart Van Assche Signed-off-by: Luis Chamberlain --- block/blk-core.c | 8 block/blk-sysfs.c | 43 +--

[PATCH v7 0/8] blktrace: fix debugfs use after free

2020-06-19 Thread Luis Chamberlain
these, to let 0-day give me its blessings, both for Linus' tree and linux-next. No issues have been found. I've also taken time to run blktests prior and after this series and I have found no regressions. In fact, I think I should just extend blktests with the break-blktrace tests, I

Re: [PATCH 0/5] kmod/umh: a few fixes

2020-06-19 Thread Luis Chamberlain
Sorry it seems mutt ate my To:, so adding the folks I intended to address on the To: field now :) Luis On Fri, Jun 19, 2020 at 08:46:26PM +, Luis Chamberlain wrote: > On Wed, Jun 17, 2020 at 05:43:48PM -0700, Andrew Morton wrote: > > On Wed, 10 Jun 2020 15:49:18 + "Lui

Re: [PATCH 6/6] kernel: add a kernel_wait helper

2020-06-19 Thread Luis Chamberlain
On Thu, Jun 18, 2020 at 04:46:27PM +0200, Christoph Hellwig wrote: > --- a/kernel/exit.c > +++ b/kernel/exit.c > @@ -1626,6 +1626,22 @@ long kernel_wait4(pid_t upid, int __user *stat_addr, > int options, > return ret; > } > > +int kernel_wait(pid_t pid, int *stat) > +{ > + struct wait

Re: [PATCH 6/6] kernel: add a kernel_wait helper

2020-06-20 Thread Luis Chamberlain
On Sat, Jun 20, 2020 at 08:35:38AM +0200, Christoph Hellwig wrote: > On Fri, Jun 19, 2020 at 09:17:00PM +0000, Luis Chamberlain wrote: > > On Thu, Jun 18, 2020 at 04:46:27PM +0200, Christoph Hellwig wrote: > > > --- a/kernel/exit.c > > > +++ b/kernel/exit.c > &

Re: [PATCH v6 6/6] blktrace: fix debugfs use after free

2020-06-09 Thread Luis Chamberlain
I like this, more below. On Tue, Jun 09, 2020 at 08:06:02AM -0700, Christoph Hellwig wrote: > diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c > index 432fa60e7f8808..44239f603379d5 100644 > --- a/kernel/trace/blktrace.c > +++ b/kernel/trace/blktrace.c > @@ -492,34 +493,23 @@ static

Re: two more fixes for sysctl

2020-06-09 Thread Luis Chamberlain
On Tue, Jun 09, 2020 at 07:08:17PM +0200, Christoph Hellwig wrote: > Hi Al, > > two more fixes for the kernel pointers in the sysctl handlers. Acked-by: Luis Chamberlain Luis

Re: [PATCH v6 6/6] blktrace: fix debugfs use after free

2020-06-09 Thread Luis Chamberlain
On Tue, Jun 09, 2020 at 10:32:18AM -0700, Christoph Hellwig wrote: > On Tue, Jun 09, 2020 at 05:29:22PM +0000, Luis Chamberlain wrote: > > Is scsi-generic is the only unwanted ugly child blktrace has to deal > > with? For some reason I thought drivers/md/md.c was one but it seems

Re: [PATCH v4 0/4] Fix some issues about kmod

2020-06-09 Thread Luis Chamberlain
On Mon, May 11, 2020 at 12:28 PM Luis Chamberlain wrote: > > On Mon, May 11, 2020 at 08:59:37PM +0800, Tiezhu Yang wrote: > > Hi, > > > > Could you please apply the following three patches? > > > > [v4,1/4] selftests: kmod: Use variable NAME in kmod_tes

[PATCH v2] mm: expand documentation over __read_mostly

2020-05-07 Thread Luis Chamberlain
__read_mostly can easily be misused by folks, its not meant for just read-only data. There are performance reasons for using it, but we also don't provide any guidance about its use. Provide a bit more guidance over its use. Acked-by: Christoph Lameter Signed-off-by: Luis Chamberlain ---

Re: [PATCH v2] kernel: add panic_on_taint

2020-05-07 Thread Luis Chamberlain
On Thu, May 07, 2020 at 02:06:31PM -0400, Rafael Aquini wrote: > diff --git a/kernel/sysctl.c b/kernel/sysctl.c > index 8a176d8727a3..b80ab660d727 100644 > --- a/kernel/sysctl.c > +++ b/kernel/sysctl.c > @@ -1217,6 +1217,13 @@ static struct ctl_table kern_table[] = { > .extra1

Re: [PATCH v2] kernel: add panic_on_taint

2020-05-07 Thread Luis Chamberlain
On Thu, May 07, 2020 at 02:06:31PM -0400, Rafael Aquini wrote: > Another, perhaps less frequent, use for this option would be > as a mean for assuring a security policy (in paranoid mode) > case where no single taint is allowed for the running system. If used for this purpose then we must add a ne

Re: [PATCH v2] kernel: add panic_on_taint

2020-05-07 Thread Luis Chamberlain
On Thu, May 07, 2020 at 02:47:05PM -0400, Rafael Aquini wrote: > On Thu, May 07, 2020 at 02:43:16PM -0400, Rafael Aquini wrote: > > On Thu, May 07, 2020 at 06:22:57PM +0000, Luis Chamberlain wrote: > > > On Thu, May 07, 2020 at 02:06:31PM -0400, Rafael Aquini wrote: > >

Re: [PATCH v2] kernel: add panic_on_taint

2020-05-07 Thread Luis Chamberlain
On Thu, May 07, 2020 at 06:06:06PM -0400, Rafael Aquini wrote: > On Thu, May 07, 2020 at 08:33:40PM +0000, Luis Chamberlain wrote: > > I *think* that a cmdline route to enable this would likely remove the > > need for the kernel config for this. But even with Vlastimil's work

[RFC] taint: add module firmware crash taint support

2020-05-07 Thread Luis Chamberlain
form affect lockdep. This taint is device driver specific. Signed-off-by: Luis Chamberlain --- Below is the full diff stat of manual inspection throughout the kernel when this happens. My methodology is to just scrape for "crash" and then study the driver a bit to see if indeed it seems

Re: [RFC] taint: add module firmware crash taint support

2020-05-07 Thread Luis Chamberlain
On Fri, May 08, 2020 at 02:14:38AM +, Luis Chamberlain wrote: > Device driver firmware can crash, and sometimes, this can leave your > system in a state which makes the device or subsystem completely > useless. Detecting this by inspecting /proc/sys/kernel/tainted instead > of s

Re: [PATCH 1/2] fs: avoid fdput() after failed fdget() in ksys_sync_file_range()

2020-05-07 Thread Luis Chamberlain
On Fri, May 08, 2020 at 01:24:22AM +0100, Al Viro wrote: > On Fri, May 08, 2020 at 01:05:09AM +0100, Al Viro wrote: > > On Thu, May 07, 2020 at 05:57:09PM -0600, Shuah Khan wrote: > > > Fix ksys_sync_file_range() to avoid fdput() after a failed fdget(). > > > fdput() doesn't do fput() on this file

Re: [RFC] taint: add module firmware crash taint support

2020-05-07 Thread Luis Chamberlain
On Thu, May 07, 2020 at 10:47:08PM -0700, Kees Cook wrote: > On Fri, May 08, 2020 at 02:14:38AM +0000, Luis Chamberlain wrote: > > Device driver firmware can crash, and sometimes, this can leave your > > system in a state which makes the device or subsystem completely > > us

Re: [RFC] taint: add module firmware crash taint support

2020-05-07 Thread Luis Chamberlain
On Fri, May 08, 2020 at 08:11:24AM +0200, Daniel Vetter wrote: > On Fri, May 08, 2020 at 02:14:38AM +0000, Luis Chamberlain wrote: > > Device driver firmware can crash, and sometimes, this can leave your > > system in a state which makes the device or subsystem completely > &g

Re: [PATCH v7 5/8] loop: be paranoid on exit and prevent new additions / removals

2020-06-23 Thread Luis Chamberlain
On Mon, Jun 22, 2020 at 07:16:15PM -0700, Bart Van Assche wrote: > On 2020-06-22 05:27, Luis Chamberlain wrote: > > Note: this will bring you sanity if you try to figure out *why* we still > > get: > > > > [235530.144343] debugfs: Directory 'loop0' wit

[PATCH 0/2] block: kdocify the request_queue

2020-06-23 Thread Luis Chamberlain
Bart suggested we add docs for the degugfs_mutex, while at it I noticed we don't have a nice way to add docs for members of the request_queue so I figured I'd add one as I drive by. Come bike shed with me. Luis Chamberlain (2): block: add initial kdoc over the request_queue b

[PATCH 2/2] block: move request_queue member docs to kdoc

2020-06-23 Thread Luis Chamberlain
Now that we have a template, expand on the kdoc form for the request_queue data structure with documentation from the rest of the members, *only* for information we already had. This does not add any new documentation. This just shifts documentation to kdoc form. Signed-off-by: Luis Chamberlain

[PATCH 1/2] block: add initial kdoc over the request_queue

2020-06-23 Thread Luis Chamberlain
We start off with an initial description of the request_queue data structure, followed by describing the purpose of the debugfs_mutex debugfs_dir, and blk_trace. Suggested-by: Bart Van Assche Signed-off-by: Luis Chamberlain --- include/linux/blkdev.h | 20 1 file changed

Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-06-24 Thread Luis Chamberlain
On Wed, Jun 24, 2020 at 01:11:54PM +0200, Christian Borntraeger wrote: > > > On 23.06.20 16:23, Christian Borntraeger wrote: > > > > > > On 23.06.20 16:11, Christian Borntraeger wrote: > >> Jens Markwardt reported a regression in the linux-next runs. with "umh: > >> fix > >> processed error w

Re: [PATCH v7 5/8] loop: be paranoid on exit and prevent new additions / removals

2020-06-24 Thread Luis Chamberlain
On Tue, Jun 23, 2020 at 05:05:01PM +, Johannes Thumshirn wrote: > On 22/06/2020 14:27, Luis Chamberlain wrote: > [...]> If you run run_0004.sh from break-blktrace [0]. Even with all my > patches > > merged we still run into this. And so the bug lies within the block > >

Re: [PATCH v2 2/5] ARM: vdso: Don't use gcc plugins for building vgettimeofday.c

2020-06-24 Thread Luis Chamberlain
On Wed, Jun 24, 2020 at 03:33:27PM +0300, Alexander Popov wrote: > Don't use gcc plugins for building arch/arm/vdso/vgettimeofday.c to > avoid unneeded instrumentation. > > Signed-off-by: Alexander Popov But why is skipping it safe? Luis

Re: [PATCH v2 5/5] gcc-plugins/stackleak: Add 'verbose' plugin parameter

2020-06-24 Thread Luis Chamberlain
On Wed, Jun 24, 2020 at 03:33:30PM +0300, Alexander Popov wrote: > Add 'verbose' plugin parameter for stackleak gcc plugin. > It can be used for printing additional info about the kernel code > instrumentation. > > For using it add the following to scripts/Makefile.gcc-plugins: > gcc-plugin-cfla

Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-06-24 Thread Luis Chamberlain
Martin, your eyeballs would be appreciated for a bit on this. On Wed, Jun 24, 2020 at 12:05:46PM +, Luis Chamberlain wrote: > On Wed, Jun 24, 2020 at 01:11:54PM +0200, Christian Borntraeger wrote: > > > > > > On 23.06.20 16:23, Christian Borntraeger wrote: > > >

Re: [PATCH v2 12/15] ath10k: use new module_firmware_crashed()

2020-05-18 Thread Luis Chamberlain
On Sat, May 16, 2020 at 03:24:01PM +0200, Johannes Berg wrote: > On Fri, 2020-05-15 at 21:28 +0000, Luis Chamberlain wrote:> > module_firmware_crashed > > You didn't CC me or the wireless list on the rest of the patches, so I'm > replying to a random one, but ...

Re: [PATCH v2 12/15] ath10k: use new module_firmware_crashed()

2020-05-18 Thread Luis Chamberlain
On Sat, May 16, 2020 at 03:50:55PM +0200, Johannes Berg wrote: > On Sat, 2020-05-16 at 15:24 +0200, Johannes Berg wrote: > > > Instead of the kernel taint, IMHO you should provide an annotation in > > sysfs (or somewhere else) for the *struct device* that had its firmware > > crash. Or maybe, if i

Re: [PATCH v2 12/15] ath10k: use new module_firmware_crashed()

2020-05-18 Thread Luis Chamberlain
On Mon, May 18, 2020 at 09:58:53AM -0700, Ben Greear wrote: > > > On 05/18/2020 09:51 AM, Luis Chamberlain wrote: > > On Sat, May 16, 2020 at 03:24:01PM +0200, Johannes Berg wrote: > > > On Fri, 2020-05-15 at 21:28 +, Luis Chamberlain wrote:> > > > modu

Re: [PATCH v3 0/4] cleaning up the sysctls table (hung_task watchdog)

2020-05-18 Thread Luis Chamberlain
On Mon, May 18, 2020 at 11:59:53AM +0800, Xiaoming Ni wrote: > Kernel/sysctl.c contains more than 190 interface files, and there are a > large number of config macro controls. When modifying the sysctl > interface directly in kernel/sysctl.c, conflicts are very easy to occur. > E.g: https://lkml.

Re: [PATCH v2 12/15] ath10k: use new module_firmware_crashed()

2020-05-18 Thread Luis Chamberlain
On Mon, May 18, 2020 at 10:15:45AM -0700, Ben Greear wrote: > > > On 05/18/2020 10:09 AM, Luis Chamberlain wrote: > > On Mon, May 18, 2020 at 09:58:53AM -0700, Ben Greear wrote: > > > > > > > > > On 05/18/2020 09:51 AM, Luis Chamberlain wrote: > &

Re: [PATCH] sysctl: const-ify ngroups_max

2020-05-18 Thread Luis Chamberlain
On Mon, May 18, 2020 at 09:08:22AM -0700, Kees Cook wrote: > On Mon, May 18, 2020 at 05:57:27PM +0200, Stephen Kitt wrote: > > ngroups_max is a read-only sysctl entry, reflecting NGROUPS_MAX. Make > > it const, in the same way as cap_last_cap. > > > > Signed-off-by: Stephen Kitt > > Reviewed-by:

<    1   2   3   4   5   6