Re: [PATCH 2/2] lib/genalloc.c: export symbol addr_in_gen_pool

2019-01-02 Thread Christoph Hellwig
On Mon, Dec 24, 2018 at 03:06:22PM +0800, Huang Shijie wrote: > We may use the addr_in_gen_pool() in the driver module. > So export the addr_in_gen_pool for the compiling. Please send this along with the driver that plans to use it.

Re: [PATCH v4 05/10] KVM/x86: expose MSR_IA32_PERF_CAPABILITIES to the guest

2019-01-02 Thread Wei Wang
On 01/03/2019 07:40 AM, Jim Mattson wrote: On Wed, Dec 26, 2018 at 2:01 AM Wei Wang wrote: Bits [0, 5] of MSR_IA32_PERF_CAPABILITIES tell about the format of the addresses stored in the LBR stack. Expose those bits to the guest when the guest lbr feature is enabled. Signed-off-by: Wei Wang

Re: [PATCH] kfifo: add memory barrier in kfifo to prevent data loss

2019-01-02 Thread xiaoguangrong(Xiao Guangrong)
On 12/12/18 8:50 AM, Kees Cook wrote: > On Mon, Dec 10, 2018 at 7:41 PM wrote: >> >> From: Yulei Zhang >> >> Early this year we spot there may be two issues in kernel >> kfifo. >> >> One is reported by Xiao Guangrong to linux kernel. >> https://lkml.org/lkml/2018/5/11/58 >> In current kfifo

[RFC v4 0/3] pstore/rom: new support logger for block devices

2019-01-02 Thread liaoweixiong
Why should we need pstore_rom? 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

[RFC v4 3/3] pstore/rom: support pmsg for pstore_rom

2019-01-02 Thread liaoweixiong
To enable pmsg, just set pmsg_size when block device register romzone. The pmsg have a single-boot lifetime, which means that zone of pmsg gets wiped after its contents get copied out after boot. Signed-off-by: liaoweixiong --- fs/pstore/romzone.c| 194

[RFC v4 2/3] pstore/rom: add sample for pstore_rom

2019-01-02 Thread liaoweixiong
It is a sample for pstore_rom, using general ram rather than block device. According to pstore_rom, the data will be saved to ram buffer if not register device path and apis for panic. So, it can only used to dump Oops and some things will not reboot. Signed-off-by: liaoweixiong ---

[RFC v4 1/3] pstore/rom: new support logger for block devices

2019-01-02 Thread liaoweixiong
pstore_rom is similar to pstore_ram, but dump log to block devices rather than persistent ram. Why should we need pstore_rom? 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

[PATCH] arm64: Mirror arm for small unimplemented compat syscalls

2019-01-02 Thread Pi-Hsun Shih
For syscall number smaller than 0xf, arm calls sys_ni_syscall instead of arm_syscall in arch/arm/kernel/entry-common.S, which returns -ENOSYS instead of raising SIGILL. Mirror this behavior for compat syscalls in arm64. Fixes: 532826f3712b607 ("arm64: Mirror arm for unimplemented compat

[PATCH] perf stat: Fix endless wait for child process

2019-01-02 Thread Jin Yao
We hit a perf stat issue by using following script. #!/bin/bash sleep 1000 & exec perf stat -a -e cycles -I1000 -- sleep 5 Since "perf stat" is launched by exec, so the "sleep 1000" would be the child process of "perf stat". The wait4() will not return because it's waiting for the child

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

2019-01-02 Thread Huang, Ying
Yang Shi writes: > 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 >

Re: Shaohua Li

2019-01-02 Thread Jinpu Wang
Guoqing Jiang 于2019年1月3日周四 上午4:16写道: > > > > On 1/3/19 1:13 AM, Jens Axboe wrote: > > Hi, > > > > I've got some very sad news to share with you - over Christmas, Shaohua > > Li passed away after battling cancer for most of last year. > > It is really a sad news and a big lost for the community

Re: [PATCH] kbuild: use assignment instead of define ... endef for filechk_* rules

2019-01-02 Thread Heiko Carstens
On Thu, Jan 03, 2019 at 10:16:54AM +0900, Masahiro Yamada wrote: > You do not have to use define ... endef for filechk_* rules. > > For simple cases, the use of assignment looks cleaner, IMHO. > > I updated the usage for scripts/Kbuild.include in case somebody > misunderstands the 'define ...

Re: use generic DMA mapping code in powerpc V4

2019-01-02 Thread Christoph Hellwig
Hi Christian, happy new year and I hope you had a few restful deays off. I've pushed a new tree to: git://git.infradead.org/users/hch/misc.git powerpc-dma.6 Gitweb: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/powerpc-dma.6 Which has been rebased to the latests Linus

RFC: gpio: mmio: add support for 3 direction regs

2019-01-02 Thread Fried, Ramon
Hi. I'm working on a driver for STA2X11 GPIO controller who seems to fit best to the generic mmio driver, the only problem I have is with the dir register case. The STA2X11 has 3 registers for dir, one for data, one for set and one for clear. The generic-mmio driver has support for this fashion

[PATCH V2 mips-fixes] MIPS: BCM47XX: Setup struct device for the SoC

2019-01-02 Thread Rafał Miłecki
From: Rafał Miłecki So far we never had any device registered for the SoC. This resulted in some small issues that we kept ignoring like: 1) Not working GPIOLIB_IRQCHIP (gpiochip_irqchip_add_key() failing) 2) Lack of proper tree in the /sys/devices/ 3) mips_dma_alloc_coherent() silently handling

