[PATCH 3.2 61/61] mac80211: Fix null dereference in ieee80211_key_link()

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Commit ef810e7c3d2a ("mac80211: accept key reinstall without changing anything") moved the initialisation of key->sdata later in ieee80211_key_link(). In

[PATCH 3.2 29/61] [SCSI] qla2xxx: Add mutex around optrom calls to serialize accesses.

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Chad Dupuis commit 7a8ab9c840b5dff9bb70328338a86444ed1c2415 upstream. Signed-off-by: Chad Dupuis Signed-off-by: Saurav Kashyap

[PATCH 3.2 35/61] xfs: fix incorrect log_flushed on fsync

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 47c7d0b19502583120c3f396c7559e7a77288a68 upstream. When calling into _xfs_log_force{,_lsn}() with a pointer to log_flushed variable, log_flushed will

[PATCH 3.2 28/61] [SCSI] qla2xxx: Corrections to returned sysfs error codes.

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Joe Carnuccio commit 71dfe9e776878d9583d004edade55edc2bdac5eb upstream. Correct the erroneous return codes introduced by the following patch: "Return sysfs error

[PATCH 3.2 32/61] powerpc: Correct instruction code for xxlor instruction

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 93b2d3cf3733b4060d3623161551f51ea1ab5499 upstream. The instruction code for xxlor that commit 0016a4cf5582 ("powerpc: Emulate most Book I instructions

[PATCH 3.2 24/61] usb: Add device quirk for Logitech HD Pro Webcam C920-C

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Fleytman commit a1279ef74eeeb5f627f091c71d80dd7ac766c99d upstream. Commit e0429362ab15 ("usb: Add device quirk for Logitech HD Pro Webcams C920 and C930e") introduced

Fwd: Why qemu with kvm enabled can boot kernel even if identity page map is not set correctly?

2017-11-21 Thread 丁飞
-- Forwarded message -- From: 丁飞 Date: Wed, Nov 22, 2017 at 12:58 AM Subject: Why qemu with kvm enabled can boot kernel even if identity page map is not set correctly? To: k...@vger.kernel.org Hi, KVM developers. Firstly, sorry if it's the wrong place to ask

[PATCH 3.2 33/61] driver core: bus: Fix a potential double free

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET commit 0f9b011d3321ca1079c7a46c18cb1956fbdb7bcb upstream. The .release function of driver_ktype is 'driver_release()'. This function frees the

[PATCH 3.2 23/61] usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit de3af5bf259d7a0bfaac70441c8568ab5998d80c upstream. Corsair Strafe RGB keyboard has trouble to initialize: [ 1.679455] usb 3-6: new full-speed

[PATCH 3.2 20/61] media: lirc_zilog: driver only sends LIRCCODE

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Sean Young commit 89d8a2cc51d1f29ea24a0b44dde13253141190a0 upstream. This driver cannot send pulse, it only accepts driver-dependent codes. Signed-off-by: Sean Young

[PATCH 3.2 57/61] media: imon: Fix null-ptr-deref in imon_probe

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav commit 58fd55e838276a0c13d1dc7c387f90f25063cbf3 upstream. It seems that the return value of usb_ifnum_to_if() can be NULL and needs to be checked.

[PATCH 3.2 34/61] ftrace: Fix selftest goto location on error

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (VMware)" commit 46320a6acc4fb58f04bcf78c4c942cc43b20f986 upstream. In the second iteration of trace_selftest_ops(), the error goto label is wrong in the

[PATCH 3.2 21/61] media: em28xx: calculate left volume level correctly

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 801e3659bf2c87c31b7024087d61e89e172b5651 upstream. The calculation of the left volume looks suspect, the value of 0x1f - ((val << 8) & 0x1f) is

[PATCH 3.2 30/61] scsi: qla2xxx: Fix an integer overflow in sysfs code

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit e6f77540c067b48dee10f1e33678415bfcc89017 upstream. The value of "size" comes from the user. When we add "start + size" it could lead to an

[PATCH 3.2 27/61] scsi: aacraid: Fix command send race condition

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian King commit 1ae948fa4f00f3a2823e7cb19a3049ef27dd6947 upstream. This fixes a potential race condition observed on Power systems. Several places throughout the

[PATCH 3.2 18/61] block: Relax a check in blk_start_queue()

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 4ddd56b003f251091a67c15ae3fe4a5c5c5e390a upstream. Calling blk_start_queue() from interrupt context with the queue lock held and without

[PATCH 3.2 44/61] Input: xpad - add a few new VID/PID combinations

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: "Guillermo A. Amaral" commit 540602a43ae5fa94064f8fae100f5ca75d4c002b upstream. This adds VID/PID combinations for MadCatz, PDP and PowerA (new). Removed Pelican 'TSZ' Wired

[PATCH 3.2 56/61] [media] cx231xx-cards: fix NULL-deref on missing association descriptor

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 6c3b047fa2d2286d5e438bcb470c7b1a49f415f6 upstream. Make sure to check that we actually have an Interface Association Descriptor before dereferencing it

[PATCH 3.2 40/61] mm/vmstat.c: fix wrong comment

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: SeongJae Park commit f113e64121ba9f4791332248b315d9f57ee33a6b upstream. Comment for pagetypeinfo_showblockcount() is mistakenly duplicated from pagetypeinfo_show_free()'s

Re: [PATCH 11/31] nds32: Atomic operations

2017-11-21 Thread Vincent Chen
2017-11-20 22:29 GMT+08:00 Will Deacon : > Hi Greentime, > > On Wed, Nov 08, 2017 at 01:54:59PM +0800, Greentime Hu wrote: >> From: Greentime Hu >> >> Signed-off-by: Vincent Chen >> Signed-off-by: Greentime Hu

[PATCH 3.2 53/61] ext4: fix fencepost in s_first_meta_bg validation

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 2ba3e6e8afc9b6188b471f27cf2b5e3cf34e7af2 upstream. It is OK for s_first_meta_bg to be equal to the number of block group descriptor blocks. (It rarely

[PATCH 3.2 41/61] genirq: Make sparse_irq_lock protect what it should protect

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 12ac1d0f6c3e95732d144ffa65c8b20fbd9aa462 upstream. for_each_active_irq() iterates the sparse irq allocation bitmap. The caller must hold

[PATCH 3.2 39/61] MIPS: BCM63XX: allow NULL clock for clk_get_rate

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Jonas Gorski commit 1b495faec231980b6c719994b24044ccc04ae06c upstream. Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL

[PATCH 3.2 49/61] KVM: SVM: Add a missing 'break' statement

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan H. Schönherr commit 49a8afca386ee1775519a4aa80f8e121bd227dd4 upstream. Signed-off-by: Jan H. Schönherr Fixes: f6511935f424 ("KVM: SVM: Add checks

[PATCH 3.2 46/61] Input: xpad - don't depend on endpoint order

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Cameron Gutman commit c01b5e7464f0cf20936d7467c7528163c4e2782d upstream. The order of endpoints is well defined on official Xbox pads, but we have found at least one

[PATCH 3.2 51/61] Input: i8042 - add Gigabyte P57 to the keyboard reset table

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 697c5d8a36768b36729533fb44622b35d56d6ad0 upstream. Similar to other Gigabyte laptops, the touchpad on P57 requires a keyboard reset to detect

[PATCH 3.2 14/61] scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit fdb7cee3b9e3c561502e58137a837341f10cbf8b upstream. At the default trace level, we only trace unsuccessful events including FSF responses.

[PATCH 3.2 50/61] KVM: async_pf: Fix #DF due to inject "Page not Present" and "Page Ready" exceptions simultaneously

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Wanpeng Li commit 9a6e7c39810e4a8bc7fc95056cefb40583fe07ef upstream. qemu-system-x86-8600 [004] d..1 7205.687530: kvm_entry: vcpu 2 qemu-system-x86-8600 [004]

[PATCH 3.2 47/61] Input: xpad - validate USB endpoint type during probe

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Cameron Gutman commit 122d6a347329818419b032c5a1776e6b3866d9b9 upstream. We should only see devices with interrupt endpoints. Ignore any other endpoints that we find, so

[PATCH 3.2 45/61] Input: xpad - add support for Xbox One controllers

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Ted Mielczarek commit 1a48ff81b3912be5fadae3fafde6c2f632246a4c upstream. Xbox One controllers require an initialization message to start sending data, so xpad_init_output

[PATCH 3.2 13/61] scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 12c3e5754c8022a4f2fd1e9f00d19e99ee0d3cc1 upstream. If the FCP_RSP UI has optional parts (FCP_SNS_INFO or FCP_RSP_INFO) and thus does not fit into

[PATCH 3.2 10/61] scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 975171b4461be296a35e83ebd748946b81cf0635 upstream. v4.9 commit aceeffbb59bb ("zfcp: trace full payload of all SAN records (req,resp,iels)") fixed

[PATCH 3.2 52/61] ext4: validate s_first_meta_bg at mount time

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Eryu Guan commit 3a4b77cd47bb837b8557595ec7425f281f2ca1fe upstream. Ralf Spenneberg reported that he hit a kernel crash when mounting a modified ext4 image. And it turns

[PATCH 3.2 55/61] USB: serial: console: fix use-after-free after failed setup

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 299d7572e46f98534033a9e65973f13ad1ce9047 upstream. Make sure to reset the USB-console port pointer when console setup fails in order to avoid having the

[PATCH 3.2 16/61] cs5536: add support for IDE controller variant

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Korolyov commit 591b6bb605785c12a21e8b07a08a277065b655a5 upstream. Several legacy devices such as Geode-based Cisco ASA appliances and DB800 development board do possess

[PATCH 3.2 17/61] drm/ttm: Fix accounting error when fail to get pages for pool

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: "Xiangliang.Yu" commit 9afae2719273fa1d406829bf3498f82dbdba71c7 upstream. When fail to get needed page for pool, need to put allocated pages into pool. But current code

[PATCH 3.2 04/61] powerpc/mm: Fix check of multiple 16G pages from device tree

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Rui Teng commit 23493c121912a39f0262e0dbeb236e1d39efa4d5 upstream. The offset of hugepage block will not be 16G, if the expected page is more than one. Calculate

[PATCH 3.2 00/61] 3.2.96-rc1 review

2017-11-21 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.96 release. There are 61 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri Nov 24 20:00:00 UTC 2017. Anything

[PATCH 3.2 12/61] scsi: zfcp: fix missing trace records for early returns in TMF eh handlers

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 1a5d999ebfc7bfe28deb48931bb57faa8e4102b6 upstream. For problem determination we need to see that we were in scsi_eh as well as whether and why we

Re: [PATCH_v4.1_3/3] Make core_pattern support namespace

2017-11-21 Thread 曹树烽
Hi, Aleksa Sarai: Sorry for the late replay. > what happens if you have processes in the same pidns that have different mount namespaces? We support this. The coredump file will be saved in the same mount namespace with the processes. This is implemented by patch > Just my $0.02. Thanks.

[PATCH 3.2 15/61] scsi: mac_esp: Fix PIO transfers for MESSAGE IN phase

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Finn Thain commit 7640d91d285893a5cf1e62b2cd00f0884c401d93 upstream. When in MESSAGE IN phase, the ESP device does not automatically acknowledge each byte that is

[PATCH 3.2 58/61] Input: gtco - fix potential out-of-bound access

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit a50829479f58416a013a4ccca791336af3c584c7 upstream. parse_hid_report_descriptor() has a while (i < length) loop, which only guarantees that

[PATCH 3.2 11/61] scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 9fe5d2b2fd30aa8c7827ec62cbbe6d30df4fe3e3 upstream. Without this fix we get SCSI trace records on task management functions which cannot be

[PATCH 3.2 01/61] IB/core: Fix the validations of a multicast LID in attach or detach operations

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: Noa Osherovich commit 5236333592244557a19694a51337df6ac018f0a7 upstream. RoCE Annex (A16.9.10/11) declares that during attach (detach) QP to a multicast group, if the QP is

[lkp-robot] [x86/mm/tlb] a04f08a159: WARNING:at_arch/x86/include/asm/tlbflush.h:#native_flush_tlb_global

2017-11-21 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-5): commit: a04f08a1593be12b76cce3e5dbd5da98b77ce250 ("x86/mm/tlb: Make CR4-based TLB flushes more robust") https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.x86/mm in testcase: boot on test machine: qemu-system-x86_64

[PATCH 3.2 03/61] fcntl: Don't use ambiguous SIG_POLL si_codes

2017-11-21 Thread Ben Hutchings
3.2.96-rc1 review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit d08477aa975e97f1dc64c0ae59cebf98520456ce upstream. We have a weird and problematic intersection of features that when they all come together

[lkp-robot] [x86/entry/64] 5f3cb7eb7c: WARNING:suspicious_RCU_usage

2017-11-21 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-6): commit: 5f3cb7eb7ce2d895658c6251fbaa4b59d93d941d ("x86/entry/64: Create a percpu SYSCALL entry trampoline") https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/entry_stack in testcase: boot on test machine:

Re: [PATCH v1 4/9] perf util: Update and print per-thread shadow stats

2017-11-21 Thread Jin, Yao
On 11/21/2017 11:18 PM, Jiri Olsa wrote: On Mon, Nov 20, 2017 at 10:43:39PM +0800, Jin Yao wrote: SNIP if (num == 0) diff --git a/tools/perf/util/stat.c b/tools/perf/util/stat.c index 151e9ef..50bb16d 100644 --- a/tools/perf/util/stat.c +++ b/tools/perf/util/stat.c @@ -278,9 +278,16

Re: [PATCH v1 2/9] perf util: Define a structure for runtime shadow metrics stats

2017-11-21 Thread Jin, Yao
On 11/21/2017 11:18 PM, Jiri Olsa wrote: On Mon, Nov 20, 2017 at 10:43:37PM +0800, Jin Yao wrote: SNIP + STAT_SMI_NUM, + STAT_APERF, + STAT_MAX +}; + +struct runtime_stat { + struct rblist value_list; +}; + struct perf_stat_config { enum aggr_mode

Re: [PATCH] NTB: switchtec_ntb: fix spelling mistake: "peforming" -> "performing"

2017-11-21 Thread Joe Perches
On Tue, 2017-11-21 at 22:59 +, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err error message > > Signed-off-by: Colin Ian King > --- > drivers/ntb/hw/mscc/ntb_hw_switchtec.c | 2 +- > 1 file

Re: FW: [PATCH 15/31] nds32: System calls handling

2017-11-21 Thread Vincent Chen
2017-11-13 19:42 GMT+08:00 Arnd Bergmann : > On Mon, Nov 13, 2017 at 3:51 AM, Vincent Chen wrote: On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote: From: Greentime Hu > >> +#define

[PATCH] dma-debug: use virt_addr_valid() to check linear addresses

2017-11-21 Thread miles.chen
From: Miles Chen Coverity found that the commit 3aaabbf1c39e ("lib/dma-debug.c: fix incorrect pfn calculation") uses incorrect API to check if a given address is a linear address. The condition should be: (as discussed in Christoph's review) if (!is_vmalloc_addr(virt) &&

RE: No check of the size passed to unmap_single in swiotlb

2017-11-21 Thread Eric Yang
> -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Tuesday, November 21, 2017 12:27 AM > To: Eric Yang ; io...@lists.linux-foundation.org > Cc: linux-kernel@vger.kernel.org; Greg Kroah-Hartman > ;

[BUG] 4.4.x-rt - memcg: refill_stock() use get_cpu_light() has data corruption issue

2017-11-21 Thread Haiyang HY1 Tan
Dear RT experts, I have a x86 server mainly used as qemu-kvm hypervisor that is installed with linux-RT kernel, the linux kernel and RT patch set are respectively get from: Linux kernel: https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.4.97.tar.xz RT patch set:

[PATCH_v4.1 0/3] Make core_pattern support namespace

2017-11-21 Thread Cao Shufeng
This patchset includes following function points: 1: Let usermodehelper function possible to set pid namespace done by: [PATCH_v4.1 1/3] Make call_usermodehelper_exec possible to set namespaces 2: Let pipe_type core_pattern write dump into container's rootfs done by: [PATCH_v4.1 2/3]

[PATCH_v4.1 1/3] Make call_usermodehelper_exec possible to set namespaces

2017-11-21 Thread Cao Shufeng
Current call_usermodehelper_work() can not set namespaces for the executed program. This patch add above function for call_usermodehelper_work(). The init_intermediate is introduced for init works which should be done before fork(). So that we get a method to set namespaces for children. The

[PATCH_v4.1 3/3] Make core_pattern support namespace

2017-11-21 Thread Cao Shufeng
Currently, each container shared one copy of coredump setting with the host system, if host system changed the setting, each running containers will be affected. Same story happened when container changed core_pattern, both host and other container will be affected. For container based on

[PATCH_v4.1 2/3] Limit dump_pipe program's permission to init for container

2017-11-21 Thread Cao Shufeng
Currently when we set core_pattern to a pipe, the pipe program is forked by kthread running with root's permission, and write dumpfile into host's filesystem. Same thing happened for container, the dumper and dumpfile are also in host(not in container). It have following program: 1: Not

Re: kernel CI: printk loglevels in kernel boot logs?

2017-11-21 Thread Fengguang Wu
[CC LKML for possible printk improvements] On Wed, Nov 22, 2017 at 09:56:10AM +0800, Fengguang Wu wrote: Hi Kevin, On Tue, Nov 21, 2017 at 12:27:48PM -0800, Kevin Hilman wrote: Hi Fenguang, In automated testing, for ease of parsing kernel boot logs (especially separating warnings and errors

Re: objtool - what if I want to clobber rbp?

2017-11-21 Thread Josh Poimboeuf
On Tue, Nov 21, 2017 at 10:55:23PM +0100, Jason A. Donenfeld wrote: > Hi Josh, > > We're working on some highly optimized assembly crypto primitive > implementations for WireGuard. The last 24 hours have been spent > trying to make objtool happy with a variety of tricks, some more > unfortunate

Xen PV seems to be broken on Linus' tree

2017-11-21 Thread Andy Lutomirski
I'm doing: /usr/bin/qemu-system-x86_64 -machine accel=kvm:tcg -cpu host -net none -nographic -kernel xen-4.8.2 -initrd './arch/x86/boot/bzImage' -m 2G -smp 2 -append console=com1 With Linus' commit c8a0739b185d11d6e2ca7ad9f5835841d1cfc765 and the attached config. It dies with a bunch of

Re: [PATCH 3.16 100/133] bcache: correct cache_dirty_target in __update_writeback_rate()

2017-11-21 Thread Joe Perches
On Wed, 2017-11-22 at 01:58 +, Ben Hutchings wrote: > 3.16.51-rc1 review patch. If anyone has any objections, please let me know. [] > --- a/drivers/md/bcache/writeback.h > +++ b/drivers/md/bcache/writeback.h > @@ -14,6 +14,25 @@ static inline uint64_t bcache_dev_sector > return ret; >

Re: [PATCH v1 8/9] perf stat: Remove --per-thread pid/tid limitation

2017-11-21 Thread Jin, Yao
On 11/21/2017 11:18 PM, Jiri Olsa wrote: On Mon, Nov 20, 2017 at 10:43:43PM +0800, Jin Yao wrote: SNIP - if ((stat_config.aggr_mode == AGGR_THREAD) && !target__has_task()) { - fprintf(stderr, "The --per-thread option is only available " - "when

Re: [PATCH 09/30] x86, kaiser: only populate shadow page tables for userspace

2017-11-21 Thread Andy Lutomirski
On Tue, Nov 21, 2017 at 2:09 PM, Dave Hansen wrote: > On 11/20/2017 12:12 PM, Thomas Gleixner wrote: >>> + */ >>> +native_get_shadow_pgd(pgdp)->pgd = pgd.pgd; >>> +/* >>> + * For the copy

Re: [PATCH 11/16] x86/asm/64: Use a percpu trampoline stack for IDT entries

2017-11-21 Thread Andy Lutomirski
On Tue, Nov 21, 2017 at 10:57 AM, Dave Hansen wrote: > On 11/20/2017 09:07 AM, Andy Lutomirski wrote: >> --- a/arch/x86/entry/entry_64.S >> +++ b/arch/x86/entry/entry_64.S >> @@ -560,6 +560,14 @@ END(irq_entries_start) >> .macro interrupt func >> cld >>

Re: [BUG] 4.4.x-rt - memcg: refill_stock() use get_cpu_light() has data corruption issue

2017-11-21 Thread Steven Rostedt
On Wed, 22 Nov 2017 03:18:45 + Haiyang HY1 Tan wrote: > Dear RT experts, > > I have a x86 server mainly used as qemu-kvm hypervisor that is installed with > linux-RT kernel, the linux kernel and RT patch set are respectively get from: > Linux kernel:

Re: [PATCH v4 RESEND] f2fs: fix out-of-free problem caused by atomic write

2017-11-21 Thread Yunlong Song
ping again... On 2017/11/17 8:54, Yunlong Song wrote: f2fs_balance_fs only actives once in the commit_inmem_pages, but there are more than one page to commit, so all the other pages will miss the check. This will lead to out-of-free problem when commit a very large file. However, we cannot do

Re: [PATCH v3 RESEND] f2fs: add bug_on when f2fs_gc even fails to get one victim

2017-11-21 Thread Yunlong Song
ping again... On 2017/11/17 9:09, Yunlong Song wrote: This can help to find potential bugs on some corner case. Signed-off-by: Yunlong Song --- fs/f2fs/gc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 5d5bba4..c89128b

Re: [PATCH] mfd: cros ec: spi: Fix "in progress" error signaling

2017-11-21 Thread Benson Leung
Hi Shawn, On Wed, Sep 27, 2017 at 02:35:27PM -0700, Shawn Nematbakhsh wrote: > For host commands that take a long time to process, cros ec can return > early by signaling a EC_RES_IN_PROGRESS result. The host must then poll > status with EC_CMD_GET_COMMS_STATUS until completion of the command. >

Re: [PATCH v3 2/3] leds: Add driver for Qualcomm LPG

2017-11-21 Thread Jacek Anaszewski
On 11/20/2017 10:10 PM, Bjorn Andersson wrote: > On Sun 19 Nov 13:36 PST 2017, Jacek Anaszewski wrote: > >> Hi Bjorn, >> >> Thanks for the patch. Please refer to my comments in the code. >> >> On 11/15/2017 08:13 AM, Bjorn Andersson wrote: > [..] >>> diff --git a/drivers/leds/Kconfig

Re: [PATCH v3 2/3] leds: Add driver for Qualcomm LPG

2017-11-21 Thread Jacek Anaszewski
On 11/21/2017 12:22 AM, Pavel Machek wrote: > On Mon 2017-11-20 13:10:33, Bjorn Andersson wrote: >> On Sun 19 Nov 13:36 PST 2017, Jacek Anaszewski wrote: >> >>> Hi Bjorn, >>> >>> Thanks for the patch. Please refer to my comments in the code. >>> >>> On 11/15/2017 08:13 AM, Bjorn Andersson wrote:

Re: [PATCH 09/30] x86, kaiser: only populate shadow page tables for userspace

2017-11-21 Thread Dave Hansen
On 11/20/2017 12:12 PM, Thomas Gleixner wrote: >> + */ >> +native_get_shadow_pgd(pgdp)->pgd = pgd.pgd; >> +/* >> + * For the copy of the pgd that the kernel >> + * uses, make it unusable to

Re: [PATCH 17/30] x86, kaiser: map debug IDT tables

2017-11-21 Thread Dave Hansen
On 11/20/2017 12:40 PM, Thomas Gleixner wrote: > On Fri, 10 Nov 2017, Dave Hansen wrote: >> >> +static int kaiser_user_map_ptr_early(const void *start_addr, unsigned long >> size, >> + unsigned long flags) >> +{ >> +int ret = kaiser_add_user_map(start_addr, size,

[PATCH update for 4.15 1/3] selftests: lib.mk: Introduce OVERRIDE_TARGETS

2017-11-21 Thread Mathieu Desnoyers
Introduce OVERRIDE_TARGETS to allow tests to express dependencies on header files and .so, which require to override the selftests lib.mk targets. Signed-off-by: Mathieu Desnoyers CC: Russell King CC: Catalin Marinas

Re: [GIT PULL] NTB bug fixes for v4.15

2017-11-21 Thread Stephen Rothwell
Hi Logan, On Mon, 20 Nov 2017 15:53:07 -0700 Logan Gunthorpe wrote: > > On 20/11/17 03:37 PM, Stephen Rothwell wrote: > > OK, all I need is the (git) URL for a tree/branch (or tag) and a > > contact (or more than one) to whom I can report conflicts and build > > problems. I

Re: [PATCH v9 4/5] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 30h-3fh) Processors v5

2017-11-21 Thread Boris Ostrovsky
On 11/21/2017 08:34 AM, Christian König wrote: > Hi Boris, > > attached are two patches. > > The first one is a trivial fix for the infinite loop issue, it now > correctly aborts the fixup when it can't find address space for the > root window. > > The second is a workaround for your board. It

Re: [GIT PULL] NTB bug fixes for v4.15

2017-11-21 Thread Logan Gunthorpe
On 21/11/17 03:19 PM, Stephen Rothwell wrote: So, I really need Jon to request this inclusion (sorry). And I would prefer to not add it until after -rc1 has been released i.e. next week probably. No worries. There's no real rush on this but it should have been done many cycles ago. After

Failed IRQ assignment for INT0002 on Braswell

2017-11-21 Thread Oleksandr Natalenko
Hi, Hans. v4.13 kernel introduced new fancy warning in the dmesg: === kernel: acpi INT0002:00: Device [GPED] is in always present list kernel: genirq: Flags mismatch irq 9. 00010084 (INT0002) vs. 2080 (acpi) kernel: INT0002 Virtual GPIO INT0002:00: Error requesting IRQ 9: -16 kernel: INT0002

Re: [PATCH] mm: migrate: fix an incorrect call of prep_transhuge_page()

2017-11-21 Thread Zi Yan
On 21 Nov 2017, at 17:12, Andrew Morton wrote: > On Mon, 20 Nov 2017 21:18:55 -0500 Zi Yan wrote: > >> In [1], Andrea reported that during memory hotplug/hot remove >> prep_transhuge_page() is called incorrectly on non-THP pages for >> migration, when THP is on but THP migration

Re: [PATCH 12/30] x86, kaiser: map GDT into user page tables

2017-11-21 Thread Dave Hansen
On 11/21/2017 03:32 PM, Andy Lutomirski wrote: >> To do this, we need to special-case the kernel page table walker to deal >> with PTEs only since we can't just grab PMD or PUD flags and stick them >> in a PTE. We would only be able to use this path when populating things >> that we know are

Re: [PATCH 3/3] VFS: close race between getcwd() and d_move()

2017-11-21 Thread Al Viro
On Fri, Nov 10, 2017 at 08:53:28PM +, Al Viro wrote: > On Fri, Nov 10, 2017 at 03:45:41PM +1100, NeilBrown wrote: > > -void __d_drop(struct dentry *dentry) > > +static void ___d_drop(struct dentry *dentry) > > { > > if (!d_unhashed(dentry)) { > > struct hlist_bl_head *b; > >

Re: [PATCH v5,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-11-21 Thread kbuild test robot
Hi Rui, Thank you for the patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on v4.14 next-20171121] [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: Linux 4.14 - BUG: unable to handle kernel paging request at ffffffff3bbbe160 IP: audit_signal_cb+0x75/0xf0

2017-11-21 Thread John Johansen
On 11/21/2017 10:02 AM, Shuah Khan wrote: > On 11/21/2017 10:44 AM, John Johansen wrote: >> On 11/21/2017 08:58 AM, Shuah Khan wrote: >>> Hi John, >>> >>> I am seeing the following on my laptop. Unfortunately this is my primary >>> system and my ability to bisect might be a bit limited. The system

[PATCH v2 1/2] ASoC: fsl_ssi: only enable proper channel slots in AC'97 mode

2017-11-21 Thread Maciej S. Szmigiero
We need to make sure that only proper channel slots (in SACCST register) are enabled at playback start time since some AC'97 CODECs (like VT1613 on UDOO board) were observed requesting via SLOTREQ spurious ones just after an AC'97 link is started but before the CODEC is configured by its driver.

Re: [PATCH v1] scripts: leaking_addresses.pl: add support for 32-bit kernel addresses

2017-11-21 Thread Tobin C. Harding
You don't typically need [xxx v1] for version 1, the v1 is implicit. Please use the git brief description prefix that is already in use i.e leaking_addresses: add support for 32-bit kernel addresses On Tue, Nov 21, 2017 at 01:28:14PM +0530, kaiwan.billimo...@gmail.com wrote: > The

[PATCH] frv: fix build failure

2017-11-21 Thread Sudip Mukherjee
'. Signed-off-by: Sudip Mukherjee <sudipm.mukher...@gmail.com> --- The build log of next-20171121 is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/305076731 arch/frv/kernel/traps.c | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/frv/kernel/traps.c b/arch/frv/kernel/t

Re: [PATCH 0/4] ARC perf updates

2017-11-21 Thread Vineet Gupta
On 11/07/2017 02:13 PM, Vineet Gupta wrote: Hi, Found these when cleaning up some old branches. The only controversial one could be the last one. Thx, -Vineet Vineet Gupta (4): ARCv2: perf: tweak overflow interrupt ARCv2: perf: optimize given that num counters <= 32 ARC: perf: avoid

Re: [PATCH] [man-pages] adjtimex.2: document clock_adjtime

2017-11-21 Thread Arnd Bergmann
On Tue, Nov 21, 2017 at 5:06 PM, Richard Cochran wrote: > On Tue, Nov 21, 2017 at 09:06:37AM +0100, Arnd Bergmann wrote: >> >> I copied that line from clock_gettime() man page. I suppose we want to >> fix change this in both pages, right? Any suggestions for a good way

Re: [PATCH v2] powerpc: fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWX

2017-11-21 Thread Benjamin Herrenschmidt
On Tue, 2017-11-21 at 19:28 +0200, Meelis Roos wrote: > For wider powerpc audience: this warning-like INFO bit is present > independently of theis patch. Is it dangerous for some configuration? > > INFO: Uncompressed kernel (size 0x5d6c54) overlaps the address of the > wrapper(0x40) > INFO:

Re: [PATCH update for 4.15 1/3] selftests: lib.mk: Introduce OVERRIDE_TARGETS

2017-11-21 Thread Mathieu Desnoyers
- On Nov 21, 2017, at 5:19 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > Introduce OVERRIDE_TARGETS to allow tests to express dependencies on > header files and .so, which require to override the selftests lib.mk > targets. Those 3 seftests update patches are still RFC (even

Re: new patchset to eliminate DM's use of BIOSET_NEED_RESCUER

2017-11-21 Thread Mike Snitzer
On Tue, Nov 21 2017 at 4:23pm -0500, Mikulas Patocka wrote: > > > On Tue, 21 Nov 2017, Mike Snitzer wrote: > > > On Tue, Nov 21 2017 at 7:43am -0500, > > Mike Snitzer wrote: > > > > > Decided it a better use of my time to review and then hopefully

Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector

2017-11-21 Thread Thomas Gleixner
On Tue, 21 Nov 2017, Mathieu Desnoyers wrote: > - On Nov 21, 2017, at 12:21 PM, Andi Kleen a...@firstfloor.org wrote: > > > On Tue, Nov 21, 2017 at 09:18:38AM -0500, Mathieu Desnoyers wrote: > >> Hi, > >> > >> Following changes based on a thorough coding style and patch changelog > >> review

[PATCH] NTB: switchtec_ntb: fix spelling mistake: "peforming" -> "performing"

2017-11-21 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err error message Signed-off-by: Colin Ian King --- drivers/ntb/hw/mscc/ntb_hw_switchtec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 1/4] mm: introduce get_user_pages_longterm

2017-11-21 Thread Andrew Morton
On Tue, 14 Nov 2017 11:56:34 -0800 Dan Williams wrote: > Until there is a solution to the dma-to-dax vs truncate problem it is > not safe to allow long standing memory registrations against > filesytem-dax vmas. Device-dax vmas do not have this problem and are >

Re: [PATCH 12/30] x86, kaiser: map GDT into user page tables

2017-11-21 Thread Dave Hansen
On 11/21/2017 02:46 PM, Andy Lutomirski wrote: >> GDT: R/O TSS: R/W at least because of trampoline stack entry code: >> EXEC+R/O exception stacks: R/W > Can you avoid code duplication by adding some logic right after the > kernel cpu_entry_area is set up to iterate page by page over the PTEs > in

Re: [PATCH v5 11/11] intel_sgx: driver documentation

2017-11-21 Thread Jethro Beekman
On 2017-11-21 04:47, Borislav Petkov wrote: On Tue, Nov 21, 2017 at 02:38:54PM +0200, Jarkko Sakkinen wrote: Try to start LE. If it doesn't start i.e. is signed with a different root key than the one inside MSRs, then fail the initialization. But what if the one inside the MSRs is from

[PATCH v2 2/2] ASoC: fsl_ssi: call _fsl_ssi_set_dai_fmt() just once in AC'97 mode

2017-11-21 Thread Maciej S. Szmigiero
In AC'97 mode we configure and start SSI RX / TX on probe path via a call to _fsl_ssi_set_dai_fmt() function. We don't need to call this function again later and in fact don't want to do it since this function temporarily sets STCR, SRCR and SCR to some intermediate values. Signed-off-by: Maciej

Very Early boot time stamps support

2017-11-21 Thread Abderrahmane Benbachir
Hi Pavel, I'm implementing a feature in ftrace to enable very early function tracing, I'm using tsc when x86_tsc feature is available, but it seems that you did similar work in your patch "[PATCH v9 0/6] Early boot time stamps for x86". I need to record timestamps at the start of

[PATCH] drm/mediatek: Use ERR_CAST instead of ERR_PTR(PTR_ERR())

2017-11-21 Thread Vasyl Gomonovych
Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)). drivers/gpu/drm/mediatek/mtk_drm_gem.c:223:9-16: WARNING: ERR_CAST can be used with mtk_gem Generated by: scripts/coccinelle/api/err_cast.cocci Signed-off-by: Vasyl Gomonovych ---

[PATCH v4 1/2] tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()

2017-11-21 Thread Azhar Shaikh
Commit 5e572cab92f0bb5 ("tpm: Enable CLKRUN protocol for Braswell systems") disabled CLKRUN protocol during TPM transactions and re-enabled once the transaction is completed. But there were still some corner cases observed where, reading of TPM header failed for savestate command while going to

<    3   4   5   6   7   8   9   10   11   12   >