Re: KASAN: use-after-free Read in handle_userfault (2)

2018-12-29 Thread Dmitry Vyukov
On Wed, Dec 12, 2018 at 10:58 AM Dmitry Vyukov wrote: > > On Wed, Dec 12, 2018 at 10:45 AM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:14cf8c1d5b90 Add linux-next specific files for 20181210 > > git tree: linux-next > > console output:

Re: [PATCH] netfilter: account ebt_table_info to kmemcg

2018-12-29 Thread Michal Hocko
On Sat 29-12-18 11:34:29, Shakeel Butt wrote: > On Sat, Dec 29, 2018 at 2:06 AM Michal Hocko wrote: > > > > On Sat 29-12-18 10:52:15, Florian Westphal wrote: > > > Michal Hocko wrote: > > > > On Fri 28-12-18 17:55:24, Shakeel Butt wrote: > > > > > The [ip,ip6,arp]_tables use x_tables_info interna

Re: [PATCH 3/4] rcutorture/nolibc: add a bit of documentation to explain how to use nolibc

2018-12-29 Thread Joey Pabalinas
On Sun, Dec 30, 2018 at 08:08:46AM +0100, Willy Tarreau wrote: > Definitely! Same, I won't emit a patch just for this, Paul already queued it. Yeah, not that big a deal :) Reviewed-by: Joey Pabalinas -- Cheers, Joey Pabalinas signature.asc Description: PGP signature

Re: [PATCH v8 13/25] m68k: Dispatch nvram_ops calls to Atari or Mac functions