Re: [PATCH 02/15] swiotlb: remove dma_mark_clean

2019-01-02 Thread Christoph Hellwig
On Wed, Jan 02, 2019 at 01:53:33PM -0800, Tony Luck wrote: > On Fri, Dec 7, 2018 at 11:08 AM Christoph Hellwig wrote: > > > > Instead of providing a special dma_mark_clean hook just for ia64, switch > > ia64 to use the normal arch_sync_dma_for_cpu hooks instead. > > > > This means that we now

Re: [PATCH v4 04/10] KVM/x86: intel_pmu_lbr_enable

2019-01-02 Thread Wei Wang
On 01/03/2019 07:26 AM, Jim Mattson wrote: On Wed, Dec 26, 2018 at 2:01 AM Wei Wang wrote: The lbr stack is architecturally specific, for example, SKX has 32 lbr stack entries while HSW has 16 entries, so a HSW guest running on a SKX machine may not get accurate perf results. Currently, we

Re: [BUG] dev_pm_opp refcount issue on Arm Juno r0

2019-01-02 Thread Viresh Kumar
On 20-12-18, 15:27, Valentin Schneider wrote: > Hi, > > While running some hotplug torture test [1] on my Juno r0 I came across > the follow splat: > > [ 716.561862] [ cut here ] > [ 716.566451] refcount_t: underflow; use-after-free. > [ 716.571240] WARNING: CPU: 2

Re: [PATCH v5 2/3] thermal: broadcom: Add Stingray thermal driver

2019-01-02 Thread Srinath Mannam
Hi Eduardo Valentin, Thank you for the review. I will address your comments in next patchset. Please find my comments in lined. On Thu, Jan 3, 2019 at 1:33 AM Eduardo Valentin wrote: > > On Tue, Oct 16, 2018 at 08:41:19PM +0530, Srinath Mannam wrote: > > From: Pramod Kumar > > > > Stingray SoC

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

2019-01-02 Thread Wei Wang
On 12/28/2018 03: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 by setting the related names[i] to be NULL. This patch series fixes the find_vqs

[GIT] Networking

2019-01-02 Thread David Miller
Several fixes here. Basically split down the line between newly introduced regressions and long existing problems: 1) Double free in tipc_enable_bearer(), from Cong Wang. 2) Many fixes to nf_conncount, from Florian Westphal. 3) op->get_regs_len() can throw an error, check it, from Yunsheng

Re: [GIT PULL] Please pull NFS client updates for 4.21

2019-01-02 Thread Trond Myklebust
On Thu, 2019-01-03 at 15:53 +1100, NeilBrown wrote: > On Wed, Jan 02 2019, Linus Torvalds wrote: > > > On Wed, Jan 2, 2019 at 2:42 PM Schumaker, Anna > > wrote: > > > We also were unable to track down a maintainer for Neil Brown's > > > changes to > > > the generic cred code that are

[PATCH v1 1/2] virtio-balloon: tweak config_changed implementation

2019-01-02 Thread Wei Wang
virtio-ccw has deadlock issues with reading config registers inside the interrupt context, so we tweak the virtballoon_changed implementation by moving the config read operations into the related workqueue contexts. Signed-off-by: Wei Wang --- drivers/virtio/virtio_balloon.c | 54

[PATCH v1 2/2] virtio-balloon: improve update_balloon_size_func

2019-01-02 Thread Wei Wang
There is no need to update the balloon actual register when there is no ballooning request. This patch avoids update_balloon_size when diff is 0. Signed-off-by: Wei Wang --- drivers/virtio/virtio_balloon.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v1 0/2] virtio-balloon: tweak config_changed

2019-01-02 Thread Wei Wang
Since virtio-ccw doesn't work with accessing to the config registers inside an interrupt context, this patch series avoids that issue by moving the config register accesses to the related workqueue contexts. Wei Wang (2): virtio-balloon: tweak config_changed implementation virtio-balloon:

Re: [PATCH v2 2/2] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2019-01-02 Thread Faiz Abbas
me realize that the >>> thermal zone API is incomplete. Or depending on how you put it, it >>> lacks object reference counting, unless I am missing something. >>> >>> For example, what happens if the thermal zone becomes unregistered >>> betwee

