Re: [HELP] CPU Hard LOCKUP during boot up with HPET clock source

2018-04-08 Thread Pintu Kumar
Hi, As a simple query, Is there a way to skip current available clock source (hpet) and allow to pick the next one ? I guess this will solve our purpose. Thanks, Pintu On Fri, Apr 6, 2018 at 8:37 PM, Pintu Kumar wrote: > Hi, > > First the few details: > Kernel: 4.9.20 > Machine: x86_64 (AMD)

Re: [PATCH 0/3] syscalls: clean up stub naming convention

2018-04-08 Thread Dominik Brodowski
On Mon, Apr 09, 2018 at 08:45:11AM +0200, Ingo Molnar wrote: > > * Dominik Brodowski wrote: > > > On Sun, Apr 08, 2018 at 10:35:50AM +0200, Ingo Molnar wrote: > > > - _sys_waitid() # ridiculous number of underscores? > > > - __sys_waitid() # too generic sounding? > > > > ..

Re: [PATCH] ASoC: fsl_ssi: Fix mode setting when changing channel number

2018-04-08 Thread Mika Penttilä
On 04/08/2018 07:40 AM, Nicolin Chen wrote: > This is a partial revert (in a cleaner way) of commit ebf08ae3bc90 > ("ASoC: fsl_ssi: Keep ssi->i2s_net updated") to fix a regression > at test cases when switching between mono and stereo audio. > > The problem is that ssi->i2s_net is initialized in s

Re: [PATCH 0/3] syscalls: clean up stub naming convention