2018-12-29 Thread Finn Thain
On Sat, 29 Dec 2018, Arnd Bergmann wrote: > On Wed, Dec 26, 2018 at 1:43 AM Finn Thain wrote: > > > + > > +static ssize_t m68k_nvram_get_size(void) > > +{ > > + if (MACH_IS_ATARI) > > + return atari_nvram_get_size(); > > + else if (MACH_IS_MAC) > > + retur

Re: [PATCH v8 18/25] powerpc: Implement nvram sync ioctl

2018-12-29 Thread Finn Thain
On Sat, 29 Dec 2018, Arnd Bergmann wrote: > > --- a/drivers/char/nvram.c > > +++ b/drivers/char/nvram.c > > @@ -48,6 +48,10 @@ > > #include > > #include > > > > +#ifdef CONFIG_PPC > > +#include > > +#include > > +#endif > > > > static DEFINE_MUTEX(nvram_mutex); > > static DEFINE_SPINLOCK(n

Re: [PATCH 3/4] rcutorture/nolibc: add a bit of documentation to explain how to use nolibc

2018-12-29 Thread Willy Tarreau
On Sat, Dec 29, 2018 at 12:33:24PM -1000, Joey Pabalinas wrote: > On Sat, Dec 29, 2018 at 07:02:18PM +0100, Willy Tarreau wrote: > > + * - the lower level is the arch-specific syscall() definition, > > consisting in > > + * assembly code in compound expressions. These are called > > my_sysc

WARNING: lock held when returning to user space in set_property_atomic

2018-12-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:903b77c63167 Merge tag 'linux-kselftest-4.21-rc1' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12d0f55340 kernel config: https://syzkaller.appspot.com/x/.config?x=53a2f2aa0b1f7606 da

BUG: unable to handle kernel paging request in sctp_v6_get_dst

2018-12-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:90cadbbf341d Merge git://git.kernel.org/pub/scm/linux/kern.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1081829b40 kernel config: https://syzkaller.appspot.com/x/.config?x=9d41c8529d7e7362 da

Re: [PATCH v1 0/2] Virtio: fix some vq allocation issues

2018-12-29 Thread Halil Pasic
On Sat, 29 Dec 2018 02:45:49 + "Wang, Wei W" wrote: > On Friday, December 28, 2018 3:57 PM, Christian Borntraeger wrote: > > On 28.12.2018 03:26, Wei Wang wrote: > > > Some vqs don't need to be allocated when the related feature bits are > > > disabled. Callers notice the vq allocation layer

sound/pci//hda/patch_ca0132.c:8416:3: error: implicit declaration of function 'pci_iounmap'; did you mean 'pcim_iounmap'?

2018-12-29 Thread kbuild test robot
Hi Takashi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 195303136f192d37b89e20a8d1d2670d0d825266 commit: d99501b8575dc1248bacf1b58d2241cb4b265d49 ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap() date:

device_sysfs.c:undefined reference to `utf16s_to_utf8s'

2018-12-29 Thread kbuild test robot
Hi Sinan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 195303136f192d37b89e20a8d1d2670d0d825266 commit: 5d32a66541c4683456507481a0944ed2985e75c7 PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set date: 10

[v4 PATCH 1/2] mm: swap: check if swap backing device is congested or not

2018-12-29 Thread Yang Shi
Swap readahead would read in a few pages regardless if the underlying device is busy or not. It may incur long waiting time if the device is congested, and it may also exacerbate the congestion. Use inode_read_congested() to check if the underlying device is busy or not like what file page readah

[v4 PATCH 2/2] mm: swap: add comment for swap_vma_readahead

2018-12-29 Thread Yang Shi
swap_vma_readahead()'s comment is missed, just add it. Cc: Huang Ying Cc: Tim Chen Cc: Minchan Kim Signed-off-by: Yang Shi --- mm/swap_state.c | 17 + 1 file changed, 17 insertions(+) diff --git a/mm/swap_state.c b/mm/swap_state.c index 78d500e..dd8f698 100644 --- a/mm/swap_s

Re: [PATCH v8 00/25] Re-use nvram module

2018-12-29 Thread Finn Thain
On Sun, 30 Dec 2018, I wrote: > > I'm not opposed to exported functions in place of a singleton ops > struct. Other things being equal I'm inclined toward the ops struct, > perhaps because I like encapsulation or perhaps because I don't like > excess generality. (That design decision was made

Re: + taint-fix-debugfs_simple_attrcocci-warnings.patch added to -mm tree

2018-12-29 Thread Sergey Senozhatsky
On (12/28/18 13:54), a...@linux-foundation.org wrote: > > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > for debugfs files. > > Semantic patch information: > Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() > imposes some significant overhead as compared to > DEFINE_DE

general protection fault in fdb_find_rcu

2018-12-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:90cadbbf341d Merge git://git.kernel.org/pub/scm/linux/kern.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1745c69b40 kernel config: https://syzkaller.appspot.com/x/.config?x=9d41c8529d7e7362 da

Re: [PATCH] fanotify: allow freeze on suspend when waiting for response from userspace

2018-12-29 Thread Orion Poplawski
On 12/29/18 3:34 PM, Orion Poplawski wrote: On 12/29/18 3:04 PM, Orion Poplawski wrote: On Thu 22-02-18 15:14:54, Kunal Shubham wrote: >> On Fri 16-02-18 15:14:40, t.vi...@samsung.com wrote: >> From: Vivek Trivedi >> >> If fanotify userspace response server thread is frozen first, >> it may fa

[PATCH] debugfs: debugfs_use_start/finish do not exist anymore

2018-12-29 Thread Sergey Senozhatsky
debugfs_use_file_start() and debugfs_use_file_finish() do not exist since commit c9afbec27089 ("debugfs: purge obsolete SRCU based removal protection"); tweak debugfs_create_file_unsafe() comment. Signed-off-by: Sergey Senozhatsky --- fs/debugfs/inode.c | 4 ++-- 1 file changed, 2 insertions(+),

WARNING in wiphy_register (3)

2018-12-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:90cadbbf341d Merge git://git.kernel.org/pub/scm/linux/kern.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=17053c9b40 kernel config: https://syzkaller.appspot.com/x/.config?x=9d41c8529d7e7362 da

Re: tpm_tis TPM2.0 not detected on cold boot

2018-12-29 Thread Mimi Zohar
On Tue, 2018-12-25 at 14:55 +0100, Michael Niewöhner wrote: > On Sun, 2018-12-23 at 12:55 +0100, Michael Niewöhner wrote: > > Hi Mimi, > > > > On Sat, 2018-12-22 at 17:53 -0500, Mimi Zohar wrote: > > > On Sat, 2018-12-22 at 14:47 +0100, Michael Niewöhner wrote: > > > > > > > When I remove the tim

Re: [PATCH v8 24/25] powerpc: Adopt nvram module for PPC64

2018-12-29 Thread Finn Thain
On Sat, 29 Dec 2018, Arnd Bergmann wrote: > On Wed, Dec 26, 2018 at 1:43 AM Finn Thain wrote: > > > +static ssize_t ppc_nvram_get_size(void) > > +{ > > + if (ppc_md.nvram_size) > > + return ppc_md.nvram_size(); > > + return -ENODEV; > > +} > > > +const struct nvram_ops

[PATCH] Fix compilation problem for mt7621_wdt.c and rt2880_wdt.c

2018-12-29 Thread NeilBrown
These files need #include to compile correctly. Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h") Signed-off-by: NeilBrown --- drivers/watchdog/mt7621_wdt.c | 1 + drivers/watchdog/rt2880_wdt.c | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH] staging: comedi: cb_pcimdas.c: fixed an alignment coding style issue

2018-12-29 Thread William Mitchell Jr
Fixed a coding style issue. Signed-off-by: William Mitchell Jr --- drivers/staging/comedi/drivers/cb_pcimdas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/cb_pcimdas.c b/drivers/staging/comedi/drivers/cb_pcimdas.c index 4e72a0778086..

Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes"

2018-12-29 Thread Sergey Senozhatsky
On (12/28/18 16:03), Daniel Wang wrote: > Thanks. I was able to confirm that commit c7c3f05e341a9a2bd alone > fixed the problem for me. As expected, all 16 CPUs' stacktrace was > printed, before a final panic stack dump and a successful reboot. Cool, thanks! -ss

Re: [GIT PULL] security: general updates for v4.21

2018-12-29 Thread Mimi Zohar
On Sat, 2018-12-29 at 10:34 -0800, Casey Schaufler wrote: > On 12/28/2018 8:15 PM, Linus Torvalds wrote: > > On Fri, Dec 28, 2018 at 8:09 PM James Morris wrote: > >> Yep, I understand what you mean. I can't find the discussion from several > >> years ago, but developers asked to be able to work wi

Re: KASAN: use-after-free Read in ax25_fillin_cb

2018-12-29 Thread Cong Wang
Hi, Joerg On Sat, Dec 29, 2018 at 2:06 PM Joerg Reuter wrote: > Unfortunately, I'm on a low bandwidth connection right now. I'd be > grateful if someone could create a patch. This is likely not a high > impact issue (unpriviliged users can't set up or tear down interfaces), > still it may cause h

Re: linux-next: manual merge of the rdma tree with the nfs-anna tree

2018-12-29 Thread Stephen Rothwell
Hi all, On Mon, 24 Dec 2018 14:13:52 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the rdma tree got a conflict in: > > net/sunrpc/xprtrdma/fmr_ops.c > > between commit: > > d31f8deac38d ("xprtrdma: Remove support for FMR memory registration") > > from the nfs-anna tree a

[PATCH v5 1/2] drm/amd: validate user pitch alignment

2018-12-29 Thread Yu Zhao
Userspace may request pitch alignment that is not supported by GPU. Some requests 32, but GPU ignores it and uses default 64 when cpp is 4. If GEM object is allocated based on the smaller alignment, GPU DMA will go out of bound. Cc: sta...@vger.kernel.org # v4.2+ Signed-off-by: Yu Zhao --- drive

[PATCH v5 2/2] drm/amd: validate user GEM object size

2018-12-29 Thread Yu Zhao
When creating frame buffer, userspace may request to attach to a previously allocated GEM object that is smaller than what GPU requires. Validation must be done to prevent out-of-bound DMA, otherwise it could be exploited to reveal sensitive data. This fix is not done in a common code path because

Re: [PATCH v8 00/25] Re-use nvram module

2018-12-29 Thread Finn Thain
On Sat, 29 Dec 2018, Arnd Bergmann wrote: > I had a look at the complete series now, and I think this is a great > cleanup. I replied with a couple of minor comments that you may or may > not want to address first. > Thanks for reviewing this. > The one thing I would like to see resolved (I h

Re: [PATCH] Staging: vt6655: Fix camel case of variable

2018-12-29 Thread Joe Perches
On Sat, 2018-12-29 at 23:59 +0100, Petr Sedlák wrote: > Replace variable uDelayUnit with u_delay_unit. Issue found by > checkpatch. probably better as a static inline too. > diff --git a/drivers/staging/vt6655/upc.h b/drivers/staging/vt6655/upc.h [] > @@ -42,15 +42,15 @@ > #define VNSvOutPortD(d

Re: [PATCH v8 20/25] powerpc, fbdev: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2018-12-29 Thread Finn Thain
On Sat, 29 Dec 2018, LEROY Christophe wrote: > Finn Thain a ?crit?: > > > Make use of arch_nvram_ops in device drivers so that the nvram_* function > > exports can be removed. > > > > Since they are no longer global symbols, rename the PPC32 nvram_* functions > > appropriately. > > > > Signed-

Re: [RFC PATCH] media: rcar-vin: Allow independent VIN link enablement

2018-12-29 Thread Steve Longerbeam
Hi Niklas, On 12/26/18 4:51 PM, Niklas Söderlund wrote: Hi Steve, Thanks for your patch. On 2018-12-25 15:27:25 -0800, Steve Longerbeam wrote: There is a block of code in rvin_group_link_notify() that prevents enabling a link to a VIN node if any entity in the media graph is in use. This prev

Re: [PATCH AUTOSEL 4.14 25/35] iomap: sub-block dio needs to zeroout beyond EOF

2018-12-29 Thread Dave Chinner
On Fri, Dec 28, 2018 at 09:06:24AM +0100, Pavel Machek wrote: > On Mon 2018-12-03 23:22:46, Thomas Backlund wrote: > > Den 2018-12-03 kl. 11:22, skrev Sasha Levin: > > > > > > > > This is a case where theory collides with the real world. Yes, our QA is > > > lacking, but we don't have the option

WARNING in mmu_spte_clear_track_bits (2)

2018-12-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:6a1d293238c1 Add linux-next specific files for 20181224 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=131ae9ed40 kernel config: https://syzkaller.appspot.com/x/.config?x=f9369d117d073843 dashb

[PATCH] Staging: vt6655: Fix camel case of variable

2018-12-29 Thread Petr Sedlák
Replace variable uDelayUnit with u_delay_unit. Issue found by checkpatch. Signed-off-by: Petr Sedlák --- drivers/staging/vt6655/upc.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/upc.h b/drivers/staging/vt6655/upc.h index 61b3e568ff9a..384af2

Re: [PATCH v8 00/25] Re-use nvram module

2018-12-29 Thread Arnd Bergmann
On Wed, Dec 26, 2018 at 1:43 AM Finn Thain wrote: > This allows for removal of drivers/char/generic_nvram.c as well as some > duplicated code in arch/powerpc/kernel/nvram_64.c. By reducing the number > of /dev/nvram char misc device implementations, the number of bugs and > inconsistencies is als

Re: [PATCH v8 24/25] powerpc: Adopt nvram module for PPC64

2018-12-29 Thread Arnd Bergmann
On Wed, Dec 26, 2018 at 1:43 AM Finn Thain wrote: > +static ssize_t ppc_nvram_get_size(void) > +{ > + if (ppc_md.nvram_size) > + return ppc_md.nvram_size(); > + return -ENODEV; > +} > +const struct nvram_ops arch_nvram_ops = { > + .read = ppc_nvram_read,

Re: [PATCH 3/4] rcutorture/nolibc: add a bit of documentation to explain how to use nolibc

2018-12-29 Thread Randy Dunlap
On 12/29/18 10:02 AM, Willy Tarreau wrote: > Ingo rightfully asked for a bit more documentation in the nolibc header, > so this patch adds some explanation about its purpose, how it's made, and > how to use it. > > Cc: Ingo Molnar > Cc: Paul E. McKenney > Cc: Randy Dunlap > Signed-off-by: Willy

Re: [PATCH] fanotify: allow freeze on suspend when waiting for response from userspace

2018-12-29 Thread Orion Poplawski
On 12/29/18 3:04 PM, Orion Poplawski wrote: On Thu 22-02-18 15:14:54, Kunal Shubham wrote: >> On Fri 16-02-18 15:14:40, t.vi...@samsung.com wrote: >> From: Vivek Trivedi >> >> If fanotify userspace response server thread is frozen first, >> it may fail to send response from userspace to kernel

Re: [PATCH 3/4] rcutorture/nolibc: add a bit of documentation to explain how to use nolibc

2018-12-29 Thread Joey Pabalinas
On Sat, Dec 29, 2018 at 07:02:18PM +0100, Willy Tarreau wrote: > + * - the lower level is the arch-specific syscall() definition, consisting > in > + * assembly code in compound expressions. These are called my_syscall0() > to > + * my_syscall6() depending on the number of arguments. Th

Re: [PATCH 2/4] rcutorture/nolibc: fix some poor indentation and alignment

2018-12-29 Thread Joey Pabalinas
On Sat, Dec 29, 2018 at 07:02:17PM +0100, Willy Tarreau wrote: > A few macros had their rightmost backslash misaligned, and the pollfd > struct definition resisted the previous code reindent. Nothing else > changed. > > Cc: Paul E. McKenney > Signed-off-by: Willy Tarreau Reviewed-by: Joey Pabal

[PATCH v6 1/2] signal: add pidfd_send_signal() syscall

2018-12-29 Thread Christian Brauner
The kill() syscall operates on process identifiers (pid). After a process has exited its pid can be reused by another process. If a caller sends a signal to a reused pid it will end up signaling the wrong process. This issue has often surfaced and there has been a push to address this problem [1].

[PATCH v6 2/2] selftests: add tests for pidfd_send_signal()

2018-12-29 Thread Christian Brauner
As suggested by Andrew Morton in [1] add selftests for the new sys_pidfd_send_signal() syscall. This tests whether we can send a signal to an existing process and whether sending a signal to a process that has already exited fails with ESRCH. [1]: https://lore.kernel.org/lkml/20181228152012.dbf05

Re: [PATCH v8 13/25] m68k: Dispatch nvram_ops calls to Atari or Mac functions

2018-12-29 Thread Arnd Bergmann
On Wed, Dec 26, 2018 at 1:43 AM Finn Thain wrote: > + > +static ssize_t m68k_nvram_get_size(void) > +{ > + if (MACH_IS_ATARI) > + return atari_nvram_get_size(); > + else if (MACH_IS_MAC) > + return mac_pram_get_size(); > + return -ENODEV; > +} > + > +

Re: [PATCH v8 18/25] powerpc: Implement nvram sync ioctl

2018-12-29 Thread Arnd Bergmann
> --- a/drivers/char/nvram.c > +++ b/drivers/char/nvram.c > @@ -48,6 +48,10 @@ > #include > #include > > +#ifdef CONFIG_PPC > +#include > +#include > +#endif > > static DEFINE_MUTEX(nvram_mutex); > static DEFINE_SPINLOCK(nvram_state_lock); > @@ -331,6 +335,37 @@ static long nvram_misc_ioctl

Re: Re: [PATCH] fanotify: allow freeze on suspend when waiting for response from userspace

2018-12-29 Thread Orion Poplawski
On Thu 22-02-18 15:14:54, Kunal Shubham wrote: >> On Fri 16-02-18 15:14:40, t.vi...@samsung.com wrote: >> From: Vivek Trivedi >> >> If fanotify userspace response server thread is frozen first, >> it may fail to send response from userspace to kernel space listener. >> In this scenario, fanoti

Re: [GIT PULL 3/4] Kconfig updates for v4.21

2018-12-29 Thread pr-tracker-bot
The pull request you sent on Sat, 29 Dec 2018 01:04:29 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kconfig-v4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/769e47094dcc0ddc8fe8e04c13565a71134ec1a2 Thank you! -- Deet-

Re: [GIT PULL 1/4] Kbuild updates for v4.21

2018-12-29 Thread pr-tracker-bot
The pull request you sent on Sat, 29 Dec 2018 00:58:38 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-v4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/668c35f69cc750aaf07bd5fe7710a47e2aed6e43 Thank you! -- Deet-d

Re: [GIT PULL 4/4] Kconfig file consolidation for v4.21

2018-12-29 Thread pr-tracker-bot
The pull request you sent on Sat, 29 Dec 2018 01:06:52 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kconfig-v4.21-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/195303136f192d37b89e20a8d1d2670d0d825266 Thank you! -- Dee

Re: [PATCH] Raise the minimum required gcc version to 4.6

2018-12-29 Thread Arnd Bergmann
On Sat, Dec 29, 2018 at 3:25 PM Geert Uytterhoeven wrote: > On Fri, Aug 24, 2018 at 12:00 AM Joe Perches wrote: > > On Thu, 2018-08-23 at 23:52 +0200, Geert Uytterhoeven wrote: > --- > build.log.linux-4.20.0-atari-07795-g835f16c9b68966ff-gcc-4.1.2-20061115-prerelease-Ubuntu-4.1.1-21 > +++ > bu

Re: [PATCH] mm: Reuse only-pte-mapped KSM page in do_wp_page()

2018-12-29 Thread Andrew Morton
On Thu, 13 Dec 2018 18:29:08 +0300 Kirill Tkhai wrote: > This patch adds an optimization for KSM pages almost > in the same way, that we have for ordinary anonymous > pages. If there is a write fault in a page, which is > mapped to an only pte, and it is not related to swap > cache; the page may

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-29 Thread Arnd Bergmann
On Sat, Dec 29, 2018 at 3:51 AM Michael Schmitz wrote: > > Hi Finn, > > Am 29.12.2018 um 15:34 schrieb Finn Thain: > > On Sat, 29 Dec 2018, Michael Schmitz wrote: > > > >> > >> IS_BUILTIN(CONFIG_NVRAM) is probably what Christophe really meant to > >> suggest. > >> > >> Or (really going out on a l

[PATCH] media: tw9910: add missed clk_disable_unprepare() on failure path

2018-12-29 Thread Alexey Khoroshilov
If gpiod_get_optional() fails in tw9910_power_on(), clk is left undisabled. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/media/i2c/tw9910.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/tw9910.c b/drivers/me

Re: [PATCH] percpu: plumb gfp flag to pcpu_get_pages

2018-12-29 Thread Shakeel Butt
Hi Dennis, On Sat, Dec 29, 2018 at 1:26 PM Dennis Zhou wrote: > > Hi Andrew, > > On Sat, Dec 29, 2018 at 01:03:52PM -0800, Andrew Morton wrote: > > On Fri, 28 Dec 2018 17:31:47 -0800 Shakeel Butt wrote: > > > > > __alloc_percpu_gfp() can be called from atomic context, so, make > > > pcpu_get_pag

Re: [PATCH] percpu: plumb gfp flag to pcpu_get_pages

2018-12-29 Thread Dennis Zhou
Hi Andrew, On Sat, Dec 29, 2018 at 01:03:52PM -0800, Andrew Morton wrote: > On Fri, 28 Dec 2018 17:31:47 -0800 Shakeel Butt wrote: > > > __alloc_percpu_gfp() can be called from atomic context, so, make > > pcpu_get_pages use the gfp provided to the higher layer. > > Does this fix any user-visib

Re: [PATCH] percpu: plumb gfp flag to pcpu_get_pages

2018-12-29 Thread Dennis Zhou
Hi Shakeel, On Fri, Dec 28, 2018 at 05:31:47PM -0800, Shakeel Butt wrote: > __alloc_percpu_gfp() can be called from atomic context, so, make > pcpu_get_pages use the gfp provided to the higher layer. > > Signed-off-by: Shakeel Butt > --- > mm/percpu-vm.c | 9 + > 1 file changed, 5 inser

: I need your urgent respons.

2018-12-29 Thread Mr Cobo Suleman
Dear Friend, I know that this mail will come to you as a surprise as we have never met before,I need your Urgent assistance in transferring the sum of $18 mllion US Dollars immediately to your Private account.The money has been here in our Bank lying dormant for years now without anybody coming

Re: [PATCH] percpu: plumb gfp flag to pcpu_get_pages

2018-12-29 Thread Andrew Morton
On Fri, 28 Dec 2018 17:31:47 -0800 Shakeel Butt wrote: > __alloc_percpu_gfp() can be called from atomic context, so, make > pcpu_get_pages use the gfp provided to the higher layer. Does this fix any user-visible issues?

Re: [GIT PULL 2/4] Kbuild updates for v4.21 part2

2018-12-29 Thread Linus Torvalds
On Fri, Dec 28, 2018 at 8:00 AM Masahiro Yamada wrote: > > Introduce a new option CONFIG_NO_AUTO_INLINE as well. With this option, > only functions explicitly marked with "inline" will be inlined. This > will allow the function tracer to trace more functions. Ugh. This causes new and bogus warnin

Re: [PATCH -mmotm] efi: drop kmemleak_ignore() for page allocator

2018-12-29 Thread Qian Cai
On 12/29/18 4:17 AM, Ard Biesheuvel wrote: > On Fri, 28 Dec 2018 at 04:04, Andrew Morton wrote: >> >> On Wed, 26 Dec 2018 16:31:59 +0100 Ard Biesheuvel >> wrote: >> >>> Please stop sending EFI patches if you can't be bothered to >>> test/reproduce against the EFI tree. >> >> um, sorry, but that'

Re: [PATCH v3 lora-next 5/5] net: lora: sx125x sx1301: allow radio to register as a clk provider

2018-12-29 Thread Andreas Färber
Am 29.12.18 um 20:25 schrieb Andreas Färber: > Am 12.10.18 um 18:26 schrieb Ben Whitten: >> +static int sx125x_register_clock_provider(struct sx125x_priv *priv) >> +{ >> +struct device *dev = priv->dev; >> +struct clk_init_data init; >> +const char *parent; >> +int ret; >> + >> +

Re: [PATCH] tools headers: move the nolibc header from rcutorture to tools/include/nolibc/

2018-12-29 Thread Willy Tarreau
On Sat, Dec 29, 2018 at 11:55:18AM -0800, Paul E. McKenney wrote: > On Sat, Dec 29, 2018 at 07:30:47PM +0100, Willy Tarreau wrote: > > On Sat, Dec 29, 2018 at 10:25:08AM -0800, Paul E. McKenney wrote: > > > On Sat, Dec 29, 2018 at 07:04:53PM +0100, Willy Tarreau wrote: > > > > As suggested by Ingo,

Re: [PATCH] tools headers: move the nolibc header from rcutorture to tools/include/nolibc/

2018-12-29 Thread Paul E. McKenney
On Sat, Dec 29, 2018 at 07:30:47PM +0100, Willy Tarreau wrote: > On Sat, Dec 29, 2018 at 10:25:08AM -0800, Paul E. McKenney wrote: > > On Sat, Dec 29, 2018 at 07:04:53PM +0100, Willy Tarreau wrote: > > > As suggested by Ingo, this header file might benefit other tools than > > > just rcutorture. Fo

Re: [GIT PULL] Documentation for 5.0

2018-12-29 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 09:06:22 -0700: > git://git.lwn.net/linux.git tags/docs-5.0 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3868772b99e3146d02cf47e739d79022eba1d77c Thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/us

Re: [GIT UPDATED PULL] cgroup changes for v4.21-rc1

2018-12-29 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 10:41:17 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6f9d71c9c759b1e7d31189a4de228983192c7dc7 Thank you! -- Deet-doot-dot, I am a bot. http

Re: [GIT PULL] cgroup changes for v4.21-rc1

2018-12-29 Thread pr-tracker-bot
The pull request you sent on Thu, 27 Dec 2018 18:16:05 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e250d91d65750a0c0c62483ac4f9f357e7317617 Thank you! -- Deet-doot-dot, I am a bot. http

[GIT PULL] dax fix for 4.21

2018-12-29 Thread Williams, Dan J
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/dax-fix-4.21 ...to receive a single fix for an issue you identified on the last dax fix pull request. While I feel a bit silly sending a single-commit pull-request there is nothing else queued up for da

Re: [PATCH 1/1] x86/gart/kcore: Exclude GART aperture from kcore

2018-12-29 Thread kbuild test robot
Hi Kairui, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.20 next-20181224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commi

Re: Re: [PATCH] netfilter: account ebt_table_info to kmemcg

2018-12-29 Thread Shakeel Butt
Hi Kirill, On Sat, Dec 29, 2018 at 1:52 AM Kirill Tkhai wrote: > > Hi, Michal! > > On 29.12.2018 10:33, Michal Hocko wrote: > > On Fri 28-12-18 17:55:24, Shakeel Butt wrote: > >> The [ip,ip6,arp]_tables use x_tables_info internally and the underlying > >> memory is already accounted to kmemcg. Do

Re: [PATCH] netfilter: account ebt_table_info to kmemcg

2018-12-29 Thread Shakeel Butt
On Sat, Dec 29, 2018 at 2:06 AM Michal Hocko wrote: > > On Sat 29-12-18 10:52:15, Florian Westphal wrote: > > Michal Hocko wrote: > > > On Fri 28-12-18 17:55:24, Shakeel Butt wrote: > > > > The [ip,ip6,arp]_tables use x_tables_info internally and the underlying > > > > memory is already accounted

Re: [PATCH v3 lora-next 5/5] net: lora: sx125x sx1301: allow radio to register as a clk provider

2018-12-29 Thread Andreas Färber
Hi Ben, + linux-lpwan, linux-clk, devicetree Am 12.10.18 um 18:26 schrieb Ben Whitten: > From: Ben Whitten > > The 32M is run from the radio, before we just enabled it based on > the radio number but now we can use the clk framework to request the > clk is started when we need it. > > The 32M

Re: [GIT PULL] Documentation for 5.0

2018-12-29 Thread Linus Torvalds
On Fri, Dec 28, 2018 at 8:06 AM Jonathan Corbet wrote: > > git://git.lwn.net/linux.git tags/docs-5.0 New signing key? And one that you forgot to push out to keyservers? Linus

Re: How to force RC to forward p2p TLPs

2018-12-29 Thread Logan Gunthorpe
On 2018-12-28 7:29 p.m., Bjorn Helgaas wrote: >> We use the p2p DMA to transfer data between these two endpoint SOCs, >> and if the host server is not enable ACS in BIOS, the p2p works well, >> but when ACS is enabled in BIOS, the p2p is always failed. With the >> help of a protocol analyzer, we

KASAN: stack-out-of-bounds Write in ax25_getname

2018-12-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8fe28cb58bcb Linux 4.20 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1604d02d40 kernel config: https://syzkaller.appspot.com/x/.config?x=7d581260bae0899a dashboard link: https://syzkaller.appsp

Re: [PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2018-12-29 Thread Pavel Machek
Hi! > >>With the "color" sysfs file it will make more sense to allow for user > >>defined color palettes. > >> > > > >I think defining these values in the device tree or acpi severely limits the > >devices > >capabilities. Especially in development phases. If the knobs were exposed > >then the

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-29 Thread Michael Schmitz
Christophe, Am 30.12.2018 um 05:55 schrieb LEROY Christophe: Michael Schmitz a écrit : Hi Finn, Am 29.12.2018 um 14:06 schrieb Finn Thain: On Fri, 28 Dec 2018, LEROY Christophe wrote: diff --git a/drivers/scsi/atari_scsi.c b/drivers/scsi/atari_scsi.c index 89f5154c40b6..99e5729d910d 100644

KASAN: use-after-free Read in x25_device_event

2018-12-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:38355a5f9a22 bnx2x: Fix NULL pointer dereference in bnx2x_.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=144e49ed40 kernel config: https://syzkaller.appspot.com/x/.config?x=7321a72d3309c029 dashboa

[PATCH] input_event: Provide override for sparc64

2018-12-29 Thread Deepa Dinamani
The usec part of the timeval is defined as __kernel_suseconds_ttv_usec; /* microseconds */ Arnd noticed that sparc64 is the only architecture that defines __kernel_suseconds_t as int rather than long. This breaks the current y2038 fix for kernel as we only access and define the timeval struct

Re: [GIT PULL] security: general updates for v4.21

2018-12-29 Thread Casey Schaufler
On 12/28/2018 8:15 PM, Linus Torvalds wrote: > On Fri, Dec 28, 2018 at 8:09 PM James Morris wrote: >> Yep, I understand what you mean. I can't find the discussion from several >> years ago, but developers asked to be able to work with more current >> kernels, and I recall you saying that if you wa

Re: [PATCH] doc: net: fix bad references to network drivers

2018-12-29 Thread Matthew Wilcox
On Sat, Dec 29, 2018 at 07:05:18PM +0100, Otto Sabart wrote: > Fix "reference to nonexisting document" warnings. > > Signed-off-by: Otto Sabart Fixes: b255e500c8dc ("net: documentation: build a directory structure for drivers")

Re: [PATCH 2/2] dt-bindings: edac: Aspeed AST2500

2018-12-29 Thread schaecsn
Hello Rob, > From: Rob Herring > > On Sun, Dec 16, 2018 at 10:01:57PM -0800, Stefan Schaeckeler wrote: > > From: Stefan M Schaeckeler > > > > Add support for the Aspeed AST2500 SoC EDAC driver. > > > > Signed-off-by: Stefan M Schaeckeler > > --- > > .../bindings/edac/aspeed-sdram-edac.txt

Re: [PATCH] tools headers: move the nolibc header from rcutorture to tools/include/nolibc/

2018-12-29 Thread Willy Tarreau
On Sat, Dec 29, 2018 at 10:25:08AM -0800, Paul E. McKenney wrote: > On Sat, Dec 29, 2018 at 07:04:53PM +0100, Willy Tarreau wrote: > > As suggested by Ingo, this header file might benefit other tools than > > just rcutorture. For now it's quite limited, but is easy to extend, so > > exposing it int

Re: [PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2018-12-29 Thread Jacek Anaszewski
On 12/21/18 2:05 PM, Dan Murphy wrote: On 12/21/2018 01:32 AM, Jacek Anaszewski wrote: On 12/20/18 9:31 PM, Jacek Anaszewski wrote: On 12/19/18 10:50 PM, Dan Murphy wrote: On 12/19/2018 03:36 PM, Jacek Anaszewski wrote: Hi Dan and Pavel, On 12/19/18 9:41 PM, Dan Murphy wrote: Pavel On 12/1

Re: [PATCH] tools headers: move the nolibc header from rcutorture to tools/include/nolibc/

2018-12-29 Thread Paul E. McKenney
On Sat, Dec 29, 2018 at 07:04:53PM +0100, Willy Tarreau wrote: > As suggested by Ingo, this header file might benefit other tools than > just rcutorture. For now it's quite limited, but is easy to extend, so > exposing it into tools/include/nolibc/ will make it much easier to > adopt by other tools

Re: [PATCH v2] media: venus: add debugfs support

2018-12-29 Thread kbuild test robot
Hi Malathi, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on next-20181224] [cannot apply to v4.20] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://git

Re: [PULL 00/25] Xtensa updates for v4.21

2018-12-29 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 10:31:20 -0800: > git://github.com/jcmvbkbc/linux-xtensa.git tags/xtensa-20181228 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9ef10340749e1da0c7fde609cedd5360f8484a0b Thank you! -- Deet-doot-dot, I am a bot. https://k

Re: [GIT PULL] nds32 new features and bug fix for 4.21

2018-12-29 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Dec 2018 16:24:01 +0800: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/greentime/linux.git > tags/nds32-for-linus-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/889bb74302e5aba85d987b4093344150984d7cda Thank you!

[PATCH] doc: net: fix bad references to network drivers

2018-12-29 Thread Otto Sabart
Fix "reference to nonexisting document" warnings. Signed-off-by: Otto Sabart --- Documentation/networking/index.rst | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Documentation/networking/index.rst b/Documentation/networking/index.rst index 6a47

Re: [GIT PULL] libnvdimm for 4.21

2018-12-29 Thread Dan Williams
On Sat, Dec 29, 2018 at 7:36 AM Konstantin Ryabitsev wrote: > > On Fri, Dec 28, 2018 at 09:57:28PM -0800, Linus Torvalds wrote: > > Hmm. > > > > This pull request doesn't seem to have gotten an automatic pr-tracker > > reply, even though I pulled it, and even though it was cc'd to lkml. > > > > Ko

[PATCH] tools headers: move the nolibc header from rcutorture to tools/include/nolibc/

2018-12-29 Thread Willy Tarreau
As suggested by Ingo, this header file might benefit other tools than just rcutorture. For now it's quite limited, but is easy to extend, so exposing it into tools/include/nolibc/ will make it much easier to adopt by other tools. The mkinitrd.sh script in rcutorture was updated to use this new loc

[PATCH 3/4] rcutorture/nolibc: add a bit of documentation to explain how to use nolibc

2018-12-29 Thread Willy Tarreau
Ingo rightfully asked for a bit more documentation in the nolibc header, so this patch adds some explanation about its purpose, how it's made, and how to use it. Cc: Ingo Molnar Cc: Paul E. McKenney Cc: Randy Dunlap Signed-off-by: Willy Tarreau --- tools/testing/selftests/rcutorture/bin/nolib

[PATCH 2/4] rcutorture/nolibc: fix some poor indentation and alignment

2018-12-29 Thread Willy Tarreau
A few macros had their rightmost backslash misaligned, and the pollfd struct definition resisted the previous code reindent. Nothing else changed. Cc: Paul E. McKenney Signed-off-by: Willy Tarreau --- tools/testing/selftests/rcutorture/bin/nolibc.h | 14 +++--- 1 file changed, 7 inserti

[PATCH 1/4] rcutorture/nolibc: fix the clobbered registers in the MIPS syscall definition

2018-12-29 Thread Willy Tarreau
A last-minute checkpatch cleanup caused most of list of clobbered registers to be lost in the MIPS syscall definition. As it is right now the code is not used on MIPS, but it's better to fix it before it gets used. Cc: Paul E. McKenney Signed-off-by: Willy Tarreau --- tools/testing/selftests/rc

[PATCH-v2 0/3] rcutorture: minor nolibc fixes

2018-12-29 Thread Willy Tarreau
While working on adding some documentation to the nolibc header provided with rcutorture, I noticed a few accidently deleted lines losing clobbered registers and some leftover spaces that I fixed. In addition, I finally added some documentation to the file, as requested by Ingo. v2: fixed some spe

Re: [PATCH 3/3] rcutorture/nolibc: add a bit of documentation to explain how to use nolibc

2018-12-29 Thread Willy Tarreau
Hi Randy, On Sat, Dec 29, 2018 at 08:50:09AM -0800, Randy Dunlap wrote: > This is a good summary IMO. Thanks. > And it's in good shape -- doesn't *require* any fixes. > But if you do make any changes to it, here are a few suggestions. :) Thanks very much. > > + * This file is designed to be us

KASAN: use-after-free Read in delete_and_unsubscribe_port

2018-12-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8fe28cb58bcb Linux 4.20 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=166859b340 kernel config: https://syzkaller.appspot.com/x/.config?x=7d581260bae0899a dashboard link: https://syzkaller.appsp

Re: KASAN: use-after-free Read in ax25_fillin_cb

2018-12-29 Thread Joerg Reuter
On Fri, Dec 28, 2018 at 02:51:04PM -0800, syzbot wrote: > BUG: KASAN: use-after-free in ax25_fillin_cb_from_dev net/ax25/af_ax25.c:450 > [inline] > BUG: KASAN: use-after-free in ax25_fillin_cb+0x6d5/0x810 > net/ax25/af_ax25.c:477 > Read of size 4 at addr 8881ccecc438 by task syz-executor5/1137

[PATCH] nvme: pci: Use the same attributes when freeing host_mem_desc_bufs.

2018-12-29 Thread Liviu Dudau
When using HMB the PCIe host driver allocates host_mem_desc_bufs using dma_alloc_attrs() but frees them using dma_free_coherent(). Use the correct dma_free_attrs() function to free the buffers. Found out while doing some code inspection to figure out broken NVMe support in linux-next-20181224. Wit

Re: [PATCH v8 20/25] powerpc, fbdev: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2018-12-29 Thread LEROY Christophe
Finn Thain a écrit : Make use of arch_nvram_ops in device drivers so that the nvram_* function exports can be removed. Since they are no longer global symbols, rename the PPC32 nvram_* functions appropriately. Signed-off-by: Finn Thain --- arch/powerpc/kernel/setup_32.c | 8

  1   2   >