Re: [PATCH] RISC-V: Add _TIF_NEED_RESCHED check for kernel thread when CONFIG_PREEMPT=y

2019-01-02 Thread Guenter Roeck
On Thu, Jan 03, 2019 at 11:32:33AM +0800, Vincent Chen wrote: > The cond_resched() can be used to yield the CPU resource if > CONFIG_PREEMPT is not defined. Otherwise, cond_resched() is a dummy > function. In order to avoid kernel thread occupying entire CPU, > when CONFIG_PREEMPT=y, the kernel

knifeshack (Linux Property rights)

2019-01-02 Thread vsnsdualce
Let's say you had an old knife shack. Called Knife Shack InC. (you ain't incorporated, you just call it that, looks nice on the sign). On an old dusty road, telephone pole bout ready to fall down next typhoon hit. Behind yo knoif shack there is quite a body of water, now it's murky, but it is

Re: knifeshack (Linux Property rights) -- Why dislike short story?

2019-01-02 Thread vsnsdualce
On 2019-01-02 02:32, Mike Galbraith wrote: Take your medication. Why don't you like my short story?

Re: knifeshack (Linux Property rights)

2019-01-02 Thread vsnsdualce
On 2019-01-02 02:32, Mike Galbraith wrote: Take your medication. Don't like the story? Why what is wrong with it. Was it the entrance, the middle, or the conclusion? It simply explains licensing in a way you might find helpful, as it relates to linux.

(as you know) The FSF require contributors to their projects to assign ownership of the works to them...

2019-01-02 Thread vsnsdualce
A license without an attached interest is revocable by the owner of the property. The FSF require contributors to their projects to assign ownership of the works to them: For the FSF the license is not enough. Put two and two together.

Re: [RESEND PATCH V3 0/5] arm64/mm: Enable HugeTLB migration

2019-01-02 Thread Anshuman Khandual
On 12/18/2018 01:54 PM, Anshuman Khandual wrote: > This patch series enables HugeTLB migration support for all supported > huge page sizes at all levels including contiguous bit implementation. > Following HugeTLB migration support matrix has been enabled with this > patch series. All

Re: [PATCH] memcg: localize memcg_kmem_enabled() check

2019-01-02 Thread kbuild test robot
Hi Shakeel, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.20 next-20190102] [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

Re: [GIT PULL] Please pull NFS client updates for 4.21

2019-01-02 Thread NeilBrown
On Wed, Jan 02 2019, Linus Torvalds wrote: > On Wed, Jan 2, 2019 at 2:42 PM Schumaker, Anna > wrote: >> >> We also were unable to track down a maintainer for Neil Brown's changes to >> the generic cred code that are prerequisites to his RPC cred cleanup patches. >> We've been asking around for

Re: [RFC RESEND PATCH 0/7] Add driver for dvfsrc and add support for active state of scpsys on mt8183

2019-01-02 Thread Viresh Kumar
On 02-01-19, 22:09, Henry Chen wrote: > The patchsets add support for MediaTek hardware module named DVFSRC > (dynamic voltage and frequency scaling resource collector). The DVFSRC is > a HW module which is used to collect all the requests from both software > and hardware and turn into the

Re: [PATCH V1] i2c: tegra: Fix Maximum transfer size

2019-01-02 Thread kbuild test robot
Hi Sowjanya, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tegra/for-next] [also build test WARNING on v4.20 next-20190102] [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

Re: [PATCH v3] driver: uio: fix possible memory leak in uio_open

2019-01-02 Thread Xiubo Li
On 2019/1/3 22:28, liujian wrote: Fixes: 57c5f4df0a5a ("uio: fix crash after the device is unregistered") Signed-off-by: liujian --- v1->v2: rename the "err_infoopen" to "err_idev_info" v2->3: put the extra info after the "--" Looks good to me. Thanks. BRs drivers/uio/uio.c | 7 ---

Re: [RFC RESEND PATCH 4/7] arm64: dts: mt8183: add performance state support of scpsys

2019-01-02 Thread Viresh Kumar
On 02-01-19, 22:09, Henry Chen wrote: > Add support for performance state of scpsys on mt8183 platform. > > Signed-off-by: Henry Chen > --- > arch/arm64/boot/dts/mediatek/mt8183.dtsi | 21 + > 1 file changed, 21 insertions(+) > > diff --git

[PATCH v3] driver: uio: fix possible memory leak in uio_open

2019-01-02 Thread liujian
Fixes: 57c5f4df0a5a ("uio: fix crash after the device is unregistered") Signed-off-by: liujian --- v1->v2: rename the "err_infoopen" to "err_idev_info" v2->3: put the extra info after the "--" drivers/uio/uio.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] fsi:fsi-sbefifo: Fix possible concurrency use-after-free bugs in sbefifo_user_release