2018-04-08 Thread Dominik Brodowski
On Mon, Apr 09, 2018 at 08:49:45AM +0200, Ingo Molnar wrote: > > * Dominik Brodowski wrote: > > > +emit_stub() { > > +entry="$1" > > +if [ "${entry}" != "${entry#__ia32_sys_}" ]; then > > + # We need a stub named __ia32_sys which is common to 64-bit > > + # except for a different pt_

Re: [PATCH 0/3] syscalls: clean up stub naming convention

2018-04-08 Thread Ingo Molnar
* Dominik Brodowski wrote: > +emit_stub() { > +entry="$1" > +if [ "${entry}" != "${entry#__ia32_sys_}" ]; then > + # We need a stub named __ia32_sys which is common to 64-bit > + # except for a different pt_regs layout. > + stubname=${entry#__ia32_sys_} > + echo "#define

Re: [PATCH v5] ANDROID: binder: change down_write to down_read

2018-04-08 Thread Ganesh Mahendran
2018-04-09 14:40 GMT+08:00 Minchan Kim : > Hi Ganesh, > > Isn't there any update? We were on vacation a few days ago. After the test complete, I will update the result immediately. Thanks. > > On Mon, Apr 2, 2018 at 7:32 PM, Minchan Kim wrote: >> Hi Ganesh, >> >> On Mon, Apr 02, 2018 at 06:01:5

Re: [PATCH 0/3] syscalls: clean up stub naming convention

2018-04-08 Thread Ingo Molnar
* Dominik Brodowski wrote: > On Sun, Apr 08, 2018 at 10:35:50AM +0200, Ingo Molnar wrote: > > - _sys_waitid() # ridiculous number of underscores? > > - __sys_waitid() # too generic sounding? > > ... and we'd need to rename internal helpers in net/ > > > - __inline_sys_wa

nouveau: swiotlb buffer is full (sz: 2097152 bytes)/swiotlb: coherent allocation failed, size=2097152 spam

2018-04-08 Thread Mike Galbraith
Greetings, Box is i4790 w. GTX 980 running virgin master (.today). All I have to do to trigger a slew of these warnings is to fire up firefox, point it at a youtube clip, and let it autoplay while I do routine kernel merge/build maintenance. nouveau doesn't seem to care deeply, but moans again a

Re: [Qemu-devel] [RFC] qemu: Add virtio pmem device

2018-04-08 Thread David Hildenbrand
On 09.04.2018 05:26, Stefan Hajnoczi wrote: > On Thu, Apr 05, 2018 at 08:09:26AM -0400, Pankaj Gupta wrote: >>> Will this raw file already have the "disk information header" (no idea >>> how that stuff is called) encoded? Are there any plans/possible ways to >>> >>> a) automatically create the head

[PATCH 2/2] i2c: sprd: Fix the i2c count issue

2018-04-08 Thread Baolin Wang
We found the I2C controller count register is unreliable sometimes, that will cause I2C to lose data. Thus we can read the data count from 'i2c_dev->count' instead of the I2C controller count register. Signed-off-by: Baolin Wang --- drivers/i2c/busses/i2c-sprd.c |6 ++ 1 file changed, 2

[PATCH 1/2] i2c: sprd: Prevent i2c accesses after suspend is called

2018-04-08 Thread Baolin Wang
Add one flag to indicate if the i2c controller has been in suspend state, which can prevent i2c accesses after i2c controller is suspended following system suspend. Signed-off-by: Baolin Wang --- drivers/i2c/busses/i2c-sprd.c | 16 1 file changed, 16 insertions(+) diff --git

Re: [PATCH v5] ANDROID: binder: change down_write to down_read

2018-04-08 Thread Minchan Kim
Hi Ganesh, Isn't there any update? On Mon, Apr 2, 2018 at 7:32 PM, Minchan Kim wrote: > Hi Ganesh, > > On Mon, Apr 02, 2018 at 06:01:59PM +0800, Ganesh Mahendran wrote: >> 2018-04-02 15:11 GMT+08:00 Minchan Kim : >> > On Mon, Apr 02, 2018 at 02:46:14PM +0800, Ganesh Mahendran wrote: >> >> 2018-0

[PATCH net-next 0/3] ave: fix the activation issues for some UniPhier SoCs

2018-04-08 Thread Kunihiko Hayashi
This add the following stuffs to fix the activation issues and satisfy requirements for AVE ethernet driver implemented on some UniPhier SoCs. - Add support for additional necessary clocks and resets, because the kernel is stalled on Pro4 due to lack of them. - Check whether the SoC supports th

Re: [PATCH 0/3] syscalls: clean up stub naming convention

2018-04-08 Thread Ingo Molnar
* Dominik Brodowski wrote: > > One more fundamental question: why do we have the __do_sys_waitid() and > > __inline_sys_waitid() distinction - aren't the function call signatures the > > same > > with no conversion done? > > > > I.e. couldn't we just do a single, static __do_sys_waitid(), whe

[PATCH net-next 2/3] dt-bindings: net: ave: add syscon-phy-mode property to configure phy-mode setting

2018-04-08 Thread Kunihiko Hayashi
Add "socionext,syscon-phy-mode" property to specify system controller that configures the settings about phy-mode. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Docume

[PATCH net-next 3/3] net: ethernet: ave: add support for phy-mode setting of system controller

2018-04-08 Thread Kunihiko Hayashi
This patch adds support for specifying system controller that configures phy-mode setting. According to the DT property "phy-mode", it's necessary to configure the controller, which is used to choose the settings of the MAC suitable, for example, mdio pin connections, internal clocks, and so on.

[PATCH net-next 1/3] net: ethernet: ave: add multiple clocks and resets support as required property

2018-04-08 Thread Kunihiko Hayashi
When the link is becoming up for Pro4 SoC, the kernel is stalled due to some missing clocks and resets. The AVE block for Pro4 is connected to the GIO bus in the SoC. Without its clock/reset, the access to the AVE register makes the system stall. In the same way, another MAC clock for Giga-bit Co

Re: [PATCH] checkpatch: relax check for revert commit

2018-04-08 Thread Jia He
On 4/9/2018 1:07 AM, Joe Perches Wrote: On Sun, 2018-04-08 at 10:12 +0800, Jia He wrote: Hi Andy & Joe Although it is minor, it is a real bug, I thought. Is there any comment? Thank you If you really want to do something useful here, quote the quote characters and compare for that. Hi Jo

Re: [PATCH] genirq: only scan the present CPUs

2018-04-08 Thread Dou Liyang
Hi Peter, At 04/06/2018 05:05 PM, Peter Zijlstra wrote: On Fri, Apr 06, 2018 at 11:02:28AM +0200, Peter Zijlstra wrote: On Fri, Apr 06, 2018 at 04:42:14PM +0800, Dou Liyang wrote: Hi Thomas, Peter, At 04/03/2018 07:23 PM, Peter Zijlstra wrote: On Tue, Apr 03, 2018 at 12:25:56PM +0200, Thomas

Grüße von Frau Jordanka

2018-04-08 Thread noreply
Nachricht des Absenders: /Guten Morgen, Bitte schämen Sie sich nicht, diese Nachricht zu lesen, weil Sie der beabsichtigte Empfänger sind. Ich habe deine E-Mail-Adresse über ein Verzeichnis gesehen und ich habe dich kontaktiert, weil ich dringend deine Hilfe benötigt habe. Mein Name ist Frau Yorda

Grüße von Frau Jordanka

2018-04-08 Thread noreply
Nachricht des Absenders: /Guten Morgen, Bitte schämen Sie sich nicht, diese Nachricht zu lesen, weil Sie der beabsichtigte Empfänger sind. Ich habe deine E-Mail-Adresse über ein Verzeichnis gesehen und ich habe dich kontaktiert, weil ich dringend deine Hilfe benötigt habe. Mein Name ist Frau Yorda

[PATCH v4 1/3] clk: qcom: Clear hardware clock control bit of RCG

2018-04-08 Thread Amit Nischal
For upcoming targets like sdm845, POR value of the hardware clock control bit is set for most of root clocks which needs to be cleared for software to be able to control. For older targets like MSM8996, this bit is reserved bit and having POR value as 0 so this patch will work for the older targets

[PATCH] blk-throttle: only update last_low_overflow_time when LIMIT_MAX

2018-04-08 Thread Jianchao Wang
Currently, last_low_overflow_time will be updated whenever bios are throttled and queued. This is true when LIMIT_MAX, but not for LIMIT_LOW. what last_low_overflow_time indicates is dispatching not submitting. When LIMIT_LOW, the dispatch bps/iops should never be above the low limit, we should not

[PATCH v4 3/3] clk: qcom: Add Global Clock controller (GCC) driver for SDM845

2018-04-08 Thread Amit Nischal
From: Taniya Das Add support for the global clock controller found on SDM845 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Signed-off-by: Taniya Das Signed-off-by: Amit Nischal --- .../devicetree/bindings/clock/qcom,gcc.txt |

[PATCH] blk-throttle: discard stale last_low_overflow_time

2018-04-08 Thread Jianchao Wang
When there is only one type of traffic, the associated last_low_overflow_time will not be updated, so the value is stale and invalid and we should discard it. Otherwise, __tg_last_low_overflow_time always return the stale value because it is smaller, and then we always get bps/iops has been below l

[PATCH v4 0/3] Misc patches to support clocks for SDM845

2018-04-08 Thread Amit Nischal
Changes in v4: 1. Adressed review comments for v2 version of GCC driver for SDM845 https://lkml.org/lkml/2018/4/9/55. 2. The GCC clock driver(patch 3) depends upon the below patches related to GDSC operation and are under review. https://lkml.org/lkml/2018/4/2/142 Changes in v3: 1. Adres

[PATCH v4 2/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-04-08 Thread Amit Nischal
For some root clock generators, there could be child branches which are controlled by an entity other than application processor subsystem. For such RCGs, as per application processor subsystem clock driver, all of its downstream clocks are disabled and RCG is in disabled state but in reality downs

Dear Talented

2018-04-08 Thread Lisa Clement
Dear Talented, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story of

[PATCH v2 2/3] arm64: usercopy: implement arch_within_stack_frames

2018-04-08 Thread kpark3469
From: James Morse This implements arch_within_stack_frames() for arm64 that should validate if a given object is contained by a kernel stack frame. Signed-off-by: James Morse Reviewed-by: Sahara Reviewed-by: Kees Cook --- arch/arm64/Kconfig | 1 + arch/arm64/kernel/stacktrace.c

[PATCH v2 3/3] x86: usercopy: reimplement arch_within_stack_frames with unwinder

2018-04-08 Thread kpark3469
From: Sahara The old arch_within_stack_frames which used the frame pointer is now reimplemented to use frame pointer unwinder apis. So the main functionality is same as before. Signed-off-by: Sahara --- arch/x86/include/asm/unwind.h | 5 arch/x86/kernel/stacktrace.c | 64 +

[PATCH v2 1/3] stacktrace: move arch_within_stack_frames from thread_info.h

2018-04-08 Thread kpark3469
From: Sahara Since the inlined arch_within_stack_frames function was placed within asm/thread_info.h, using stacktrace functions to unwind stack was restricted. Now in order to have this function use more abundant apis, it is moved to architecture's stacktrace.c. And, it is changed from inline to

[PATCH v2 0/3] usercopy: reimplement arch_within_stack_frames

2018-04-08 Thread kpark3469
From: Sahara This series of patches introduce the arm64 arch_within_stack_frames implementation using stacktrace functions. Also the base code is moved from thread_info.h to stacktrace.h. x86 code is reimplemented to use frame pointer unwinder functions. Note: The code is still missing in case o

Re: WARNING in ip_rt_bug

2018-04-08 Thread Dmitry Vyukov
On Mon, Apr 9, 2018 at 7:59 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on net-next commit > 8bde261e535257e81087d39ff808414e2f5aa39d (Sun Apr 1 02:31:43 2018 +) > Merge tag 'mlx5-updates-2018-03-30' of > git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux > syzbot dash

Re: [PATCH v31 2/4] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-04-08 Thread Michael S. Tsirkin
On Fri, Apr 06, 2018 at 08:17:23PM +0800, Wei Wang wrote: > Negotiation of the VIRTIO_BALLOON_F_FREE_PAGE_HINT feature indicates the > support of reporting hints of guest free pages to host via virtio-balloon. > > Host requests the guest to report free page hints by sending a new cmd > id to the g

WARNING in ip_rt_bug

2018-04-08 Thread syzbot
Hello, syzbot hit the following crash on net-next commit 8bde261e535257e81087d39ff808414e2f5aa39d (Sun Apr 1 02:31:43 2018 +) Merge tag 'mlx5-updates-2018-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=b09

WARNING in ip_rt_bug

2018-04-08 Thread syzbot
Hello, syzbot hit the following crash on net-next commit 8bde261e535257e81087d39ff808414e2f5aa39d (Sun Apr 1 02:31:43 2018 +) Merge tag 'mlx5-updates-2018-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=b09

BUG: soft lockup in snd_virmidi_output_trigger

2018-04-08 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 3fd14cdcc05a682b03743683ce3a726898b20555 (Fri Apr 6 19:15:41 2018 +) Merge tag 'mtd/for-4.17' of git://git.infradead.org/linux-mtd syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=619d9f40141d826b097e Unfortunately, I

Re: KASAN: slab-out-of-bounds Read in pfkey_add

2018-04-08 Thread Kevin Easton
On Sun, Apr 08, 2018 at 09:04:33PM -0700, Eric Biggers wrote: ... > > Looks like this is going to be fixed by > https://patchwork.kernel.org/patch/10327883/ ("af_key: Always verify length of > provided sadb_key"), but it's not applied yet to the ipsec tree yet. Kevin, > for > future reference, f

[PATCH v3 1/4] zram: correct flag name of ZRAM_ACCESS

2018-04-08 Thread Minchan Kim
ZRAM_ACCESS is used for locking a slot of zram so correct the name. It is also not a common flag to indicate status of the block so move the declare position on top of the flag. Lastly, let's move the function to the top of source code to be able to use it easily without forward declaration. Signe

[PATCH v3 2/4] zram: mark incompressible page as ZRAM_HUGE

2018-04-08 Thread Minchan Kim
Mark incompressible pages so that we could investigate who is the owner of the incompressible pages once the page is swapped out via using upcoming zram memory tracker feature. With it, we could prevent such pages to be swapped out by using mlock. Otherwise we might remove them. This patch expose

[PATCH v3 0/4] zram memory tracking

2018-04-08 Thread Minchan Kim
zRam as swap is useful for small memory device. However, swap means those pages on zram are mostly cold pages due to VM's LRU algorithm. Especially, once init data for application are touched for launching, they tend to be not accessed any more and finally swapped out. zRAM can store such cold page

[PATCH v3 4/4] zram: introduce zram memory tracking

2018-04-08 Thread Minchan Kim
zRam as swap is useful for small memory device. However, swap means those pages on zram are mostly cold pages due to VM's LRU algorithm. Especially, once init data for application are touched for launching, they tend to be not accessed any more and finally swapped out. zRAM can store such cold page

[PATCH v3 3/4] zram: record accessed second

2018-04-08 Thread Minchan Kim
zRam as swap is useful for small memory device. However, swap means those pages on zram are mostly cold pages due to VM's LRU algorithm. Especially, once init data for application are touched for launching, they tend to be not accessed any more and finally swapped out. zRAM can store such cold page

Re: [PATCH] vhost-net: set packet weight of tx polling to 2 * vq size

2018-04-08 Thread Michael S. Tsirkin
On Mon, Apr 09, 2018 at 04:09:20AM +, haibinzhang(张海斌) wrote: > > > On Fri, Apr 06, 2018 at 08:22:37AM +, haibinzhang(张海斌) wrote: > > > handle_tx will delay rx for tens or even hundreds of milliseconds when tx > > > busy > > > polling udp packets with small length(e.g. 1byte udp payload),

Re: [PATCH] crypto: DRBG - guard uninstantion by lock

2018-04-08 Thread Stephan Mueller
Am Montag, 9. April 2018, 00:46:03 CEST schrieb Theodore Y. Ts'o: Hi Theodore, > > So the syzbot will run while the patch goes through the normal e-mail > review process, which is kind of neat. :-) Thank you very much for the hint. That is a neat feature indeed. As I came late to the party and

Re: [PATCH 4/4] x86: usercopy: reimplement arch_within_stack_frames with unwinder

2018-04-08 Thread Keun-O Park
Hi Kees, On Thu, Apr 5, 2018 at 3:11 AM, Kees Cook wrote: > [resending with the CCs I forgot...] > > On Thu, Mar 1, 2018 at 2:19 AM, wrote: >> From: Sahara >> >> The old arch_within_stack_frames which used the frame pointer is >> now reimplemented to use frame pointer unwinder apis. So the mai

Re: [PATCH V2 3/9] dt-bindings: Tegra186 tachometer device tree bindings

2018-04-08 Thread Mikko Perttunen
Rob, this binding is for a specific IP block (for measuring/aggregating input pulses) on the Tegra186 SoC, so I don't think it fits into any generic binding. Thanks, Mikko On 03/27/2018 05:52 PM, Rob Herring wrote: On Wed, Mar 21, 2018 at 10:10:38AM +0530, Rajkumar Rampelli wrote: Supply D

Re: [RFC PATCH] x86/acpi: Prevent x2apic id -1 from being accounted

2018-04-08 Thread Dou Liyang
Hi RongQing, Is there an local x2apic whose ID is 0x in your machine? At 04/08/2018 07:38 PM, Li RongQing wrote: local_apic_id of acpi_madt_local_x2apic is u32, it is converted to int when checked by default_apic_id_valid() and return true if it is larger than 0x7fff, this is wrong

[lkp-robot] [init, tracing] 2580d6b795: BUG:kernel_reboot-without-warning_in_boot_stage

2018-04-08 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: 2580d6b795e25879c825a0891cf67390f665b11f ("init, tracing: Have printk come through the trace events for initcall_debug") url: https://github.com/0day-ci/linux/commits/Steven-Rostedt/init-tracing/20180407-130743 in testcase: boot

Re: [GIT PULL] SELinux patches for v4.17

2018-04-08 Thread Xin Long
On Mon, Apr 9, 2018 at 6:44 AM, Richard Haines wrote: > On Sun, 2018-04-08 at 19:59 +0100, Richard Haines via Selinux wrote: >> On Mon, 2018-04-09 at 01:43 +0800, Xin Long wrote: >> > On Sun, Apr 8, 2018 at 10:09 PM, Richard Haines >> > wrote: >> > > On Sun, 2018-04-08 at 08:50 -0400, Paul Moore

Re: [PATCH v2 4/4] clk: qcom: Add Global Clock controller (GCC) driver for SDM845

2018-04-08 Thread Amit Nischal
On 2018-04-06 04:27, Stephen Boyd wrote: Quoting Amit Nischal (2018-04-03 05:24:41) On 2018-03-20 06:12, Stephen Boyd wrote: > Quoting Amit Nischal (2018-03-07 23:18:15) >> +}; >> + >> +static struct clk_rcg2 gcc_sdcc4_apps_clk_src = { >> + .cmd_rcgr = 0x1600c, >> + .mnd_width = 8, >

Re: [PATCH v5 1/1] security: Add mechanism to safely (un)load LSMs after boot time

2018-04-08 Thread Tetsuo Handa
Sargun Dhillon wrote: > > Remove SECURITY_HOOK_COUNT and "struct security_hook_list"->owner and > > the exception in randomize_layout_plugin.c because preventing module > > unloading won't work as expected. > > > > Rather than completely removing the unloading code, might it make > sense to

Re: [PATCH v1]: perf/x86: store user space frame-pointer value on a sample

2018-04-08 Thread Alexey Budankov
On 07.04.2018 9:18, Alexey Budankov wrote: > On 06.04.2018 22:53, Andi Kleen wrote: >> On Fri, Apr 06, 2018 at 10:06:26PM +0300, Alexey Budankov wrote: >>> On 06.04.2018 18:31, Andi Kleen wrote: > diff --git a/arch/x86/kernel/perf_regs.c b/arch/x86/kernel/perf_regs.c > index e47b2dbbdef3..9

Re: [PATCH] x86/Centaur: show more HW features in /proc/cpuinfo

2018-04-08 Thread David Wang
> -邮件原件- > 发件人: David Wang [mailto:davidw...@zhaoxin.com] > 发送时间: 2018年4月8日 17:36 > 收件人: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; > mi...@kernel.org; gre...@linuxfoundation.org; x...@kernel.org; > linux-kernel@vger.kernel.org > 抄送: brucech...@via-alliance.com; cooper...@zhaoxin

Re: [PATCH] thermal: devfreq_cooling: add const to struct thermal_cooling_device_ops

2018-04-08 Thread kbuild test robot
Hi srp, Thank you for the patch! Yet something to improve: [auto build test ERROR on thermal/next] [also build test ERROR on v4.16 next-20180406] [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/commits/

linux-next: Tree for Apr 9

2018-04-08 Thread Stephen Rothwell
Hi all, Please do not add any v4.18 destined stuff to your linux-next included trees until after v4.17-rc1 has been released. Changes since 20180406: The vfs tree lost its build failure. The parisc-hd tree still had its build failure for which I applied a patch. The nvdimm tree gained a build

[PATCH] ipc/shm: fix use-after-free of shm file via remap_file_pages()

2018-04-08 Thread Eric Biggers
From: Eric Biggers syzbot reported a use-after-free of shm_file_data(file)->file->f_op in shm_get_unmapped_area(), called via sys_remap_file_pages(). Unfortunately it couldn't generate a reproducer, but I found a bug which I think caused it. When remap_file_pages() is passed a full System V shar

Re: linux-next: manual merge of the scsi-mkp tree with the efi-lock-down tree

2018-04-08 Thread James Morris
On Mon, 9 Apr 2018, Stephen Rothwell wrote: > Hi James, > > On Mon, 9 Apr 2018 12:51:53 +1000 (AEST) James Morris > wrote: > > > > That's odd, my next-general branch is merged to Linus. > > The security tree in linux-next is > > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-secu

Re: [PATCH AUTOSEL for 3.18 059/101] x86/um: thin archives build fix

2018-04-08 Thread Nicholas Piggin
On Mon, 9 Apr 2018 00:41:22 + Sasha Levin wrote: > From: Nicholas Piggin > > [ Upstream commit 827880ec260ba048f95fe646b96a205c394fa0f0 ] > > The linker does not like vdso-syms.lds in input archive files. > Make it an extra-y instead. I wouldn't say these should be needed on kernels witho

Re: linux-next: manual merge of the scsi-mkp tree with the efi-lock-down tree

2018-04-08 Thread Stephen Rothwell
Hi James, On Mon, 9 Apr 2018 12:51:53 +1000 (AEST) James Morris wrote: > > That's odd, my next-general branch is merged to Linus. The security tree in linux-next is git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git#next-testing which has the efi-lock-down tree merged int

Re: [PATCH v11 0/4] iommu/arm-smmu: Add runtime pm/sleep support

2018-04-08 Thread Tomasz Figa
Hi Will, Robin, On Thu, Mar 22, 2018 at 7:22 PM Vivek Gautam wrote: > This series provides the support for turning on the arm-smmu's > clocks/power domains using runtime pm. This is done using the > recently introduced device links patches, which lets the smmu's > runtime to follow the master's

Re: [PATCH v5 1/1] security: Add mechanism to safely (un)load LSMs after boot time

2018-04-08 Thread Sargun Dhillon
On Sun, Apr 8, 2018 at 8:38 PM, Tetsuo Handa wrote: > Suggested changes on top of your patch: > > Replace "struct hlist_head *head" in "struct security_hook_list" with > "const unsigned int offset" because there is no need to initialize with > address of the immutable/mutable chains. > > R

[PATCH AUTOSEL for 4.15 001/189] firewire-ohci: work around oversized DMA reads on JMicron controllers

2018-04-08 Thread Sasha Levin
From: Hector Martin [ Upstream commit 188775181bc05f29372b305ef96485840e351fde ] At least some JMicron controllers issue buggy oversized DMA reads when fetching context descriptors, always fetching 0x20 bytes at once for descriptors which are only 0x10 bytes long. This is often harmless, but can

[PATCH AUTOSEL for 4.15 005/189] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-08 Thread Sasha Levin
From: Marek Szyprowski [ Upstream commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b ] Initialize data->config_lock mutex before it is used by the driver code. This fixes following warning on Odroid XU3 boards: INFO: trying to register non-static key. the code is fine but needs lockdep annotation

[PATCH AUTOSEL for 4.15 004/189] nvme: host delete_work and reset_work on separate workqueues

2018-04-08 Thread Sasha Levin
From: Roy Shterman [ Upstream commit b227c59b9b5b8ae52639c8980af853d2f654f90a ] We need to ensure that delete_work will be hosted on a different workqueue than all the works we flush or cancel from it. Otherwise we may hit a circular dependency warning [1]. Also, given that delete_work flushes

[PATCH AUTOSEL for 4.15 002/189] x86/tsc: Allow TSC calibration without PIT

2018-04-08 Thread Sasha Levin
From: Peter Zijlstra [ Upstream commit 30c7e5b123673d5e570e238dbada2fb68a87212c ] Zhang Rui reported that a Surface Pro 4 will fail to boot with lapic=notscdeadline. Part of the problem is that that machine doesn't have a PIT. If, for some reason, the TSC init has to fall back to TSC calibratio

[PATCH AUTOSEL for 4.15 006/189] ACPI / LPSS: Do not instiate platform_dev for devs without MMIO resources

2018-04-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit e1681599345b8466786b6e54a2db2a00a068a3f3 ] acpi_lpss_create_device() skips handling LPSS devices which do not have a mmio resources in their resource list (typically these devices are disabled by the firmware). But since the LPSS code does not bind to the de

[PATCH AUTOSEL for 4.15 003/189] NFSv4: always set NFS_LOCK_LOST when a lock is lost.

2018-04-08 Thread Sasha Levin
From: NeilBrown [ Upstream commit dce2630c7da73b0634686bca557cc8945cc450c8 ] There are 2 comments in the NFSv4 code which suggest that SIGLOST should possibly be sent to a process. In these cases a lock has been lost. The current practice is to set NFS_LOCK_LOST so that read/write returns EIO w

[PATCH AUTOSEL for 4.15 011/189] RDMA/core: Clarify rdma_ah_find_type

2018-04-08 Thread Sasha Levin
From: Parav Pandit [ Upstream commit a6532e7139660c103dda181aa5b2c734aa26ed6c ] iWARP does not use rdma_ah_attr_type, and for this reason we do not have a RDMA_AH_ATTR_TYPE_IWARP. rdma_ah_find_type should not even be called on iwarp ports and for clarity it shouldn't have a special test for iWar

[PATCH AUTOSEL for 4.15 007/189] tipc: fix a potental access after delete in tipc_sk_join()

2018-04-08 Thread Sasha Levin
From: Jon Maloy [ Upstream commit febafc8455fdbb0ba53d596075068a683b75f355 ] In commit d12d2e12cec2 "tipc: send out join messages as soon as new member is discovered") we added a call to the function tipc_group_join() without considering the case that the preceding tipc_sk_publish() might have f

[PATCH AUTOSEL for 4.15 010/189] kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl

2018-04-08 Thread Sasha Levin
From: Paolo Bonzini [ Upstream commit 51776043afa415435c7e4636204fbe4f7edc4501 ] This ioctl is obsolete (it was used by Xenner as far as I know) but still let's not break it gratuitously... Its handler is copying directly into struct kvm. Go through a bounce buffer instead, with the added bene

[PATCH AUTOSEL for 4.15 014/189] tracing/hrtimer: Fix tracing bugs by taking all clock bases and modes into account

2018-04-08 Thread Sasha Levin
From: Anna-Maria Gleixner [ Upstream commit 91633eed73a3ac37aaece5c8c1f93a18bae616a9 ] So far only CLOCK_MONOTONIC and CLOCK_REALTIME were taken into account as well as HRTIMER_MODE_ABS/REL in the hrtimer_init tracepoint. The query for detecting the ABS or REL timer modes is not valid anymore, i

[PATCH AUTOSEL for 4.15 008/189] ALSA: hda - Use IS_REACHABLE() for dependency on input

2018-04-08 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit c469652bb5e8fb715db7d152f46d33b3740c9b87 ] The commit ffcd28d88e4f ("ALSA: hda - Select INPUT for Realtek HD-audio codec") introduced the reverse-selection of CONFIG_INPUT for Realtek codec in order to avoid the mess with dependency between built-in and modul

