[tip:x86/urgent] x86/microcode/AMD: Reload proper initrd start address

2016-12-21 Thread tip-bot for Borislav Petkov
Commit-ID: 8877ebdd3f9a3ffc84c4b67562d257c5f553bc49 Gitweb: http://git.kernel.org/tip/8877ebdd3f9a3ffc84c4b67562d257c5f553bc49 Author: Borislav Petkov AuthorDate: Tue, 20 Dec 2016 11:54:30 +0100 Committer: Thomas Gleixner CommitDate: Wed, 21 Dec 2016

[PATCH 0/3] arm perf: Support DEBUG_TEST_DRIVER_REMOVE

2016-12-21 Thread Alexander Stein
Using DEBUG_TEST_DRIVER_REMOVE every driver gets probed, removed and probed again. This breaks drivers without removal function, e.g. arm perf resulting in the following dump: [ cut here ] WARNING: CPU: 1 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x6c/0x7c sysfs: cannot

[PATCH 1/3] drivers/perf: arm_pmu: Use devm_ allocators

2016-12-21 Thread Alexander Stein
This eliminates several calls to kfree. Signed-off-by: Alexander Stein --- drivers/perf/arm_pmu.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/perf/arm_pmu.c b/drivers/perf/arm_pmu.c index b37b572..a9bbdbf

Re: Inlined functions in perf report

2016-12-21 Thread Steinar H. Gunderson
On Wed, Dec 21, 2016 at 11:09:42AM +0100, Milian Wolff wrote: > Just to check - did you really compile your code with frame pointers? By > default, that is not the case, and the above will try to do frame pointer > unwinding which will then fail. Put differently - do you any stack frames at >

[PATCH 2/3] drivers/perf: arm_pmu: add arm_pmu_device_remove

2016-12-21 Thread Alexander Stein
Add ARM PMU removal function. This will be required by perf event drivers when option DEBUG_TEST_DRIVER_REMOVE is enabled. Signed-off-by: Alexander Stein --- drivers/perf/arm_pmu.c | 14 ++ include/linux/perf/arm_pmu.h | 2 ++ 2 files

[PATCH v2] arm64: dts: rockchip: add u2phy clock for ehci and ohci of rk3399

2016-12-21 Thread Xing Zheng
From: William wu We found that the suspend process was blocked when it run into ehci/ohci module due to clk-480m of usb2-phy was disabled. The root cause is that usb2-phy suspended earlier than ehci/ohci (usb2-phy will be auto suspended if no devices plug-in). and the

Re: [PATCH 3/3] arm64: dts: rockchip: add clk-480m for ehci and ohci of rk3399

2016-12-21 Thread Xing Zheng
Hi Heiko, Doug 在 2016年12月17日 01:28, Doug Anderson 写道: Hi, On Thu, Dec 15, 2016 at 10:57 PM, Xing Zheng wrote: Hi Heiko, Doug, On 2016年12月16日 02:18, Heiko Stuebner wrote: Am Donnerstag, 15. Dezember 2016, 08:34:09 CET schrieb Doug Anderson: I still need to digest

[RFC]arm64: soft lockup on smp_call_function_many()