2019-01-02 Thread Benjamin Herrenschmidt
On Thu, 2019-01-03 at 14:27 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2019-01-02 at 09:34 +, David Howells wrote: > > Jia-Ju Bai wrote: > > > > > + mutex_lock(>file_lock); > > > sbefifo_release_command(user); > > > free_page((unsigned long)user->cmd_page); > > > +

Re: [PATCH] Initialise mmu_notifier_range correctly

2019-01-02 Thread Matthew Wilcox
On Wed, Jan 02, 2019 at 07:32:08PM -0800, John Hubbard wrote: > Having the range struct declared in separate places from the > mmu_notifier_range_init() > calls is not great. But I'm not sure I see a way to make it significantly > cleaner, given > that __follow_pte_pmd uses the range pointer as

Re: [alsa-devel] [PATCH v5 08/11] ASoC: Intel: atom: Make PCI dependency explicit

2019-01-02 Thread Chandan Rajendra
On Thursday, January 3, 2019 5:20:27 AM IST Pierre-Louis Bossart wrote: > > On 1/2/19 4:58 PM, Sinan Kaya wrote: > > On Wed, Jan 2, 2019 at 10:50 PM Pierre-Louis Bossart > > wrote: > >> > >>> This is pointing to a kconfig issue on ia64 arch. > >>> > >>> arch/ia64/Kconfig:128:error: recursive

Re: [PATCH] cpufreq / Documentation: Update cpufreq MAINTAINERS entry

2019-01-02 Thread Viresh Kumar
On 02-01-19, 12:13, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Update the MAINTAINERS entry for cpufreq by making it clear that it > is not just drivers and adding current documentation records to it. > > Signed-off-by: Rafael J. Wysocki > --- > MAINTAINERS |4 +++- > 1 file

[PATCH] RISC-V: Add _TIF_NEED_RESCHED check for kernel thread when CONFIG_PREEMPT=y

2019-01-02 Thread Vincent Chen
The cond_resched() can be used to yield the CPU resource if CONFIG_PREEMPT is not defined. Otherwise, cond_resched() is a dummy function. In order to avoid kernel thread occupying entire CPU, when CONFIG_PREEMPT=y, the kernel thread needs to follow the rescheduling mechanism like a user thread.

Re: [PATCH] libceph: protect pending flags in ceph_con_keepalive()

2019-01-02 Thread Myungho Jung
On Wed, Jan 02, 2019 at 04:42:47PM +0100, Ilya Dryomov wrote: > On Thu, Dec 27, 2018 at 8:08 PM Myungho Jung wrote: > > > > con_flag_test_and_set() sets CON_FLAG_KEEPALIVE_PENDING and > > CON_FLAG_WRITE_PENDING flags without protection in ceph_con_keepalive(). > > It triggers WARN_ON() in

Re: [PATCH] Initialise mmu_notifier_range correctly