[PATCH AUTOSEL for 4.15 013/189] netfilter: ipv6: nf_defrag: Pass on packets to stack per RFC2460

2018-04-08 Thread Sasha Levin
From: Subash Abhinov Kasiviswanathan [ Upstream commit 83f1999caeb14e15df205e80d210699951733287 ] ipv6_defrag pulls network headers before fragment header. In case of an error, the netfilter layer is currently dropping these packets. This results in failure of some IPv6 standards tests which pas

[PATCH AUTOSEL for 4.15 016/189] platform/x86: dell-laptop: Filter out spurious keyboard backlight change events

2018-04-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 4d6bde512a86c32df3a1f289d2b4cd04b17758d1 ] On some Dell XPS models WMI events of type 0x reporting a keycode of 0xe00c get reported when the brightness of the LCD panel changes. This leads to us reporting false-positive kbd_led change events to userspac

[PATCH AUTOSEL for 4.15 015/189] KVM: s390: use created_vcpus in more places

2018-04-08 Thread Sasha Levin
From: Christian Borntraeger [ Upstream commit 241e3ec0faf5ab1a0d9b1f6c43eefa919fb9c112 ] commit a03825bbd0c3 ("KVM: s390: use kvm->created_vcpus") introduced kvm->created_vcpus to avoid races with the existing kvm->online_vcpus scheme. One place was "forgotten" and one new place was "added". Let