2016-12-21 Thread Yisheng Xie
The kernel version is 4.1.34. From the log, we can the pc at function csd_lock_wait(). We have backport the commit 8053871d0f7f("smp: Fix smp_call_function_single_async() locking"). So the function is: static void csd_lock_wait(struct call_single_data *csd) { while

Re: [PATCH v3 2/5] lib: Add Sed-opal library

2016-12-21 Thread Christoph Hellwig
On Tue, Dec 20, 2016 at 03:07:46PM -0700, Jon Derrick wrote: > > This pretty much seem to contain the OPAL protocol defintions, so why > > not opal_proto.h? > Since there might eventually be a whole class of opal-like sed > protocols, why does it make more sense to have opal_proto.h instead of >

Re: [PATCH DEBUG] x86, pat/mtrr: MTRR/PAT init earlier for each APs

2016-12-21 Thread Lukas Wunner
On Wed, Dec 21, 2016 at 02:51:02PM +0800, Chen Yu wrote: > On Tue, Dec 20, 2016 at 11:56:51AM +0100, Lukas Wunner wrote: > > On Tue, Dec 20, 2016 at 06:21:28PM +0800, Chen Yu wrote: > > > This is a debug patch to descibe/workaround the issue > > > we encountered recently. > > > > > > Problem and

Re: [PATCH 0/2] Add further ioctl() operations for namespace discovery

2016-12-21 Thread Michael Kerrisk (man-pages)
Hi Eric, On 12/21/2016 01:17 AM, Eric W. Biederman wrote: > "Michael Kerrisk (man-pages)" writes: > >> Hi Eric, >> >> On 12/20/2016 09:22 PM, Eric W. Biederman wrote: >>> "Michael Kerrisk (man-pages)" writes: >>> Hello Eric, On

Re: Inlined functions in perf report

2016-12-21 Thread Milian Wolff
On Wednesday, December 21, 2016 10:58:23 AM CET Steinar H. Gunderson wrote: > On Wed, Dec 21, 2016 at 08:53:33AM +0800, Jin, Yao wrote: > > I just pull my repo with the latest perf/core branch, and apply the patch > > one by one (git am 0001/0002/.../0005), they can be applied. Maybe you > > have

Re: [PATCH v4 1/2] power: supply: add sbs-charger driver

2016-12-21 Thread Manish Badarkhe
Hi Nicolas On Wed, Dec 21, 2016 at 3:00 PM, Nicolas Saenz Julienne wrote: > Hi Manish, thanks for the interest. > > On 20/12/16 17:54, Manish Badarkhe wrote: >> Hi Nicola >> > [...] >> >> Just some general comment, Can you add some more properties here to >> know

Re: [PATCH] ALSA: snd-usb: fix IRQ triggered NULL pointer dereference

2016-12-21 Thread Takashi Iwai
On Tue, 20 Dec 2016 14:04:56 +0100, Takashi Sakamoto wrote: > > Hi, > > On Dec 20 2016 20:47, Ioan-Adrian Ratiu wrote: > > On Tue, 20 Dec 2016, Takashi Sakamoto wrote: > >> --- > >> > >> Hi, > >> > >>> Commit 16200948d835 ("ALSA: usb-audio: Fix race at stopping the

Re: [RFC][PATCH 0/2] fsnotify: super block watch

2016-12-21 Thread Marko Rauhamaa
Amir Goldstein : > On the Oct 10 posting you asked me about the use case and it was hard > to explain the use case with only part of the work done. > > The issue, which this work sets to solve, is the poor scalability of > recursive inotify watches. On my [employer's] part,

[RESEND PATCH v2] arm64: dts: rockchip: add u2phy clock for ehci and ohci of rk3399

2016-12-21 Thread Xing Zheng
From: William wu We found that the suspend process was blocked when it run into ehci/ohci module due to clk-480m of usb2-phy was disabled. The root cause is that usb2-phy suspended earlier than ehci/ohci (usb2-phy will be auto suspended if no devices plug-in). and the

Re: [PATCH] ALSA: snd-usb: fix IRQ triggered NULL pointer dereference

2016-12-21 Thread Ioan-Adrian Ratiu
Hi On Wed, 21 Dec 2016, Takashi Iwai wrote: > On Tue, 20 Dec 2016 14:04:56 +0100, > Takashi Sakamoto wrote: >> >> Hi, >> >> On Dec 20 2016 20:47, Ioan-Adrian Ratiu wrote: >> > On Tue, 20 Dec 2016, Takashi Sakamoto wrote: >> >> --- >> >> >> >> Hi, >> >>

Re: OOM: Better, but still there on

2016-12-21 Thread Tetsuo Handa
Michal Hocko wrote: > TL;DR > there is another version of the debugging patch. Just revert the > previous one and apply this one instead. It's still not clear what > is going on but I suspect either some misaccounting or unexpeted > pages on the LRU lists. I have added one more tracepoint, so

Re: [PATCH] video: use designated initializers

2016-12-21 Thread Bartlomiej Zolnierkiewicz
Hi, On Sat, Dec 17, 2016 at 2:03 AM, Kees Cook wrote: > Prepare to mark sensitive kernel structures for randomization by making > sure they're using designated initializers. These were identified during > allyesconfig builds of x86, arm, and arm64, with most initializer

[PATCH] ARM64: dts: meson-gxbb-odroidc2: fix GbE tx link breakage

2016-12-21 Thread Jerome Brunet
OdroidC2 GbE link breaks under heavy tx transfer. This happens even if the MAC does not enable Energy Efficient Ethernet (No Low Power state Idle on the Tx path). The problem seems to come from the phy Rx path, entering the LPI state. Disabling EEE advertisement on the phy prevent this feature to

Re: [PATCH v3 4/5] nvme: Implement resume_from_suspend and SED Allocation code.

2016-12-21 Thread Christoph Hellwig
On Tue, Dec 20, 2016 at 10:52:41AM -0700, Scott Bauer wrote: > 2) Do we want to continue passing around a sed_context to the core? > Instead of a block_device struct like we did in previous versions. My personal preference would be the block_device, but in this case my preference collides with

Re: [PATCH v3 2/5] lib: Add Sed-opal library

2016-12-21 Thread Christoph Hellwig
On Tue, Dec 20, 2016 at 02:55:10PM -0700, Scott Bauer wrote: > Do you mean from nvme_ioctl? or from blk_ioctl? It was removed from blk_ioctl > because I must have misinterpreted your comments here: > http://lists.infradead.org/pipermail/linux-nvme/2016-December/007364.html nvme_ioctl, aka the

Re: uvcvideo logging kernel warnings on device disconnect

2016-12-21 Thread Greg KH
On Tue, Dec 20, 2016 at 11:19:23AM +, Dave Stevenson wrote: > Hi Greg. > > On 09/12/16 09:43, Greg KH wrote: > > On Fri, Dec 09, 2016 at 11:14:41AM +0200, Laurent Pinchart wrote: > > > Hi Greg, > > > > > > On Friday 09 Dec 2016 10:11:13 Greg KH wrote: > > > > On Fri, Dec 09, 2016 at

Re: Inlined functions in perf report

2016-12-21 Thread Steinar H. Gunderson
On Wed, Dec 21, 2016 at 08:53:33AM +0800, Jin, Yao wrote: > I just pull my repo with the latest perf/core branch, and apply the patch > one by one (git am 0001/0002/.../0005), they can be applied. Maybe you have > to do like that because the mails are probably coming out of order. OK. I applied

Re: [PATCHSET] kernfs, cgroup: reimplement "cgroup.procs" reading for v2

2016-12-21 Thread Greg KH
On Tue, Dec 20, 2016 at 11:12:17AM -0500, Tejun Heo wrote: > On cgroup v1, the pid listings in "cgroup.procs" and "tasks" are > sorted which adds a lot of complications and overhead. v2 doesn't > have such requirement and has been intentionally using a modified > sorting order so that the output

Re: [PATCH V2 2/3] mtd: spi-nor: add support for macronix mx25u3235f

2016-12-21 Thread Marek Vasut
On 12/21/2016 09:18 AM, John Crispin wrote: > Hi André > > could you test if it also works when enabling SECT_4K please ? Yes, please test, thanks. btw please do stop top-posting. > John > > On 21/12/2016 09:11, André Valentin wrote: >> Hi! >> >> I took these values from the

[PATCH] Revert "ALSA: usb-audio: Fix race at stopping the stream"

2016-12-21 Thread Takashi Iwai
This reverts commit 16200948d8353fe29a473a394d7d26790deae0e7. The commit was intended to cover the race condition, but it introduced yet another regression for devices with the implicit feedback, leading to a kernel panic due to NULL-dereference in an irq context. As the race condition that was

Re: [RFC][PATCH] make global bitlock waitqueues per-node

2016-12-21 Thread Nicholas Piggin
On Wed, 21 Dec 2016 09:09:31 +0100 Peter Zijlstra wrote: > On Tue, Dec 20, 2016 at 10:02:46AM -0800, Linus Torvalds wrote: > > On Tue, Dec 20, 2016 at 9:31 AM, Linus Torvalds > > wrote: > > > > > > I'll go back and try to see why the page

[PATCH] net: macb: Applied changes according to review made by Andy Shevchenko.

2016-12-21 Thread Bartosz Folta
This patch is sent in regard to recently applied patch Commit 83a77e9ec4150ee4acc635638f7dedd9da523a26 net: macb: Added PCI wrapper for Platform Driver. Andy's review does not appear on mailing lists. I can't reference it. Signed-off-by: Bartosz Folta ---

Re: [PATCH 02/15] hyperv: uapi-fy synic event flags definitions

2016-12-21 Thread kbuild test robot
Hi Roman, [auto build test ERROR on linus/master] [also build test ERROR on v4.9 next-20161221] [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/Roman-Kagan/hyperv-more-stuff-to-uapi-cleanup

Re: [PATCH v3 14/15] livepatch: add /proc//patch_state

2016-12-21 Thread Petr Mladek
On Thu 2016-12-08 12:08:39, Josh Poimboeuf wrote: > Expose the per-task patch state value so users can determine which tasks > are holding up completion of a patching operation. > > Signed-off-by: Josh Poimboeuf Makes sense. Reviewed-by: Petr Mladek

[PATCH v2] extcon: int3496: Add Intel INT3496 ACPI device extcon driver

2016-12-21 Thread Hans de Goede
From: David Cohen Add an extcon driver for USB OTG ports controlled by an Intel INT3496 ACPI device (e.g. Baytrail, Cherrytrail devices). Signed-off-by: David Cohen [hdgo...@redhat.com: Port to current kernel, cleanup, submit upstream]

[PATCH] arc: enable unaligned access in kernel mode

2016-12-21 Thread Alexey Brodkin
This enables misaligned access handling even in kernel mode. Some wireless drivers (ath9k-htc and mt7601u) use misaligned accesses here and there and to cope with that without fixing stuff in the drivers we're just gracefully handling it on ARC. Signed-off-by: Alexey Brodkin

Re: [RFC PATCH] Memory hotplug support for arm64 platform

2016-12-21 Thread Maciej Bielski
Hi Scott, Thanks for testing it and providing us the feedback. For replicating the problem you have reported, could you provide more info on your system configuration, please? Among others, few questions that we have in mind are: * What is the RAM size at boot? Is it multiple of 1GB (or

[PATCH] hp_accel: Add support for HP ZBook 17

2016-12-21 Thread Ladislav Michl
HP ZBook 17 laptop needs a non-standard mapping (xy_swap_yz_inverted). Signed-off-by: Ladislav Michl --- Test done on patched driver; reading /sys/devices/platform/lis3lv02d/position - laptop is horizontal: (-36,0,1188) - the left side is elevated: (522,18,1062) - the

Re: [PATCH V2 2/3] mtd: spi-nor: add support for macronix mx25u3235f

2016-12-21 Thread John Crispin
On 21/12/2016 11:07, Marek Vasut wrote: > On 12/21/2016 09:18 AM, John Crispin wrote: >> Hi André >> >> could you test if it also works when enabling SECT_4K please ? > > Yes, please test, thanks. > > btw please do stop top-posting. > >> John >> Sorry about top posting. André will need

[PATCH 3/3] arm: perf: Add platform driver removal function

2016-12-21 Thread Alexander Stein
Despite the driver cannot be built as a module using the option DEBUG_TEST_DRIVER_REMOVE requires the drivers to actually remove the device. Signed-off-by: Alexander Stein --- arch/arm/kernel/perf_event_v7.c | 6 ++ 1 file changed, 6 insertions(+)

Re: [PATCH] pci: add kernel config option for disabling common PCI quirks

2016-12-21 Thread Lukas Wunner
On Wed, Dec 21, 2016 at 08:53:04AM +0100, John Crispin wrote: > From: Gabor Juhos > > These quirks do not effect small small plastic routers. These routers tend > to have very little flash space. This patch adds a new option that allows > us to build a kernel without

"klist" "k" stand for what ?

2016-12-21 Thread galcon zhao
HI ALL: I am reading kernel source code ,but I have a question. struct klist { spinlock_t k_lock; struct list_head k_list; void (*get)(struct klist_node *); void (*put)(struct klist_node *); } __attribute__ ((aligned (sizeof(void *; "klist"

Re: [PATCH V2 2/3] mtd: spi-nor: add support for macronix mx25u3235f

2016-12-21 Thread Cyrille Pitchen
Hi all, Le 21/12/2016 à 08:23, John Crispin a écrit : > From: André Valentin > > This patch adds support for a new macronix spi flash chip. We have had this > patch inside our tree for a while and people are actively using routers > with this chip. > > Signed-off-by:

Re: [PATCH V2 1/3] mtd: spi-nor: add support for macronix mx25u25635f

2016-12-21 Thread Cyrille Pitchen
Hi all, Le 21/12/2016 à 08:23, John Crispin a écrit : > From: Ash Benz > > This patch adds support for a new macronix spi flash chip. We have had this > patch inside our tree for a while and people are actively using routers > with this chip. > > Signed-off-by: John Crispin

Re: WARNING: CPU: 3 PID: 1568 at kernel/sched/core.c:7738 __might_sleep+0x69/0x7e

2016-12-21 Thread Michal Hocko
On Mon 12-12-16 14:45:31, Shaohua Li wrote: > On Mon, Dec 12, 2016 at 05:03:49PM -0500, Tejun Heo wrote: > > Hello, Michal. > > > > On Fri, Dec 09, 2016 at 04:12:29PM +0100, Michal Hocko wrote: > > > Hi Tejun, > > > I am seeing the following warning during boot in my kvm testing > > >

Re: [PATCH v3 6/7] thunderbolt: Power down controller when idle

2016-12-21 Thread Lukas Wunner
On Tue, Dec 20, 2016 at 03:44:31PM +0200, Andy Shevchenko wrote: > On Tue, Dec 20, 2016 at 1:28 PM, Lukas Wunner wrote: > > On Mon, Dec 19, 2016 at 01:05:10AM +0200, Andy Shevchenko wrote: > >> On Sat, Dec 17, 2016 at 4:39 PM, Lukas Wunner wrote: > >> >

Re: [PATCH] video: use designated initializers

2016-12-21 Thread Bartlomiej Zolnierkiewicz
[ sent from the right account this time, sorry for duplicate mail ] Hi, On Friday, December 16, 2016 05:03:09 PM Kees Cook wrote: > Prepare to mark sensitive kernel structures for randomization by making > sure they're using designated initializers. These were identified during > allyesconfig

Re: OOM: Better, but still there on

2016-12-21 Thread Michal Hocko
On Wed 21-12-16 20:00:38, Tetsuo Handa wrote: > Michal Hocko wrote: > > TL;DR > > there is another version of the debugging patch. Just revert the > > previous one and apply this one instead. It's still not clear what > > is going on but I suspect either some misaccounting or unexpeted > > pages

Re: [tip:perf/urgent] uprobes: Fix uprobes on MIPS, allow for a cache flush after ixol breakpoint creation

2016-12-21 Thread Ralf Baechle
On Tue, Dec 20, 2016 at 06:50:05PM +0100, Oleg Nesterov wrote: > >>> Commit: > >>> > >>> 72e6ae285a1d ('ARM: 8043/1: uprobes need icache flush after xol write' > >>> > >>> ... has introduced an arch-specific method to ensure all caches are > >>> flushed appropriately after an instruction is

Re: [PATCH 2/3] extcon: axp288: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set

2016-12-21 Thread Chanwoo Choi
Hi, On 2016년 12월 21일 16:55, Baolin Wang wrote: > Hi, > > On 21 December 2016 at 15:22, Chanwoo Choi wrote: >> Hi, >> >> On 2016년 12월 21일 15:10, Baolin Wang wrote: >>> According to the documentation, we should set the EXTCON_USB when >>> one SDP charger connector was

[PATCH v3] rfkill: Add rfkill-any LED trigger

2016-12-21 Thread Michał Kępień
Add a new "global" (i.e. not per-rfkill device) LED trigger, rfkill-any, which may be useful on laptops with a single "radio LED" and multiple radio transmitters. The trigger is meant to turn a LED on whenever there is at least one radio transmitter active and turn it off otherwise. This

Re: [PATCH] dax: kill uml support

2016-12-21 Thread Jan Kara
On Tue 20-12-16 17:37:40, Dan Williams wrote: > The lack of common transparent-huge-page helpers for UML is becoming > increasingly painful for fs/dax.c now that it is growing more pmd > functionality. Add UML to the list of unsupported architectures, and > clean up no-longer-necessary ifdef as a

Re: [PATCH v18 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-12-21 Thread Baolin Wang
On 21 December 2016 at 11:48, NeilBrown wrote: > On Wed, Dec 21 2016, Baolin Wang wrote: > >> Hi, >> >> On 21 December 2016 at 06:07, NeilBrown wrote: >>> On Tue, Dec 20 2016, Baolin Wang wrote: >>> Hi Neil, On 3 November 2016 at 09:25, NeilBrown

[RFC PATCH 3/7] Enable pause frame support

2016-12-21 Thread Satha Koteswara Rao
--- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 25 +++ drivers/net/ethernet/cavium/thunder/thunder_bgx.h | 7 +++ 2 files changed, 32 insertions(+) diff --git a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c

[RFC PATCH 4/7] HW Filter Initialization code and register access APIs

2016-12-21 Thread Satha Koteswara Rao
--- drivers/net/ethernet/cavium/thunder/pf_reg.c | 660 +++ 1 file changed, 660 insertions(+) create mode 100644 drivers/net/ethernet/cavium/thunder/pf_reg.c diff --git a/drivers/net/ethernet/cavium/thunder/pf_reg.c b/drivers/net/ethernet/cavium/thunder/pf_reg.c new

Re: [RFC][PATCH] make global bitlock waitqueues per-node

2016-12-21 Thread Peter Zijlstra
On Tue, Dec 20, 2016 at 10:02:46AM -0800, Linus Torvalds wrote: > On Tue, Dec 20, 2016 at 9:31 AM, Linus Torvalds > wrote: > > > > I'll go back and try to see why the page flag contention patch didn't > > get applied. > > Ahh, a combination of warring patches by

Re: [PATCH] scsi: do not requeue requests unaligned with device sector size

2016-12-21 Thread Hannes Reinecke
On 12/21/2016 08:50 AM, Christoph Hellwig wrote: > On Tue, Dec 20, 2016 at 12:02:27AM -0200, Mauricio Faria de Oliveira wrote: >> When a SCSI command (e.g., read operation) is partially completed >> with good status and residual bytes (i.e., not all the bytes from >> the specified transfer length

[PATCH v2 2/4] ocfs2: fix some small problems

2016-12-21 Thread Gang He
First, move setting fe_done = 1 in spin lock, avoid bring any potential race condition. Second, tune mlog message level from ERROR to NOTICE, since the message should not belong to error message. Signed-off-by: Gang He --- fs/ocfs2/filecheck.c | 8 1 file changed, 4

[PATCH v2 3/4] ocfs2: add kobject for online file check

2016-12-21 Thread Gang He
Use embedded kobject mechanism for online file check feature, this will avoid to use a global list to save/search per-device online file check related data. The changed code is based on Goldwyn Rodrigues's patches and ext4 fs code. Signed-off-by: Gang He --- fs/ocfs2/filecheck.c

Re: [PATCH V2 2/3] mtd: spi-nor: add support for macronix mx25u3235f

2016-12-21 Thread André Valentin
Hi! I took these values from the manufacturer SDK (Qualcomm). I could not detect any problems with the setting. Kind regards, André Am 21.12.2016 um 08:33 schrieb Marek Vasut: > On 12/21/2016 08:23 AM, John Crispin wrote: >> From: André Valentin >> >> This patch adds

[PATCH v2 4/4] ocfs2: add duplicative ino number check

2016-12-21 Thread Gang He
Add duplicative ino number check, to avoid adding a file into the file check list when this file is being checked. Signed-off-by: Gang He --- fs/ocfs2/filecheck.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/fs/ocfs2/filecheck.c

[PATCH v2 0/4] ocfs2: use kobject for online file check

2016-12-21 Thread Gang He
Use embedded kobject mechanism for online file check feature, this will avoid to use a global list to save/search per-device online file check related data. The changed code is based on Goldwyn Rodrigues's patches and ext4 fs code, there is not any new features added, except some very small

Re: [PATCH 1/2] btrfs: drop trace_btrfs_all_work_done() from normal_work_helper()

2016-12-21 Thread Sebastian Andrzej Siewior
On 2016-12-21 08:33:03 [+0800], Qu Wenruo wrote: > The trace point only uses the pointer, and this helps us to pair with > btrfs_work_queued/sched. | /* For situiations that the work is freed */ | DECLARE_EVENT_CLASS(btrfs__work__done, | | TP_PROTO(struct btrfs_work *work), | |

Re: [PATCH] scsi/bfa: use designated initializers

2016-12-21 Thread Christoph Hellwig
On Fri, Dec 16, 2016 at 05:05:15PM -0800, Kees Cook wrote: > Prepare to mark sensitive kernel structures for randomization by making > sure they're using designated initializers. These were identified during > allyesconfig builds of x86, arm, and arm64, with most initializer fixes > extracted from

[RFC PATCH 7/7] Get notifications from PF driver and configure filter block based on request data

2016-12-21 Thread Satha Koteswara Rao
--- drivers/net/ethernet/cavium/thunder/pf_filter.c | 1678 +++ 1 file changed, 1678 insertions(+) create mode 100644 drivers/net/ethernet/cavium/thunder/pf_filter.c diff --git a/drivers/net/ethernet/cavium/thunder/pf_filter.c

Re: [PATCH 2/2] dax: wrprotect pmd_t in dax_mapping_entry_mkclean

2016-12-21 Thread Jan Kara
On Tue 20-12-16 15:23:06, Ross Zwisler wrote: > Currently dax_mapping_entry_mkclean() fails to clean and write protect the > pmd_t of a DAX PMD entry during an *sync operation. This can result in > data loss in the following sequence: > > 1) mmap write to DAX PMD, dirtying PMD radix tree entry

Re: [PATCH 3/7] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor

2016-12-21 Thread Maxime Ripard
Hi, On Tue, Dec 20, 2016 at 04:20:04PM +0100, Quentin Schulz wrote: > >> + select MFD_SUN4I_GPADC if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I > > > > Why did you change the depends on to a select? > > > > The "depends on" does not have an if condition but "select" has. See: >

[PATCH] platform: Print the resource range if device failed to claim

2016-12-21 Thread Chen Yu
Sometimes we have the following error message: platform MSFT0101:00: failed to claim resource 1 acpi MSFT0101:00: platform device creation failed: -16 But there is not enough information to figure out which resource range failed to claim. Thus print the resource range at first-place thus

[PATCH v2 3/3] phy: rockchip-inno-usb2: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set

2016-12-21 Thread Baolin Wang
According to the documentation, we should set the EXTCON_USB when one SDP charger connector was reported. Signed-off-by: Baolin Wang Reviewed-by: Chanwoo Choi --- Changes since v1: - Change extcon_set_cable_state_() to extcon_set_state_sync(). -

[PATCH v2 1/4] ocfs2: move some definitions to header file

2016-12-21 Thread Gang He
Move some definitions to header file, which will be referenced by other source files when kobject mechanism is introduced. Signed-off-by: Gang He --- fs/ocfs2/filecheck.c | 27 --- fs/ocfs2/filecheck.h | 27 +++ 2 files changed, 27

Re: [RFC][PATCH] make global bitlock waitqueues per-node

2016-12-21 Thread Peter Zijlstra
On Wed, Dec 21, 2016 at 09:09:31AM +0100, Peter Zijlstra wrote: > On Tue, Dec 20, 2016 at 10:02:46AM -0800, Linus Torvalds wrote: > > On Tue, Dec 20, 2016 at 9:31 AM, Linus Torvalds > > wrote: > > > > > > I'll go back and try to see why the page flag contention

Re: [RFC PATCH] mm: introduce kv[mz]alloc helpers

2016-12-21 Thread Michal Hocko
It seems that this email didn't get delivered due to some stupid gmail spam policy. Let me try to repost via a different relay. Sorry to those who have seen the original message and get a duplicate now. On Wed 21-12-16 08:03:53, Michal Hocko wrote: > On Tue 20-12-16 14:13:41, Andrew Morton wrote:

Re: [PATCH 1/2] btrfs: drop trace_btrfs_all_work_done() from normal_work_helper()

2016-12-21 Thread Qu Wenruo
At 12/21/2016 04:28 PM, Sebastian Andrzej Siewior wrote: On 2016-12-21 08:33:03 [+0800], Qu Wenruo wrote: The trace point only uses the pointer, and this helps us to pair with btrfs_work_queued/sched. | /* For situiations that the work is freed */ | DECLARE_EVENT_CLASS(btrfs__work__done, |

Re: [PATCH v2] ARM64: dts: marvell: Correct license text

2016-12-21 Thread Gregory CLEMENT
Hi Alexandre, On mar., déc. 20 2016, Alexandre Belloni wrote: > The license text has been mangled at some point then copy pasted across > multiple files. Restore it to what it should be. > Note that this is not intended as a license change. I think you

Re: [PATCH v3 4/5] nvme: Implement resume_from_suspend and SED Allocation code.

2016-12-21 Thread Christoph Hellwig
On Tue, Dec 20, 2016 at 09:05:32AM -0700, Scott Bauer wrote: > Thanks Keith. Although TCG Spec currently ignores it in the future it may not. > In that case we should probably attempt to future proof it a bit. Since the > namespace ID is accessible via the block device structure I'll find a way to

RE: [PATCH] acpi: Fix format string type mistakes

2016-12-21 Thread Zheng, Lv
Hi, Kees and Emese The pull request is under rebasing. So if you cannot reach the URL, find the commit here: https://github.com/acpica/acpica/pull/196 Thanks and best regards Lv > From: Zheng, Lv > Subject: RE: [PATCH] acpi: Fix format string type mistakes > > Hi, Kees and Emese > > I just

Re: [PATCH 2/3] mm, oom: do not enfore OOM killer for __GFP_NOFAIL automatically

2016-12-21 Thread Michal Hocko
On Wed 21-12-16 00:31:47, Tetsuo Handa wrote: > Michal Hocko wrote: > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index c8eed66d8abb..2dda7c3eba52 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -3098,32 +3098,31 @@ __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int > >

[RFC PATCH 1/7] PF driver modified to enable HW filter support, changes works in backward compatibility mode Enable required things in Makefile Enable LZ4 dependecy inside config file

2016-12-21 Thread Satha Koteswara Rao
--- drivers/net/ethernet/cavium/Kconfig| 1 + drivers/net/ethernet/cavium/thunder/Makefile | 2 +- drivers/net/ethernet/cavium/thunder/nic.h | 203 --- drivers/net/ethernet/cavium/thunder/nic_main.c | 735 ++--- 4 files changed, 804 insertions(+),

[RFC PATCH 2/7] VF driver changes to enable hooks to get kernel notifications

2016-12-21 Thread Satha Koteswara Rao
--- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 579 ++- 1 file changed, 565 insertions(+), 14 deletions(-) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c b/drivers/net/ethernet/cavium/thunder/nicvf_main.c index 8a37012..8f00bc7 100644 ---

Re: Re: [PATCH 1/1] mm: call force_sig_info before prints

2016-12-21 Thread Russell King - ARM Linux
This is unreadable. Sorry. On Wed, Dec 21, 2016 at 05:59:11AM +, AMIT NAGAL wrote: > > > .search-word { > BACKGROUND-COLOR: #ffee94 > } > P { > MARGIN-BOTTOM: 5px; FONT-SIZE: 10pt; FONT-FAMILY: Arial, arial; > MARGIN-TOP: 5px > } > TD { > MARGIN-BOTTOM: 5px; FONT-SIZE:

[PATCH 0/2] test capability for remote task

2016-12-21 Thread Jike Song
Sometimes vfio iommu type1 needs to pin memory for a remote task other than current, thereby needs to test the CAP_IPC_LOCK capability for that task. The proper routine for this purpose is has_capability(), but it is not yet exported for modules. None of currently exported capability- testing

[PATCH 1/2] capability: export has_capability

2016-12-21 Thread Jike Song
has_capability() is sometimes needed by modules to test capability for specified task other than current, so export it. Cc: Alex Williamson Cc: Kirti Wankhede Signed-off-by: Jike Song --- kernel/capability.c | 1 + 1 file

[PATCH 2/2] vfio iommu type1: fix the testing of capability for remote task

2016-12-21 Thread Jike Song
Before the mdev enhancement type1 iommu used capable() to test the capability of current task; in the course of mdev development a new requirement, testing for another task other than current, was raised. ns_capable() was used for this purpose, however it still tests current, the only difference

Re: [PATCH V2 2/3] mtd: spi-nor: add support for macronix mx25u3235f

2016-12-21 Thread John Crispin
Hi André could you test if it also works when enabling SECT_4K please ? John On 21/12/2016 09:11, André Valentin wrote: > Hi! > > I took these values from the manufacturer SDK (Qualcomm). I could not detect > any problems with the setting. > > Kind regards, > > André > > Am

Re: [PATCH 1/2] btrfs: drop trace_btrfs_all_work_done() from normal_work_helper()

2016-12-21 Thread Sebastian Andrzej Siewior
On 2016-12-21 16:45:06 [+0800], Qu Wenruo wrote: > > | DECLARE_EVENT_CLASS(btrfs__work__done, > > | > > | TP_PROTO(struct btrfs_work *work), > > | > > | TP_ARGS(work), > > | > > | TP_STRUCT__entry_btrfs( > > | __field(void *, work

Re: [PATCH v2] ARM: dts: mvebu: Correct license text

2016-12-21 Thread Gregory CLEMENT
Hi Alexandre, On mar., déc. 20 2016, Alexandre Belloni wrote: > The license text has been mangled at some point then copy pasted across > multiple files. Restore it to what it should be. > Note that this is not intended as a license change. And here

[RFC PATCH 0/7] ThunderX Embedded switch support

2016-12-21 Thread Satha Koteswara Rao
Background == Proposed patch configures programmable ThunderX embedded network switch to emulate functions of e-switch found in most industry standard NICs. Embedded switch is pre-configured by loading firmware image which exposes several firmware defined tables allowing configuration of

[RFC PATCH 6/7] HW Filter Table access API's

2016-12-21 Thread Satha Koteswara Rao
--- drivers/net/ethernet/cavium/thunder/tbl_access.c | 262 +++ drivers/net/ethernet/cavium/thunder/tbl_access.h | 61 ++ 2 files changed, 323 insertions(+) create mode 100644 drivers/net/ethernet/cavium/thunder/tbl_access.c create mode 100644

[RFC PATCH 5/7] Multiple VF's grouped together under single physical port called PF group PF Group maintainance API's

2016-12-21 Thread Satha Koteswara Rao
--- drivers/net/ethernet/cavium/thunder/pf_globals.h | 78 + drivers/net/ethernet/cavium/thunder/pf_locals.h | 365 +++ drivers/net/ethernet/cavium/thunder/pf_vf.c | 207 + 3 files changed, 650 insertions(+) create mode 100644

Re: [PATCH v4 1/2] power: supply: add sbs-charger driver

2016-12-21 Thread Nicolas Saenz Julienne
Hi Manish, thanks for the interest. On 20/12/16 17:54, Manish Badarkhe wrote: > Hi Nicola > [...] > > Just some general comment, Can you add some more properties here to > know voltage and current? I assume you are mentioning reading current and voltage values. These properties are not supported

[PATCH v4 0/2] iio: adc: hx711: Add IIO driver for AVIA HX711 ADC

2016-12-21 Thread Andreas Klinger
This series adds IIO driver support for the AVIA HX711 ADC which is mostly used in weighting cells. The first patch adds the new DT binding for which a new vendor avia was also added. The second patch is the simple IIO driver implemented as ADC. The protocol is specific to this device and

[PATCH v4 2/2] iio: adc: hx711: Add IIO driver for AVIA HX711

2016-12-21 Thread Andreas Klinger
This is the IIO driver for AVIA HX711 ADC which ist mostly used in weighting cells. The protocol is quite simple and using GPIOs: One GPIO is used as clock (SCK) while another GPIO is read (DOUT) The raw value read from the chip is delivered. To get a weight one needs to subtract the zero

[PATCH v4 1/2] iio: adc: hx711: Add DT binding for avia,hx711

2016-12-21 Thread Andreas Klinger
Add DT bindings for avia,hx711 Add vendor avia to vendor list [PATCH v3 1/2] of this patch was Acked-by: Rob Herring Sorry, but i had to add the regulator (avdd-supply) and therefore it needs to be acked once again. Signed-off-by: Andreas Klinger ---

Re: [PATCH v3 06/15] livepatch/s390: reorganize TIF thread flag bits

2016-12-21 Thread Miroslav Benes
On Thu, 8 Dec 2016, Josh Poimboeuf wrote: > From: Jiri Slaby > > Group the TIF thread flag bits by their inclusion in the _TIF_WORK and > _TIF_TRACE macros. > > Signed-off-by: Jiri Slaby > Signed-off-by: Josh Poimboeuf I believe there is

Re: Linux 4.9-rc6

2016-12-21 Thread Eric Dumazet
On Sun, 2016-12-04 at 09:17 -0800, Eric Dumazet wrote: > On Sun, 2016-12-04 at 03:10 -0800, Linus Torvalds wrote: > > > > > > On Dec 4, 2016 02:43, "Thorsten Leemhuis" > > wrote: > > > > > > What the status of below patch? From the discussion

Re: [PATCH] i2c: uniphier[-f]: fix bool logic calculation

2016-12-21 Thread Masahiro Yamada
Hi Joe, 2016-12-21 2:55 GMT+09:00 Joe Perches : > On Wed, 2016-12-21 at 01:20 +0900, Masahiro Yamada wrote: >> Hi. >> >> I have not got any comment, but does this seem >> a right thing to do? > >> This code is working, but it should not depend on how "bool" is >> typedef'ed, or

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

2016-12-21 Thread Paolo Bonzini
On 21/12/2016 15:26, Christoph Hellwig wrote: > On Wed, Dec 21, 2016 at 03:59:20PM +0300, Roman Kagan wrote: >> That's fine by me. >> >> I guess the series should then start with a complete move >> arch/x86/include/uapi/asm/hyperv.h -> >> arch/x86/include/asm/hyperv_proto.h, and the remaining

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

2016-12-21 Thread Christoph Hellwig
On Wed, Dec 21, 2016 at 04:39:18PM +0100, Paolo Bonzini wrote: > That said, there are precedents in using UAPI this way for PV > interfaces. See for example include/uapi/linux/virtio*.h and > arch/x86/include/uapi/asm/kvm_para.h. We have all kinds of historical examples, but most of them turned

[GIT PULL] parisc architecture updates for v4.10-rc1

2016-12-21 Thread Helge Deller
Hi Linus, please pull the changes for this merge window for the parisc architecture from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.10-1 Changes include: - Add Kernel address space layout randomization support - Re-enable interrupts earlier now that we

[Resend PATCH 1/2] mm/sparse: use page_private() to get page->private value

2016-12-21 Thread Yasuaki Ishimatsu
free_map_bootmem() uses page->private directly to set removing_section_nr argument. But to get page->private value, page_private() has been prepared. So free_map_bootmem() should use page_private() instead of page->private. Signed-off-by: Yasuaki Ishimatsu ---

[PATCH v2] scripts: checkincludes: add exit message for no duplicates found

2016-12-21 Thread Cheah Kok Cheong
If no duplicates found, inform user. Signed-off-by: Cheah Kok Cheong --- Notes: V2: Remove unnecessary subroutine - Michal scripts/checkincludes.pl | 8 1 file changed, 8 insertions(+) diff --git a/scripts/checkincludes.pl b/scripts/checkincludes.pl index

Re: [PATCH 2/3] NFC: trf7970a: Add device tree option of 1.8 Volt IO voltage

2016-12-21 Thread Geoff Lansberry
Thanks Mark. Should I resubmit patches with the requested edits today, or wait a bit for more comments? What is the desired etiquette? > On Dec 20, 2016, at 9:23 PM, Mark Greer wrote: > >> On Tue, Dec 20, 2016 at 11:16:31AM -0500, Geoff Lansberry wrote: >> From:

Re: [PATCH v3] net: macb: Added PCI wrapper for Platform Driver.

2016-12-21 Thread Andy Shevchenko
On Wed, Dec 21, 2016 at 1:53 PM, Bartosz Folta wrote: > Please find link to patch holding changes that you suggested: > https://lkml.kernel.org/r/sn1pr0701mb1951b994f86160a24c436f30cc...@sn1pr0701mb1951.namprd07.prod.outlook.com > > Here is alternative link to mentioned patch.

  1   2   3   4   5   6   7   8   9   10   >