2019-01-02 Thread John Hubbard
On 1/2/19 5:56 PM, Jerome Glisse wrote: > On Wed, Jan 02, 2019 at 04:21:26PM -0800, Matthew Wilcox wrote: >> >> One of the paths in follow_pte_pmd() initialised the mmu_notifier_range >> incorrectly. >> >> Signed-off-by: Matthew Wilcox >> Fixes: ac46d4f3c432 ("mm/mmu_notifier: use structure for

Re: [alsa-devel] [PATCH v5 08/11] ASoC: Intel: atom: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
+Tony On Wed, Jan 2, 2019 at 11:50 PM Pierre-Louis Bossart wrote: > > > On 1/2/19 4:58 PM, Sinan Kaya wrote: > > On Wed, Jan 2, 2019 at 10:50 PM Pierre-Louis Bossart > > wrote: > >> > >>> This is pointing to a kconfig issue on ia64 arch. > >>> > >>> arch/ia64/Kconfig:128:error: recursive

Re: [PATCH] fsi:fsi-sbefifo: Fix possible concurrency use-after-free bugs in sbefifo_user_release

2019-01-02 Thread Benjamin Herrenschmidt
On Wed, 2019-01-02 at 09:34 +, David Howells wrote: > Jia-Ju Bai wrote: > > > + mutex_lock(>file_lock); > > sbefifo_release_command(user); > > free_page((unsigned long)user->cmd_page); > > + mutex_unlock(>file_lock); > > It shouldn't be necessary to do the free_page() call

Re: possible deadlock in __wake_up_common_lock

2019-01-02 Thread Qian Cai
On 1/2/19 8:28 PM, Tetsuo Handa wrote: > On 2019/01/03 3:19, Qian Cai wrote: >> On 1/2/19 1:06 PM, Mel Gorman wrote: >> >>> While I recognise there is no test case available, how often does this >>> trigger in syzbot as it would be nice to have some confirmation any >>> patch is really fixing the

[PATCH v2 2/2] USB: storage: add quirk for SMI SM3350

2019-01-02 Thread Icenowy Zheng
The SMI SM3350 USB-UFS bridge controller cannot handle long sense request correctly and will make the chip refuse to do read/write when requested long sense. Add a bad sense quirk for it. Signed-off-by: Icenowy Zheng --- drivers/usb/storage/unusual_devs.h | 12 1 file changed, 12

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2019-01-02 Thread John Hubbard
On 1/2/19 5:55 PM, Jerome Glisse wrote: > On Wed, Dec 19, 2018 at 12:08:56PM +0100, Jan Kara wrote: >> On Tue 18-12-18 21:07:24, Jerome Glisse wrote: >>> On Tue, Dec 18, 2018 at 03:29:34PM -0800, John Hubbard wrote: OK, so let's take another look at Jerome's _mapcount idea all by itself

[PATCH v2 0/2] USB Storage quirk for SMI SM3350

2019-01-02 Thread Icenowy Zheng
SMI SM3350 UFS-USB bridge controller cannot handle REQUEST SENSE command with long sense (96-bytes) well, and will even trap the controller into a state that refuses to do read/write command. Currently Linux uncondintionally set US_FL_SANE_SENSE for devices claiming SPC3+, which makes simply add

[PATCH v2 1/2] USB: storage: don't insert sane sense for SPC3+ when bad sense specified

2019-01-02 Thread Icenowy Zheng
Currently the code will set US_FL_SANE_SENSE flag unconditionally if device claims SPC3+, however we should allow US_FL_BAD_SENSE flag to prevent this behavior, because SMI SM3350 UFS-USB bridge controller, which claims SPC4, will show strange behavior with 96-byte sense (put the chip into a wrong

[PATCH] vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel

2019-01-02 Thread Su Yanjun
Recently we run a network test over ipcomp virtual tunnel.We find that if a ipv4 packet needs fragment, then the peer can't receive it. We deep into the code and find that when packet need fragment the smaller fragment will be encapsulated by ipip not ipcomp. So when the ipip packet goes into

[PATCH v2] netfilter: account ebt_table_info to kmemcg

2019-01-02 Thread Shakeel Butt
The [ip,ip6,arp]_tables use x_tables_info internally and the underlying memory is already accounted to kmemcg. Do the same for ebtables. The syzbot, by using setsockopt(EBT_SO_SET_ENTRIES), was able to OOM the whole system from a restricted memcg, a potential DoS. By accounting the

linux-next: Tree for Jan 3

2019-01-02 Thread Stephen Rothwell
Hi all, Please do not add any material destined for the next merge window to your linux-next included trees until after -rc1 has been released. News: there will be no linux-next release tomorrow. Changes since 20190102: The vfs tree still had its build failure for which I applied a patch

RE: [PATCH] net: tsn: add an netlink interface between kernel and application layer

2019-01-02 Thread Po Liu
Hi Vinicius, Thanks! As comments below. Br, Po Liu > -Original Message- > From: Vinicius Costa Gomes [mailto:vinicius.go...@intel.com] > Sent: 2019年1月3日 3:02 > To: Po Liu ; net...@vger.kernel.org; linux- > ker...@vger.kernel.org > Cc: da...@davemloft.net; haus...@cisco.com;

[PATCH -next] um: Remove duplicated include from vector_user.c

2019-01-02 Thread YueHaibing
Remove duplicated include. Signed-off-by: YueHaibing --- arch/um/drivers/vector_user.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c index d2c17dd..b3f7b3c 100644 --- a/arch/um/drivers/vector_user.c +++

Re: [GIT PULL] Mailbox changes for v4.21

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Tue, 1 Jan 2019 23:34:36 -0600: > git://git.linaro.org/landing-teams/working/fujitsu/integration.git > tags/mailbox-v4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/35ddb06a467538434b4139fbf5c02a2ef073162a Thank you! --

Re: [PULL] virtio, vhost: features, fixes, cleanups

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Wed, 2 Jan 2019 16:23:23 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d548e65904ae43b0637d200a2441fc94e0589c30 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] one more clk change for the merge window

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Wed, 2 Jan 2019 09:53:42 -0800: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0f2107daec8137e1ea8bcd6df1323ffe46a2e873 Thank you! -- Deet-doot-dot,

Re: [git pull] Input updates for v4.21-rc0

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Wed, 2 Jan 2019 17:06:36 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/645ff1e8e704c4f33ab1fcd3c87f95cb9b6d7144 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] Device properties framework fixes for v4.21-rc1

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Wed, 2 Jan 2019 11:33:42 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git > devprop-4.21-rc1-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/01766d27d265afe7e93a8aa033afae5635d5aba0 Thank you! --