[PATCH AUTOSEL for 4.15 018/189] xprtrdma: Eliminate unnecessary lock cycle in xprt_rdma_send_request

2018-04-08 Thread Sasha Levin
From: Chuck Lever [ Upstream commit 42b9f5c58aa8c59c91ead0254f0c193e3438b020 ] The rpcrdma_req is not shared yet, and its associated Send hasn't been posted, thus RMW should be safe. There's no need for the expense of a lock cycle here. Fixes: 0ba6f37012db ("xprtrdma: Refactor rpcrdma_deferred_

[PATCH AUTOSEL for 4.15 019/189] printk: Add console owner and waiter logic to load balance console writes

2018-04-08 Thread Sasha Levin
From: "Steven Rostedt (VMware)" [ Upstream commit dbdda842fe96f8932bae554f0adf463c27c42bc7 ] This patch implements what I discussed in Kernel Summit. I added lockdep annotation (hopefully correctly), and it hasn't had any splats (since I fixed some bugs in the first iterations). It did catch pro

[PATCH AUTOSEL for 4.15 017/189] xprtrdma: Fix backchannel allocation of extra rpcrdma_reps

2018-04-08 Thread Sasha Levin
From: Chuck Lever [ Upstream commit d698c4a02ee02053bbebe051322ff427a2dad56a ] The backchannel code uses rpcrdma_recv_buffer_put to add new reps to the free rep list. This also decrements rb_recv_count, which spoofs the receive overrun logic in rpcrdma_buffer_get_rep. Commit 9b06688bc3b9 ("xprt

[PATCH AUTOSEL for 4.15 009/189] ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read()

2018-04-08 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit 123af9043e93cb6f235207d260d50f832cdb5439 ] The loop timeout doesn't work because it's a post op and ends with "tmo" set to -1. I changed it from a post-op to a pre-op and I changed the initial the starting value from 5 to 6 so we still iterate 5 times. I l

[PATCH AUTOSEL for 4.15 024/189] Input: synaptics - reset the ABS_X/Y fuzz after initializing MT axes

2018-04-08 Thread Sasha Levin
From: Peter Hutterer [ Upstream commit 19eb4ed1141bd1096b9bc84ba9c4d03d5830c143 ] input_mt_init_slots() resets the ABS_X/Y fuzz to 0 and expects the driver to call input_mt_report_pointer_emulation(). That is based on the MT position bits which are already defuzzed - hence a fuzz of 0. In the c

[PATCH AUTOSEL for 4.15 022/189] Input: psmouse - fix Synaptics detection when protocol is disabled

2018-04-08 Thread Sasha Levin
From: Dmitry Torokhov [ Upstream commit 2bc4298f59d2f15175bb568e2d356b5912d0cdd9 ] When Synaptics protocol is disabled, we still need to try and detect the hardware, so we can switch to SMBus device if SMbus is detected, or we know that it is Synaptics device and reset it properly for the bare P

[PATCH AUTOSEL for 4.15 025/189] i40iw: Free IEQ resources

2018-04-08 Thread Sasha Levin
From: Mustafa Ismail [ Upstream commit f20d429511affab6a2a9129f46042f43e6ffe396 ] The iWARP Exception Queue (IEQ) resources are not freed when a QP is destroyed. Fix this by freeing IEQ resources when freeing QP resources. Fixes: d37498417947 ("i40iw: add files for iwarp interface") Signed-off-

Re: [PATCH] vhost-net: set packet weight of tx polling to 2 * vq size

2018-04-08 Thread 张海斌
> On Fri, Apr 06, 2018 at 08:22:37AM +, haibinzhang(张海斌) wrote: > > handle_tx will delay rx for tens or even hundreds of milliseconds when tx > > busy > > polling udp packets with small length(e.g. 1byte udp payload), because > > setting > > VHOST_NET_WEIGHT takes into account only sent-byte

[PATCH AUTOSEL for 4.15 023/189] libbpf: Makefile set specified permission mode

2018-04-08 Thread Sasha Levin
From: Jesper Dangaard Brouer [ Upstream commit 7110d80d53f472956420cd05a6297f49b558b674 ] The third parameter to do_install was not used by $(INSTALL) command. Fix this by only setting the -m option when the third parameter is supplied. The use of a third parameter was introduced in commit eb5

[PATCH AUTOSEL for 4.15 021/189] PCI: Add function 1 DMA alias quirk for Marvell 9128

2018-04-08 Thread Sasha Levin
From: Alex Williamson [ Upstream commit aa008206634363ef800fbd5f0262016c9ff81dea ] The Marvell 9128 is the original device generating bug 42679, from which many other Marvell DMA alias quirks have been sourced, but we didn't have positive confirmation of the fix on 9128 until now. Link: https:/

[PATCH AUTOSEL for 4.15 030/189] perf callchain: Fix attr.sample_max_stack setting

2018-04-08 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit 249d98e567e25dd03e015e2d31e1b7b9648f34df ] When setting the "dwarf" unwinder for a specific event and not specifying the max-stack, the attr.sample_max_stack ended up using an uninitialized callchain_param.max_stack, fix it by using designated ini