Re: [GIT PULL] s390 patches for the 4.21 merge window

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Wed, 2 Jan 2019 08:43:54 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-4.21-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/04a17edeca524b71dbb5be41a7002d247fbf34c0 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] UML changes for 4.21

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Wed, 02 Jan 2019 23:52:26 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git for-linus-4.21-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6aa293d8ff0939802a6c86cee6cd152c1b0a7a0d Thank you! -- Deet-doot-dot, I am a

[PATCH v2] driver: uio: fix possible memory leak in uio_open

2019-01-02 Thread liujian
v1->v2: rename the "err_infoopen" to "err_idev_info" Fixes: 57c5f4df0a5a ("uio: fix crash after the device is unregistered") Signed-off-by: liujian --- drivers/uio/uio.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index

Re: [PATCH V2] thermal: Fix locking in cooling device sysfs update cur_state

2019-01-02 Thread Zhang Rui
On 三, 2019-01-02 at 21:29 -0500, Thara Gopinath wrote: > On 11/27/2018 05:43 PM, Thara Gopinath wrote: > > > > Sysfs interface to update cooling device cur_state does not > > currently holding cooling device lock sometimes leading to > > stale values in cur_state if getting updated

[PATCH] In function rt274_i2c_probe(), if the regmap_read fails. The variable "val" could leave uninitialized but used in if statement.

2019-01-02 Thread Yizhuo
Signed-off-by: Yizhuo --- sound/soc/codecs/rt274.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt274.c b/sound/soc/codecs/rt274.c index 8f92e5c4dd9d..940658cac063 100644 --- a/sound/soc/codecs/rt274.c +++ b/sound/soc/codecs/rt274.c @@ -1113,7

Re: [PATCH v5 6/6] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-01-02 Thread Erin Lo
On Fri, 2018-12-28 at 16:11 -0600, Rob Herring wrote: > On Fri, Dec 28, 2018 at 04:09:41PM +0800, Erin Lo wrote: > > From: Ben Ho > > > > Add basic chip support for Mediatek 8183, include > > pinctrl file, uart node with correct uart clocks, pwrap device > > M4U, smi-common and smi-larbs. > > >

Re: [GIT PULL] nfsd

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Wed, 2 Jan 2019 15:43:07 -0500: > git://linux-nfs.org/~bfields/linux.git tags/nfsd-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e45428a436765fcd154d461a2739b5640916dc00 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] Please pull NFS client updates for 4.21

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Wed, 2 Jan 2019 22:42:32 +: > git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.21-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e6b92572808467f35fd159d47c45b650de29e722 Thank you! -- Deet-doot-dot, I am a bot.

Re: Shaohua Li

2019-01-02 Thread Guoqing Jiang
On 1/3/19 1:13 AM, Jens Axboe wrote: Hi, I've got some very sad news to share with you - over Christmas, Shaohua Li passed away after battling cancer for most of last year. It is really a sad news and a big lost for the community consider Shaohua's great contribution! As you know,

Re: [PATCH V2] thermal: Fix locking in cooling device sysfs update cur_state

2019-01-02 Thread Thara Gopinath
On 11/27/2018 05:43 PM, Thara Gopinath wrote: > Sysfs interface to update cooling device cur_state does not > currently holding cooling device lock sometimes leading to > stale values in cur_state if getting updated simultanelously > from user space and thermal framework. Adding the proper locking

Re: [RFC PATCH 6/7] soc: mediatek: add MT8183 dvfsrc support

2019-01-02 Thread Nicolas Boichat
On Wed, Jan 2, 2019 at 10:01 PM Henry Chen wrote: > > Add dvfsrc driver for MT8183 > > Signed-off-by: Henry Chen > --- > drivers/soc/mediatek/Kconfig | 15 ++ > drivers/soc/mediatek/Makefile | 1 + > drivers/soc/mediatek/mtk-dvfsrc.c | 473 > ++ >

Re: Please help!: Keyboard backlight not working on my NP900X5N laptop

2019-01-02 Thread Darren Hart
On Thu, Jan 03, 2019 at 12:20:15AM +0100, Jan Vlietland wrote: > Hi guys, > > Sorry but still walking with this bug under my arm. > > I can't find the right group to file the bug on bugzilla and also on > freenode I cannot find the right group. > > Please help! Hi Jan, I responded to your

Re: [PATCH] x86/retpoline: change RETPOLINE into CONFIG_RETPOLINE

2019-01-02 Thread Zhenzhong Duan
On 2019/1/3 1:23, Nadav Amit wrote: On Jan 1, 2019, at 5:17 PM, Zhenzhong Duan wrote: On 2019/1/1 7:42, Nadav Amit wrote: A recent enhancement intentionally fails the kernel build if the compiler does not support retpolines and CONFIG_RETPOLINE is set. However, the patch that introduced

Re: [PATCH -next] IB/qib: Add missing err handle for qib_user_sdma_rb_insert

2019-01-02 Thread YueHaibing
On 2019/1/3 3:07, Jason Gunthorpe wrote: > On Wed, Jan 02, 2019 at 08:40:50PM +0200, Leon Romanovsky wrote: >> On Wed, Jan 02, 2019 at 10:12:24AM -0700, Jason Gunthorpe wrote: >>> On Fri, Dec 21, 2018 at 10:19:38AM +0800, YueHaibing wrote: It should goto err handle if qib_user_sdma_rb_insert

Re: [PATCH v9 1/2] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support

2019-01-02 Thread Randy Dunlap
Hi, While you are making changes, here are a few more: On 1/2/19 5:39 PM, Nicolas Boichat wrote: > diff --git a/drivers/dma/mediatek/Kconfig b/drivers/dma/mediatek/Kconfig > index 27bac0b..1a523c87 100644 > --- a/drivers/dma/mediatek/Kconfig > +++ b/drivers/dma/mediatek/Kconfig > @@ -1,4 +1,15

Re: Keyboard backlight not working on my NP900X5N laptop

2019-01-02 Thread Darren Hart
On Mon, Dec 31, 2018 at 08:40:43PM +0100, Jan Vlietland wrote: > Hi all, > Hey Jan, > Greg K-H suggested to mail you guys. > > I installed Linux 4.20.0-rc7 (downloaded, compiled and installed) on a > Samsung NP900X5N laptop and have noticed 3 bugs. 2 of them I found in > Bugzilla and replied

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

2019-01-02 Thread NeilBrown
On Wed, Jan 02 2019, Jeff Layton wrote: > On Thu, 2019-01-03 at 11:04 +1100, NeilBrown wrote: >> On Wed, Jan 02 2019, Jeff Layton wrote: >> >> > On Wed, 2019-01-02 at 02:31 -0800, syzbot wrote: >> > > Hello, >> > > >> > > syzbot found the following crash on: >> > > >> > > HEAD commit:

[PATCH] memcg: schedule high reclaim for remote memcgs on high_work

2019-01-02 Thread Shakeel Butt
If a memcg is over high limit, memory reclaim is scheduled to run on return-to-userland. However it is assumed that the memcg is the current process's memcg. With remote memcg charging for kmem or swapping in a page charged to remote memcg, current process can trigger reclaim on remote memcg. So,

Re: [PATCH] Initialise mmu_notifier_range correctly