[PATCH AUTOSEL for 4.15 027/189] scsi: qla2xxx: Fix warning in qla2x00_async_iocb_timeout()

2018-04-08 Thread Sasha Levin
From: "himanshu.madh...@cavium.com" [ Upstream commit 7ac0c332f96bb9688560726f5e80c097ed8de59a ] This patch fixes following Smatch warning: drivers/scsi/qla2xxx/qla_init.c:130 qla2x00_async_iocb_timeout() error: we previously assumed 'fcport' could be null (see line 107) Fixes: 5c25d451163c (

[PATCH AUTOSEL for 4.15 028/189] perf unwind: Do not look just at the global callchain_param.record_mode

2018-04-08 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit eabad8c6856f185f876b54c426c2cc69fe0f0a7d ] When setting up DWARF callchains on specific events, without using 'record' or 'trace' --call-graph, but instead doing it like: perf trace -e cycles/call-graph=dwarf/ The unwind__prepare_access(

[PATCH AUTOSEL for 4.15 032/189] perf record: Fix failed memory allocation for get_cpuid_str

2018-04-08 Thread Sasha Levin
From: Thomas Richter [ Upstream commit 81fccd6ca507d3b2012eaf1edeb9b1dbf4bd22db ] In x86 architecture dependend part function get_cpuid_str() mallocs a 128 byte buffer, but does not check if the memory allocation succeeded or not. When the memory allocation fails, function __get_cpuid() is call

[PATCH AUTOSEL for 4.15 035/189] iommu/vt-d: Use domain instead of cache fetching

2018-04-08 Thread Sasha Levin
From: Peter Xu [ Upstream commit 9d2e6505f6d6934e681aed502f566198cb25c74a ] after commit a1ddcbe93010 ("iommu/vt-d: Pass dmar_domain directly into iommu_flush_iotlb_psi", 2015-08-12), we have domain pointer as parameter to iommu_flush_iotlb_psi(), so no need to fetch it from cache again. More i

[PATCH AUTOSEL for 4.15 034/189] powerpc: System reset avoid interleaving oops using die synchronisation

2018-04-08 Thread Sasha Levin
From: Nicholas Piggin [ Upstream commit 4552d128c26e0f0f27a5bd2fadc24092b8f6c1d7 ] The die() oops path contains a serializing lock to prevent oops messages from being interleaved. In the case of a system reset initiated oops (e.g., qemu nmi command), __die was being called which lacks that synch

[PATCH AUTOSEL for 4.15 036/189] dm thin: fix documentation relative to low water mark threshold

2018-04-08 Thread Sasha Levin
From: mulhern [ Upstream commit 9b28a1102efc75d81298198166ead87d643a29ce ] Fixes: 1. The use of "exceeds" when the opposite of exceeds, falls below, was meant. 2. Properly speaking, a table can not exceed a threshold. It emphasizes the important point, which is that it is the userspace daemon's

[PATCH AUTOSEL for 4.15 040/189] ubifs: Fix uninitialized variable in search_dh_cookie()

2018-04-08 Thread Sasha Levin
From: Geert Uytterhoeven [ Upstream commit c877154d307f4a91e0b5b85b75535713dab945ae ] fs/ubifs/tnc.c: In function ‘search_dh_cookie’: fs/ubifs/tnc.c:1893: warning: ‘err’ is used uninitialized in this function Indeed, err is always used uninitialized. According to an original review comment fro

[PATCH AUTOSEL for 4.15 033/189] iommu/exynos: Don't unconditionally steal bus ops

2018-04-08 Thread Sasha Levin
From: Robin Murphy [ Upstream commit dc98b8480d8a68c2ce9aa28b9f0d714fd258bc0b ] Removing the early device registration hook overlooked the fact that it only ran conditionally on a compatible device being present in the DT. With exynos_iommu_init() now running as an unconditional initcall, proble

[PATCH AUTOSEL for 4.15 031/189] tools lib traceevent: Fix get_field_str() for dynamic strings

2018-04-08 Thread Sasha Levin
From: "Steven Rostedt (VMware)" [ Upstream commit d777f8de99b05d399c0e4e51cdce016f26bd971b ] If a field is a dynamic string, get_field_str() returned just the offset/size value and not the string. Have it parse the offset/size correctly to return the actual string. Otherwise filtering fails when

[PATCH AUTOSEL for 4.15 044/189] ASoC: bcm2835: fix hw_params error when device is in prepared state

2018-04-08 Thread Sasha Levin
From: Matthias Reichl [ Upstream commit 8d5737a5f53902a916ee1e1cb248c9b8b883b2ea ] If bcm2835 is configured as bitclock master calling hw_params() after prepare() fails with EBUSY. This also makes it impossible to use bcm2835 in full duplex mode. The error is caused by the split clock setup: cl

[PATCH AUTOSEL for 4.15 037/189] dm mpath: return DM_MAPIO_REQUEUE on blk-mq rq allocation failure

2018-04-08 Thread Sasha Levin
From: Ming Lei [ Upstream commit 050af08ffb1b62af69196d61c22a0755f9a3cdbd ] blk-mq will rerun queue via RESTART or dispatch wake after one request is completed, so not necessary to wait random time for requeuing, we should trust blk-mq to do it. More importantly, we need to return BLK_STS_RESOU

[PATCH AUTOSEL for 4.15 042/189] net: stmmac: dwmac-meson8b: propagate rate changes to the parent clock

2018-04-08 Thread Sasha Levin
From: Martin Blumenstingl [ Upstream commit fb7d38a70e1d8ffd54f7a7464dcc4889d7e490ad ] On Meson8b the only valid input clock is MPLL2. The bootloader configures that to run at 52394Hz which cannot be divided evenly down to 125MHz using the m250_div clock. Currently the common clock framework

[PATCH AUTOSEL for 4.15 043/189] spi: a3700: Clear DATA_OUT when performing a read

2018-04-08 Thread Sasha Levin
From: Maxime Chevallier [ Upstream commit 44a5f423e70374e5b42cecd85e78f2d79334e0f2 ] When performing a read using FIFO mode, the spi controller shifts out the last 2 bytes that were written in a previous transfer on MOSI. This undocumented behaviour can cause devices to misinterpret the transfe

  1   2   3   4   5   6   7   8   9   10   >