2019-01-02 Thread Jerome Glisse
On Wed, Jan 02, 2019 at 04:21:26PM -0800, Matthew Wilcox wrote: > > One of the paths in follow_pte_pmd() initialised the mmu_notifier_range > incorrectly. > > Signed-off-by: Matthew Wilcox > Fixes: ac46d4f3c432 ("mm/mmu_notifier: use structure for > invalidate_range_start/end calls v2") >

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2019-01-02 Thread Jerome Glisse
On Wed, Dec 19, 2018 at 12:08:56PM +0100, Jan Kara wrote: > On Tue 18-12-18 21:07:24, Jerome Glisse wrote: > > On Tue, Dec 18, 2018 at 03:29:34PM -0800, John Hubbard wrote: > > > OK, so let's take another look at Jerome's _mapcount idea all by itself > > > (using > > > *only* the tracking pinned

Re: [RFC PATCH 3/7] soc: mediatek: add support for the performance state

2019-01-02 Thread Nicolas Boichat
On Wed, Jan 2, 2019 at 10:01 PM Henry Chen wrote: > > Support power domain performance state, add header file for scp event. > > Signed-off-by: Henry Chen > --- > drivers/soc/mediatek/mtk-scpsys.c | 60 > +++ > drivers/soc/mediatek/mtk-scpsys.h | 22

[PATCH] kbuild: remove unnecessary stubs for archheader and archscripts

2019-01-02 Thread Masahiro Yamada
Make simply skips a missing rule when it is marked as .PHONY. Remove the dummy targets. Signed-off-by: Masahiro Yamada --- Makefile | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 62c9890..0f0f689 100644 --- a/Makefile +++ b/Makefile @@

linux-next: manual merge of the vhost tree with Linus' tree

2019-01-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the vhost tree got a conflict in: drivers/virtio/virtio_ring.c between commit: 138fd2514863 ("virtio_ring: add _split suffix for split ring functions") and various other commits from Linus' tree and commit: 7f86a211fabe ("virtio: use

Re: [PATCH v9 1/2] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support

2019-01-02 Thread Nicolas Boichat
On Wed, Jan 2, 2019 at 10:13 AM Long Cheng wrote: > > In DMA engine framework, add 8250 uart dma to support MediaTek uart. > If MediaTek uart enabled(SERIAL_8250_MT6577), and want to improve > the performance, can enable the function. > > Signed-off-by: Long Cheng > --- >

[PATCH v2] kbuild: remove unnecessary in-subshell execution

2019-01-02 Thread Masahiro Yamada
The commands surrounded by ( ) are executed in a subshell, but in most cases, we do not need to spawn an extra subshell. Signed-off-by: Masahiro Yamada --- Changes in v2: - fix build error of CONFIG_MODVERSIONS scripts/Makefile.build | 4 ++-- scripts/Makefile.lib | 28

Re: [PATCH v2] misc: mic: fix a DMA pool free failure

2019-01-02 Thread Sudeep Dutt
On Tue, 2018-12-04 at 09:16 -0600, Wenwen Wang wrote: > In _scif_prog_signal(), a DMA pool is allocated if the MIC Coprocessor is > not X100, i.e., the boolean variable 'x100' is false. This DMA pool will be > freed eventually through the callback function scif_prog_signal_cb() with > the

Re: possible deadlock in __wake_up_common_lock

2019-01-02 Thread Tetsuo Handa
On 2019/01/03 3:19, Qian Cai wrote: > On 1/2/19 1:06 PM, Mel Gorman wrote: > >> While I recognise there is no test case available, how often does this >> trigger in syzbot as it would be nice to have some confirmation any >> patch is really fixing the problem. > > I think I did manage to trigger

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

2019-01-02 Thread Jeff Layton
On Thu, 2019-01-03 at 11:04 +1100, NeilBrown wrote: > On Wed, Jan 02 2019, Jeff Layton wrote: > > > On Wed, 2019-01-02 at 02:31 -0800, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:e1ef035d272e Merge tag 'armsoc-defconfig' of > > >

[PATCH] kbuild: use assignment instead of define ... endef for filechk_* rules

2019-01-02 Thread Masahiro Yamada
You do not have to use define ... endef for filechk_* rules. For simple cases, the use of assignment looks cleaner, IMHO. I updated the usage for scripts/Kbuild.include in case somebody misunderstands the 'define ... endif' is the requirement. Signed-off-by: Masahiro Yamada --- Kbuild

Re: [PATCH 4/4] kbuild: make LINUX_VERSION_CODE in more readable

2019-01-02 Thread Masahiro Yamada
On Mon, Dec 31, 2018 at 5:25 PM Masahiro Yamada wrote: > > Makefile does not need to calculate LINUX_VERSION_CODE. > Let's leave it to the preprocessor. > > This commit changes include/generated/uapi/linux/version.h as follows: > > Before: > > #define LINUX_VERSION_CODE 267264 > #define

[PATCH 4/5] arch: remove redundant generic-y defines

2019-01-02 Thread Masahiro Yamada
Now that Kbuild automatically creates asm-generic wrappers for missing mandatory headers, it is redundant to list the same headers in generic-y and mandatory-y. Suggested-by: Sam Ravnborg Signed-off-by: Masahiro Yamada Acked-by: Sam Ravnborg --- Changes in v2: - update csky as well -

[PATCH 5/5] kbuild: warn redundant generic-y

2019-01-02 Thread Masahiro Yamada
The generic-y is redundant under the following condition: - arch has its own implementation - the same header is added to generated-y - the same header is added to mandatory-y If a redundant generic-y is found, the warning like follows is displayed: scripts/Makefile.asm-generic:20:

[PATCH 1/5] riscv: remove redundant kernel-space generic-y

2019-01-02 Thread Masahiro Yamada
This commit removes redundant generic-y defines in arch/riscv/include/asm/Kbuild. [1] It is redundant to define the same generic-y in both arch/$(ARCH)/include/asm/Kbuild and arch/$(ARCH)/include/uapi/asm/Kbuild. Remove the following generic-y: errno.h fcntl.h

[PATCH 2/5] arch: remove stale comments "UAPI Header export list"

2019-01-02 Thread Masahiro Yamada
These comments are leftovers of commit fcc8487d477a ("uapi: export all headers under uapi directories"). Prior to that commit, exported headers must be explicitly added to header-y. Now, all headers under the uapi/ directories are exported. Signed-off-by: Masahiro Yamada --- Changes in v2:

[PATCH 3/5] kbuild: generate asm-generic wrappers if mandatory headers are missing

2019-01-02 Thread Masahiro Yamada
Some time ago, Sam pointed out a certain degree of overwrap between generic-y and mandatory-y. (https://lkml.org/lkml/2017/7/10/121) I tweaked the meaning of mandatory-y a little bit; now it defines the minimum set of ASM headers that all architectures must have. If arch does not have specific

[git pull] Input updates for v4.21-rc0

2019-01-02 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. A tiny pull request this merge window unfortunately, should get more material in for the next release. - new driver for Raspberry Pi's

Re: [PATCH 2/2] m68k: generate uapi header and syscall table header files

2019-01-02 Thread kbuild test robot
Hi Firoz, Thank you for the patch! Yet something to improve: [auto build test ERROR on m68k/for-next] [also build test ERROR on next-20190102] [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://github.com

  1   2   3   4   5   6   >