Re: [PATCH V7 3/3] dma: add Qualcomm Technologies HIDMA channel driver

2015-12-04 Thread Vinod Koul
On Wed, Dec 02, 2015 at 02:04:05PM -0500, Sinan Kaya wrote: > >> > You are missing the point. Channel can be paused, yes but the descriptor > >> > is in queue and is not paused. The descriptor running is paused, yes. > >> > There is subtle difference between these > > I'll follow your

Re: [PATCH V7 2/3] dma: add Qualcomm Technologies HIDMA management driver

2015-12-04 Thread Vinod Koul
On Tue, Dec 01, 2015 at 11:57:34PM -0500, Sinan Kaya wrote: > On 11/30/2015 10:17 PM, Vinod Koul wrote: > > On Mon, Nov 30, 2015 at 09:42:01AM -0500, Sinan Kaya wrote: > > > +static int hidma_mgmt_probe(struct platform_device *pdev) > +{ > +struct hidma_mgmt_dev *mgmtdev; >

[PATCH net-next 1/2] net: hns: enet specisies a reference to dsaf

2015-12-04 Thread yankejian
enet is associating with dasf. before this patch, the association is the same strings between ae-name and dsa-name. in a general way, enet specifies a reference to dsaf should be a good idea. so this patch deletes the ae-name in enet, and adds parsing the ae-handle from DT to set the associating

[PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board

2015-12-04 Thread yankejian
This patch adds documentation for the devicetree bindings used by the DT files of Hisilicon Hip05-D02 development board. Signed-off-by: yankejian --- .../devicetree/bindings/arm/hisilicon/hisilicon.txt | 16 1 file changed, 16 insertions(+) diff --git

Re: [PATCH RESEND net-next 0/3] dts: hisi: fixes can't find eth for hip05-D02

2015-12-04 Thread Yankejian (Hackim Yim)
sorry, pls ignore this patchset. On 2015/12/5 15:54, yankejian wrote: > this patchset fixes the bug that eth can't initial successful on hip05-D02 > because the dts files doesn't match the source code. > > yankejian (3): > dts: hisi: enables the ethX for D02 board > dts: hisi: fixes no syscon

Re: [PATCH v3 0/10] cpufreq: add generic cpufreq driver support for Exynos542x/5800 platforms

2015-12-04 Thread Bartlomiej Zolnierkiewicz
Hi, On Saturday, December 05, 2015 09:24:44 AM Viresh Kumar wrote: > On 04-12-15, 18:30, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > > > This patch series adds generic arm_big_little_dt cpufreq driver > > support for Exynos542x/5800 (using the new CPU clock type which > > allows it). It also:

[PATCH net-next 0/2] net: hns: enet specisies a reference to dsaf

2015-12-04 Thread yankejian
in this patchset, enet specifies a reference to dsaf. and delete the ae-name in enet, and adds parsing the ae-handle from DT to set the associating with dsaf. the patchset updates the dtsi and bindings documents as well. yankejian (2): net: hns: enet specisies a reference to dsaf net: hns:

[PATCH net-next 2/2] net: hns: enet specisies a reference to dsaf (config and documents)

2015-12-04 Thread yankejian
when enet specisies a reference to dsaf, the correlative config and documents needs to update. this patch updates the correlative dtsi file and bindings documents . Signed-off-by: yankejian --- .../devicetree/bindings/net/hisilicon-hns-dsaf.txt| 5 +

[PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board

2015-12-04 Thread yankejian
this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it cannot find hns ethX by ifconfig -a. Signed-off-by: yankejian --- arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16 1 file changed, 16 insertions(+) diff --git

[PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio

2015-12-04 Thread yankejian
when linux start up, we get the log below: "Hi-HNS_MDIO 803c.mdio: no syscon hisilicon,peri-c-subctrl mdio_bus mdio@803c: mdio sys ctl reg has not maped " the source code about the subctrl is dealled with syscon, but dts doesn't. it cause such fault. so this patch adds the syscon

[PATCH RESEND net-next 0/3] dts: hisi: fixes can't find eth for hip05-D02

2015-12-04 Thread yankejian
this patchset fixes the bug that eth can't initial successful on hip05-D02 because the dts files doesn't match the source code. yankejian (3): dts: hisi: enables the ethX for D02 board dts: hisi: fixes no syscon error when init mdio arm64: hip05-d02: Document devicetree bindings for

[PATCH RESEND net-next 0/3] dts: hisi: fixes can't find eth for hip05-D02

2015-12-04 Thread yankejian
this patchset fixes the bug that eth can't initial successful on hip05-D02 because the dts files doesn't match the source code. yankejian (3): dts: hisi: enables the ethX for D02 board dts: hisi: fixes no syscon error when init mdio arm64: hip05-d02: Document devicetree bindings for

[PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio

2015-12-04 Thread yankejian
when linux start up, we get the log below: "Hi-HNS_MDIO 803c.mdio: no syscon hisilicon,peri-c-subctrl mdio_bus mdio@803c: mdio sys ctl reg has not maped " the source code about the subctrl is dealled with syscon, but dts doesn't. it cause such fault. so this patch adds the syscon

[PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board

2015-12-04 Thread yankejian
this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it cannot find hns ethX by ifconfig -a. Signed-off-by: yankejian --- arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16 1 file changed, 16 insertions(+) diff --git

[PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board

2015-12-04 Thread yankejian
This patch adds documentation for the devicetree bindings used by the DT files of Hisilicon Hip05-D02 development board. Signed-off-by: yankejian --- .../devicetree/bindings/arm/hisilicon/hisilicon.txt | 16 1 file changed, 16 insertions(+) diff --git

[PATCH] mm/memblock: use memblock_insert_region() for the empty array

2015-12-04 Thread Alexander Kuleshov
We have the special case for an empty array in the memblock_add_range() function. In the same time we have almost the same functional in the memblock_insert_region() function. Let's use the memblock_insert_region() instead of direct initialization. Signed-off-by: Alexander Kuleshov ---

Re: [PATCH] RTC: RK808: Work around hardware bug on November 31st

2015-12-04 Thread Julius Werner
> If you set the alarm > for Dec 25th and it's currently Oct 31st then you'll have to adjust in > the alarm code and you'll really set it for Dec 24th. As per above, > we're in S3 (presumably) or have some persistent kernel state so we > know to adjust everything when we wake up (even if we wake

[PATCH net-next] net: hns: optimize XGE capability by reducing cpu usage

2015-12-04 Thread yankejian
here is the patch raising the performance of XGE by: 1)changes the way page management method for enet momery, and 2)reduces the count of rmb, and 3)adds Memory prefetching Signed-off-by: yankejian --- drivers/net/ethernet/hisilicon/hns/hnae.h | 5 +-

Re: rhashtable: Use __vmalloc with GFP_ATOMIC for table allocation

2015-12-04 Thread Herbert Xu
On Fri, Dec 04, 2015 at 07:15:55PM +0100, Phil Sutter wrote: > > > Only one should really do this, while others are waiting. > > Sure, that was my previous understanding of how this thing works. Yes that's clearly how it should be. Unfortunately while adding the locking to do this, I found out

Re: rhashtable: Use __vmalloc with GFP_ATOMIC for table allocation

2015-12-04 Thread Herbert Xu
On Fri, Dec 04, 2015 at 04:53:34PM -0500, David Miller wrote: > From: Herbert Xu > Date: Fri, 4 Dec 2015 22:39:56 +0800 > > > When an rhashtable user pounds rhashtable hard with back-to-back > > insertions we may end up growing the table in GFP_ATOMIC context. > > Unfortunately when the table

Re: [PATCH 26/34] mm: implement new mprotect_key() system call

2015-12-04 Thread Michael Kerrisk (man-pages)
Dave, On 12/04/2015 02:15 AM, Dave Hansen wrote: > From: Dave Hansen > > mprotect_key() is just like mprotect, except it also takes a > protection key as an argument. On systems that do not support > protection keys, it still works, but requires that key=0. > Otherwise it does exactly what

[PATCH] clk: let clk_disable() return immediately if clk is NULL or error

2015-12-04 Thread Masahiro Yamada
The clk_disable() in the common clock framework (drivers/clk/clk.c) returns immediately if the given clk is NULL or an error pointer. It allows drivers to call clk_disable() (and clk_disable_unprepare()) with a clock that might be NULL or an error pointer as long as the drivers are only used along

Re: [PATCH 14/19] fs: Permit FIBMAP for users with CAP_SYS_RAWIO in s_user_ns

2015-12-04 Thread Seth Forshee
On Fri, Dec 04, 2015 at 05:43:49PM -0600, Serge E. Hallyn wrote: > On Fri, Dec 04, 2015 at 06:11:52PM -0500, Theodore Ts'o wrote: > > On Fri, Dec 04, 2015 at 02:45:32PM -0600, Seth Forshee wrote: > > > On Fri, Dec 04, 2015 at 02:07:36PM -0600, Serge E. Hallyn wrote: > > > > Heh, I was looking over

[PATCH] fs: Drop CAP_SYS_RAWIO requirement for FIBMAP

2015-12-04 Thread Seth Forshee
The information exposed by FIBMAP is not privileged and is similar to the information provided by FIEMAP, which does not require privileges. According to [1] the reason the capability check was originally added was to prevent crashing the kernel by passing invalid arguments, but this should no

[PATCH net-next 1/2] net: hns: enet specisies a reference to dsaf

2015-12-04 Thread yankejian
enet is associating with dasf. before this patch, the association is the same strings between ae-name and dsa-name. in a general way, enet specifies a reference to dsaf should be a good idea. so this patch deletes the ae-name in enet, and adds parsing the ae-handle from DT to set the associating

[PATCH net-next 0/2] net: hns: enet specisies a reference to dsaf

2015-12-04 Thread yankejian
in this patchset, enet specifies a reference to dsaf. and delete the ae-name in enet, and adds parsing the ae-handle from DT to set the associating with dsaf. the patchset updates the dtsi and bindings documents as well. yankejian (2): net: hns: enet specisies a reference to dsaf net: hns:

[PATCH net-next 2/2] net: hns: enet specisies a reference to dsaf (config and documents)

2015-12-04 Thread yankejian
when enet specisies a reference to dsaf, the correlative config and documents needs to update. this patch updates the correlative dtsi file and bindings documents . Signed-off-by: yankejian --- .../devicetree/bindings/net/hisilicon-hns-dsaf.txt| 5 +

[RFC PATCH 4/7] mtd: add of_match_mtd_parser() and of_mtd_match_mtd_parser() helpers

2015-12-04 Thread Brian Norris
Like the corresponding OF-based device/driver matching infrascture, let's begin to support a mtd/partition-parser matching infrastructure. Signed-off-by: Brian Norris --- drivers/of/of_mtd.c| 33 + include/linux/mtd/partitions.h | 2 ++

[RFC PATCH 2/7] mtd: move partition parsers' Kconfig under a sub-menu

2015-12-04 Thread Brian Norris
For better organization. Signed-off-by: Brian Norris --- drivers/mtd/Kconfig| 134 + drivers/mtd/partitions/Kconfig | 131 2 files changed, 134 insertions(+), 131 deletions(-) create mode 100644

[RFC PATCH 0/7] mtd: partitions: add of_match_table support

2015-12-04 Thread Brian Norris
Hi, There have been several discussions [1] about adding a device tree binding for associating flash devices with the partition parser(s) that are used on the flash. There are a few reasons: (1) drivers shouldn't have to be encoding platform knowledge by listing what parsers might be used

[RFC PATCH 1/7] mtd: move partition parsers to drivers/mtd/partitions/

2015-12-04 Thread Brian Norris
For better organization. Signed-off-by: Brian Norris --- drivers/mtd/Makefile | 8 +--- drivers/mtd/partitions/Makefile| 7 +++ drivers/mtd/{ => partitions}/afs.c | 0 drivers/mtd/{ => partitions}/ar7part.c | 0 drivers/mtd/{ =>

[RFC PATCH 5/7] mtd: partitions: factor out "match by name" handling

2015-12-04 Thread Brian Norris
This code structure is going to be imitated for a match-by-device-node implementation, so let's factor out a few functions to make this easier. Signed-off-by: Brian Norris --- drivers/mtd/mtdpart.c | 67 +++ 1 file changed, 52 insertions(+), 15

[RFC PATCH 7/7] mtd: partitions: add Google's FMAP partition parser

2015-12-04 Thread Brian Norris
Cc: David Hendricks Signed-off-by: Brian Norris --- drivers/mtd/partitions/Kconfig | 7 ++ drivers/mtd/partitions/Makefile | 1 + drivers/mtd/partitions/google_fmap.c | 226 +++ 3 files changed, 234 insertions(+) create mode 100644

[RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding

2015-12-04 Thread Brian Norris
The platform description (such as the type of partition formats used on a given flash) should be done independently of the flash driver in use. However, we can't reasonably have *all* partition parsers run on all flash (until they find a match), so let's overload the 'partitions' subnode to

[RFC PATCH 6/7] RFC: mtd: partitions: enable of_match_table matching

2015-12-04 Thread Brian Norris
Partition parsers can now provide an of_match_table to enable flash<-->parser matching via device tree. TODO: Doesn't yet work when parser is built as module. I can't just use request_module() and friends, since OF matches don't tell me the name of the driver/module. Maybe I can report uevents?

Re: [PATCH TRIVIAL] README: cosmetic fixes

2015-12-04 Thread Diego Viola
Ping? On Thu, Nov 5, 2015 at 5:26 AM, Diego Viola wrote: > Signed-off-by: Diego Viola > --- > README | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/README b/README > index a326a6a..e1df543 100644 > --- a/README > +++ b/README > @@ -59,7 +59,7 @@

Re: [PATCH] clk: fix codying style of if ... else blocks

2015-12-04 Thread Masahiro Yamada
Hi Stephen, No value for this patch, or just you missed this? 2015-11-05 17:59 GMT+09:00 Masahiro Yamada : > This code is unreadable due to the blank line between if and else > blocks. > > Signed-off-by: Masahiro Yamada > --- > > drivers/clk/clk-mux.c | 5 ++--- > 1 file changed, 2

Re: [PATCH] RTC: RK808: Work around hardware bug on November 31st

2015-12-04 Thread Doug Anderson
Hi, On Fri, Dec 4, 2015 at 8:02 PM, Doug Anderson wrote: > Hi, > > On Fri, Dec 4, 2015 at 5:54 PM, Julius Werner wrote: >>> How would such a hook work? If userspace sees the system suspend on >>> Nov 30th and sees the system wake up on Dec 1st, how does it know >>> whether it should adjust?

4.4-rc3, KVM, br0 and instant hang

2015-12-04 Thread John Stoffel
Hi all, I've been trying to upgrade to something newer than 4.2.6 since I want to use LVM Cache on my home NFS fileserver, KVM server, test server, etc. So when it goes down, I lose all my other systems which mount stuff from it. Right now I'm trying to figure out how to use Netconsole to grab

Re: [net-next v5 0/8] dpaa_eth: Add the Freescale DPAA Ethernet driver

2015-12-04 Thread Timur Tabi
On Thu, Dec 3, 2015 at 6:08 AM, <> wrote: > From: Madalin Bucur > > This patch series adds the Ethernet driver for the Freescale > QorIQ Data Path Acceleration Architecture (DPAA). Please fix your git-send-email configuration, so that your emails are formatted properly. This is the From:

[RFC][PATCH] devicetree: Add DTS file to support the Nexus7 2013 (flo) device.

2015-12-04 Thread John Stultz
This patch adds a dts file to support the Nexus7 2013 device. Its based off of the qcom-apq8064-ifc6410.dts which is similar hardware. Also includes some comments and context folded in from Vinay Simha BN This is my first DTS submission, so thoughts or feedback on would be appreciated. Cc: Rob

Re: [PATCH V2 5/6] cpufreq: governor: replace per-cpu delayed work with timers

2015-12-04 Thread Viresh Kumar
On 05-12-15, 03:14, Rafael J. Wysocki wrote: > Well, almost, but not quite yet, because now the question is what prevents > gov_cancel_work() from racing with dbs_work_handler(). > > If you can guarantee that they'll never run in parallel with each other, They can run in parallel and that's how

Re: [TESTPATCH v2] xhci: fix usb2 resume timing and races.

2015-12-04 Thread Daniel J Blueman
On 1 December 2015 at 16:26, Mathias Nyman wrote: > usb2 ports need to signal resume for 20ms before moving to U0 state. > Both device and host can initiate resume. > > On host initated resume port is set to resume state, sleep 20ms, > and finally set port to U0 state. > > On device initated

Re: [PATCH] RTC: RK808: Work around hardware bug on November 31st

2015-12-04 Thread Doug Anderson
Hi, On Fri, Dec 4, 2015 at 5:54 PM, Julius Werner wrote: >> How would such a hook work? If userspace sees the system suspend on >> Nov 30th and sees the system wake up on Dec 1st, how does it know >> whether it should adjust? If it's truly Dec 1st then the kernel will >> have adjusted the date

Re: [PATCH v3 0/10] cpufreq: add generic cpufreq driver support for Exynos542x/5800 platforms

2015-12-04 Thread Viresh Kumar
On 04-12-15, 18:30, Bartlomiej Zolnierkiewicz wrote: > Hi, > > This patch series adds generic arm_big_little_dt cpufreq driver > support for Exynos542x/5800 (using the new CPU clock type which > allows it). It also: > - enhances arm_big_little[_dt] driver with CPU cluster regulator > support >

[PATCH v2] usb: xhci-mtk: fix AHB bus hang up caused by roothubs polling

2015-12-04 Thread Chunfeng Yun
when ip fails to enter sleep mode, register access protection will be disabled, at the same time if all clocks are disabled, access register will hang up AHB bus. the common case causes ip sleep failure is that after all ports enter U3 but before ip enters sleep mode, a port receives a resume

Re: [PATCH] usb: xhci-mtk: fix AHB bus hang up caused by roothubs polling

2015-12-04 Thread chunfeng yun
Hi, On Fri, 2015-12-04 at 16:24 +0300, Sergei Shtylyov wrote: > Hello. > > Sorry for the grammar nitpicking but since it's in the comments, I felt > the necessity to comment. > > On 12/4/2015 5:40 AM, Chunfeng Yun wrote: > > > when ip fail to enter sleep mode, register access protection

Re: [PATCH v6 4/5] clk: shmobile: Add new CPG/MSSR driver core

2015-12-04 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Thursday 12 November 2015 16:54:45 Geert Uytterhoeven wrote: > Add the common core for the new Renesas Clock Pulse Generator / Module > Standby and Software Reset driver. > > Signed-off-by: Geert Uytterhoeven > --- > v6: > - No changes, > > v5: > -

Re: [PATCH] mm/memcontrol.c: use list_{first,next}_entry

2015-12-04 Thread Geliang Tang
On Thu, Dec 03, 2015 at 05:27:18PM +0100, Michal Hocko wrote: > On Thu 03-12-15 22:16:55, Geliang Tang wrote: > > To make the intention clearer, use list_{first,next}_entry instead > > of list_entry. > > Does this really help readability? This function simply uncharges the > given list of pages.

Re: [PATCH v2] mm/slab.c: use list_{empty_careful,last_entry} in drain_freelist

2015-12-04 Thread Geliang Tang
On Fri, Dec 04, 2015 at 10:16:38AM -0600, Christoph Lameter wrote: > On Fri, 4 Dec 2015, Geliang Tang wrote: > > > On Thu, Dec 03, 2015 at 08:53:21AM -0600, Christoph Lameter wrote: > > > On Thu, 3 Dec 2015, Geliang Tang wrote: > > > > > > > while (nr_freed < tofree &&

Re: [RFC PATCH 76/71] ncr5380: Enable PDMA for DTC chips

2015-12-04 Thread Julian Calaby
Hi Finn, On Sat, Dec 5, 2015 at 1:12 PM, Finn Thain wrote: > > On Sat, 5 Dec 2015, Julian Calaby wrote: > >> Hi Finn, >> >> On Fri, Dec 4, 2015 at 7:38 PM, Finn Thain >> wrote: >> > >> > On Fri, 4 Dec 2015, Julian Calaby wrote: >> > >> >> > - if (overrides[current_override].board

Re: [RFC PATCH 76/71] ncr5380: Enable PDMA for DTC chips

2015-12-04 Thread Finn Thain
On Sat, 5 Dec 2015, Julian Calaby wrote: > Hi Finn, > > On Fri, Dec 4, 2015 at 7:38 PM, Finn Thain wrote: > > > > On Fri, 4 Dec 2015, Julian Calaby wrote: > > > >> > - if (overrides[current_override].board == > >> > BOARD_NCR53C400A) { > >> > + if

Re: [PATCH v7 5/7] PCI: irqdomain: Look up IRQ domain by fwnode_handle

2015-12-04 Thread kbuild test robot
Hi Jake, [auto build test ERROR on pci/next] [also build test ERROR on v4.4-rc3 next-20151203] url: https://github.com/0day-ci/linux/commits/jakeo-microsoft-com/PCI-hv-New-paravirtual-PCI-front-end-for-Hyper-V-VMs/20151205-083943 base:

Re: [PATCH tip/core/rcu 1/8] documentation: Record RCU requirements

2015-12-04 Thread Paul E. McKenney
On Fri, Dec 04, 2015 at 04:38:42PM -0800, Josh Triplett wrote: > On Fri, Dec 04, 2015 at 04:33:32PM -0800, Paul E. McKenney wrote: > > On Fri, Dec 04, 2015 at 04:07:19PM -0800, Josh Triplett wrote: > > > On Fri, Dec 04, 2015 at 03:50:19PM -0800, Paul E. McKenney wrote: > > > > This commit adds RCU

Re: [PATCH] RTC: RK808: Work around hardware bug on November 31st

2015-12-04 Thread Julius Werner
> How would such a hook work? If userspace sees the system suspend on > Nov 30th and sees the system wake up on Dec 1st, how does it know > whether it should adjust? If it's truly Dec 1st then the kernel will > have adjusted the date from Nov 31st to Dec 1st. If it's truly Dec > 2nd then the

Re: [PATCH tip/core/rcu 1/8] documentation: Record RCU requirements

2015-12-04 Thread Paul E. McKenney
On Fri, Dec 04, 2015 at 04:34:43PM -0800, Josh Triplett wrote: > The content of the document seems fine; a few comments below on > meta-issues. > > On Fri, Dec 04, 2015 at 03:50:19PM -0800, Paul E. McKenney wrote: > > --- /dev/null > > +++ b/Documentation/RCU/Design/Requirements/Requirements.html

[PATCH v3] MAINTAINERS: add myself as Renesas Ethernet drivers reviewer

2015-12-04 Thread Sergei Shtylyov
Add myself as a reviewer for the Renesas Ethernet drivers -- hopefully I won't miss the buggy patches anymore. :-) Signed-off-by: Sergei Shtylyov --- The patch is against DaveM's 'net.git' repo. Changes in version 3: - removed the status entry; Changes in version 2: - removed garbage from

Re: ARM EFI stub and the EfiPersistentMemory type

2015-12-04 Thread Mark Rutland
Hi, On Fri, Dec 04, 2015 at 09:51:22PM +, Elliott, Robert (Persistent Memory) wrote: > drivers/firmware/efi/libstub/efi-stub-helper.c get_dram_base() > parses the UEFI memory map, but just looks at the EFI_MEMORY_WB > attribute while searching for the base memory address, > not the type:

Re: [PATCH V2 5/6] cpufreq: governor: replace per-cpu delayed work with timers

2015-12-04 Thread Rafael J. Wysocki
On Friday, December 04, 2015 11:41:01 AM Viresh Kumar wrote: > On 04-12-15, 02:18, Rafael J. Wysocki wrote: > > > + shared->skip_work--; > > > > Is there any reason for incrementing and decrementing this instead of > > setting > > it to either 0 or 1 (or maybe either 'true' or 'false' for that

Re: [PATCH RESEND v7] i40e: Look up MAC address in Open Firmware or IDPROM

2015-12-04 Thread Shannon Nelson
On Fri, Dec 4, 2015 at 8:24 AM, Sowmini Varadhan wrote: > > [Apologies for fat-fingering subject in the other attempt] > > This is the i40e equivalent of commit c762dff24c06 ("ixgbe: Look up MAC > address in Open Firmware or IDPROM"). > > As with that fix, attempt to look up the MAC address in

Re: [RFC PATCH 76/71] ncr5380: Enable PDMA for DTC chips

2015-12-04 Thread Julian Calaby
Hi Finn, On Fri, Dec 4, 2015 at 7:38 PM, Finn Thain wrote: > > On Fri, 4 Dec 2015, Julian Calaby wrote: > >> > - if (overrides[current_override].board == BOARD_NCR53C400A) >> > { >> > + if (overrides[current_override].board == BOARD_NCR53C400A >> > || >> > +

Re: [PATCH] MAINTAINERS: add myself as Renesas Ethernet drivers reviewer

2015-12-04 Thread Joe Perches
On Sat, 2015-12-05 at 04:13 +0300, Sergei Shtylyov wrote: > On 12/05/2015 04:02 AM, Joe Perches wrote: > > > Since you seem to be get_maintainers.pl maintainer, I (and not only I) > > > would like to propose a switch to suppress the committers/authors/etc. > > > It's > > > generally annoying and

Re: [PATCH] power: bq27xxx_battery: Reorganize I2C into a module

2015-12-04 Thread Sebastian Reichel
Hi Andrew, On Mon, Nov 23, 2015 at 10:53:51AM -0600, Andrew F. Davis wrote: > Separate out I2C functionality into a module. This fixes several small > issues and simplifies the driver initialization. Thanks, queued. -- Sebastian signature.asc Description: PGP signature

Re: [PATCH] MAINTAINERS: add myself as Renesas Ethernet drivers reviewer

2015-12-04 Thread Sergei Shtylyov
On 12/05/2015 04:02 AM, Joe Perches wrote: Since you seem to be get_maintainers.pl maintainer, I (and not only I) would like to propose a switch to suppress the committers/authors/etc. It's generally annoying and unhelpful to have the bunch of people listed, none of which usually are a good

Re: [PATCH V2] goldfish: add goldfish match node for dt driver probe

2015-12-04 Thread Sebastian Reichel
Hi, On Fri, Nov 06, 2015 at 03:12:40PM +0800, yalin wang wrote: > qemu use device tree to bootup linux kernel, > we need add device node match table to plaftorm driver, > so that can probe the goldfish driver correctly. > test by this qemu: > git clone

Re: Strange PF_NETLINK NETLINK_ROUTE stall: netlink: Fix autobind race condition that leads to zero port ID

2015-12-04 Thread Herbert Xu
On Fri, Nov 27, 2015 at 04:23:54PM +0100, Philipp Hahn wrote: > > I observed a strange stall in a multi-threaded process (originally > OpenLDAP slapd), which stalls during a call to getaddrinfo() after > upgrading the kernel from 3.16.x to 4.1.12: Can you try to see if the latest kernel still

Re: Asterisk deadlocks since Kernel 4.1

2015-12-04 Thread Herbert Xu
On Fri, Dec 04, 2015 at 07:26:12PM +0100, Stefan Priebe wrote: > > * 9f87e0c - (2 months ago) netlink: Replace rhash_portid with bound > - Herbert Xu > * 35e9890 - (3 months ago) netlink: Fix autobind race condition that > leads to zero port ID - Herbert Xu > * 30c6472 - (7 months ago) netlink:

Re: [PATCH tip/core/rcu 0/10] Expedited-grace-period changes for 4.5

2015-12-04 Thread Josh Triplett
On Fri, Dec 04, 2015 at 03:58:51PM -0800, Paul E. McKenney wrote: > Hello! > > This series contains follow-on cleanup changes to RCU's expedited > grace-period functionality. The patches in this series are as follows: > > 1.Short-circuit synchronize_sched_expedited() if there is only one

Re: [PATCH tip/core/rcu 0/8] Torture-test updates for 4.5

2015-12-04 Thread Josh Triplett
On Fri, Dec 04, 2015 at 04:23:31PM -0800, Paul E. McKenney wrote: > Hello! > > This series contains torture-test updates: > > 1.Add batch number to script printout to allow easier estimation > of test duration. > > 2.Dump stack when RCU's grace-period kthread stalls. > > 3.

Crypto Fixes for 4.4

2015-12-04 Thread Herbert Xu
Hi Linus: This push fixes a couple of crypto drivers that were using memcmp to verify authentication tags. They now use crypto_memneq instead. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus David Gstir (2): crypto: nx - Fix timing leak in

Re: [PATCH tip/core/rcu 6/8] rcutorture: Print symbolic name for ->gp_state

2015-12-04 Thread Josh Triplett
On Fri, Dec 04, 2015 at 04:23:50PM -0800, Paul E. McKenney wrote: > Currently, ->gp_state is printed as an integer, which slows debugging. > This commit therefore prints a symbolic name in addition to the integer. > > Signed-off-by: Paul E. McKenney > [ Updated to fix relational operator called

Re: [PATCH] memcg, vmscan: Do not wait for writeback if killed

2015-12-04 Thread Andrew Morton
On Thu, 3 Dec 2015 10:08:26 +0100 Michal Hocko wrote: > So you think a comment would be sufficient? > --- > diff --git a/mm/vmscan.c b/mm/vmscan.c > index 98a1934493af..2e8ee9e5fcb5 100644 > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -1031,9 +1031,12 @@ static unsigned long

Re: [PATCH tip/core/rcu 5/8] rcutorture: Print symbolic name for rcu_torture_writer_state

2015-12-04 Thread Josh Triplett
On Fri, Dec 04, 2015 at 04:23:49PM -0800, Paul E. McKenney wrote: > Currently, rcu_torture_writer_state is printed as an integer, which slows > debugging. This commit therefore prints a symbolic name in addition to > the integer. > > Signed-off-by: Paul E. McKenney > --- >

Re: [PATCH] MAINTAINERS: add myself as Renesas Ethernet drivers reviewer

2015-12-04 Thread Joe Perches
On Sat, 2015-12-05 at 03:57 +0300, Sergei Shtylyov wrote: > Since you seem to be get_maintainers.pl maintainer, I (and not only I) > would like to propose a switch to suppress the committers/authors/etc. It's  > generally annoying and unhelpful to have the bunch of people listed, none of  > which

Re: [PATCH tip/core/rcu 2/8] rcutorture: Dump stack when GP kthread stalls

2015-12-04 Thread Josh Triplett
On Fri, Dec 04, 2015 at 04:23:46PM -0800, Paul E. McKenney wrote: > This commit increases debug information in the case where the grace-period > kthread is being prevented from running by dumping that kthread's stack. That's not everything this patch does; see below. > Signed-off-by: Paul E.

Re: [PATCH 1/2] power: Fix unmet dependency on POWER_SUPPLY by POWER_RESET by uncoupling them

2015-12-04 Thread Sebastian Reichel
Hi, On Wed, Dec 02, 2015 at 02:59:06PM +0900, Krzysztof Kozlowski wrote: > Actually reset/power off handlers do not really depend on power supply. > Move the power reset out of power supply block so it will appear in main > drivers section. This fixes following build warning (encountered on ARM >

Re: [PATCH] RTC: RK808: Work around hardware bug on November 31st

2015-12-04 Thread Doug Anderson
Julius, On Fri, Dec 4, 2015 at 4:25 PM, Julius Werner wrote: >> If a device is in S3 for the whole day that the glitch occurs and then >> we wake up then we'll end up thinking it's Dec 1st instead of Dec 2nd, >> right? That case _could_ be handled by knowing that the last time we >> read the

Re: [PATCH] MAINTAINERS: add myself as Renesas Ethernet drivers reviewer

2015-12-04 Thread Sergei Shtylyov
Hello. On 12/05/2015 03:41 AM, Joe Perches wrote: liAdd myself as a reviewer for the Renesas Ethernet drivers -- hopefully I won't miss the buggy patches anymore. :-) Signed-off-by: Sergei Shtylyov --- The patch is against DaveM's 'net.git' repo. MAINTAINERS |8 1 file

Re: [PATCH] mm: account pglazyfreed exactly

2015-12-04 Thread Andrew Morton
On Thu, 3 Dec 2015 21:51:04 +0900 Minchan Kim wrote: > If anon pages are zapped by unmapping between page_mapped check > and try_to_unmap in shrink_page_list, they could be !PG_dirty > although thre are not MADV_FREEed pages so that VM accoutns it > as pglazyfreed wrongly. > > To fix, this

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-12-04 Thread Michael Turquette
Heiko Stübner wrote: > Hi Mike, > > Am Freitag, 7. August 2015, 12:09:27 schrieb Michael Turquette: > > This is an alternative solution to Lee's "clk: Provide support for > > always-on clocks" series[0]. > > > > The first two patches introduce run-time checks to ensure that clock > > consumer

Re: [PATCH] drivers: power: set IRQF_ONESHOT if no primary handler is specified

2015-12-04 Thread Sebastian Reichel
Hi, On Thu, Nov 19, 2015 at 12:42:59PM +0530, Saurabh Sengar wrote: > If no primary handler is specified for threaded_irq then a > default one is assigned which always returns IRQ_WAKE_THREAD. > This handler requires the IRQF_ONESHOT, because the source of > interrupt is not disabled. Thanks,

Re: [PATCH tip/core/rcu 0/8] Documentation updates for 4.5

2015-12-04 Thread Josh Triplett
On Fri, Dec 04, 2015 at 03:49:52PM -0800, Paul E. McKenney wrote: > Hello! > > This series contains documentation updates, perhaps most notably a first > installment of RCU design documentation, which first appeared on LWN > (http://lwn.net/Articles/652156/, http://lwn.net/Articles/652677/, and >

Re: [PATCH 4/4] power/reset: at91-reset: add missing of_node_put

2015-12-04 Thread Sebastian Reichel
Hi, On Wed, Nov 18, 2015 at 11:04:14PM +0100, Julia Lawall wrote: > for_each_matching_node performs an of_node_get on each iteration, so > a break out of the loop requires an of_node_put. > > A simplified version of the semantic patch that fixes this problem is as > follows

Re: [PATCH] ds2782_battery: constify ds278x_battery_ops structure

2015-12-04 Thread Sebastian Reichel
Hi, On Fri, Nov 13, 2015 at 07:41:34PM +0100, Julia Lawall wrote: > The ds278x_battery_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Thanks, queued. -- Sebastian signature.asc Description: PGP signature

Re: [PATCH] MAINTAINERS: add myself as Renesas Ethernet drivers reviewer

2015-12-04 Thread Joe Perches
On Sat, 2015-12-05 at 03:03 +0300, Sergei Shtylyov wrote: > liAdd myself as  a reviewer for the Renesas Ethernet drivers -- > hopefully I > won't miss the buggy  patches anymore. :-) > > Signed-off-by: Sergei Shtylyov > > --- > The patch is against DaveM's 'net.git' repo. > >  MAINTAINERS |

Re: [PATCH v4 3/3] UBSAN: run-time undefined behavior sanity checker

2015-12-04 Thread Andrew Morton
run-time-undefined-behavior-sanity-checker/20151204-202547 > config: i386-allmodconfig (attached as .config) > reproduce: > # save the attached .config to linux build tree > make ARCH=i386 > > All warnings (new ones prefixed by >>): > >lib/ubsan.c: In

[PATCH v7 3/7] PCI: Make it possible to implement a PCI MSI IRQ Domain in a module.

2015-12-04 Thread jakeo
From: Jake Oshins The Linux kernel already has the concpet of IRQ domain, wherein a component can expose a set of IRQs which are managed by a particular interrupt controller chip or other subsystem. The PCI driver exposes the notion of an IRQ domain for Message-Signaled Interrupts (MSI) from PCI

[PATCH v7 4/7] PCI: Add fwnode_handle to pci_sysdata

2015-12-04 Thread jakeo
From: Jake Oshins This patch adds an fwnode_handle to struct pci_sysdata, which is used by the next patch in the series when trying to locate an IRQ domain associated with a root PCI bus. Signed-off-by: Jake Oshins --- arch/x86/include/asm/pci.h | 15 +++ include/asm-generic/pci.h

Re: [PATCH tip/core/rcu 1/8] documentation: Record RCU requirements

2015-12-04 Thread Josh Triplett
On Fri, Dec 04, 2015 at 04:33:32PM -0800, Paul E. McKenney wrote: > On Fri, Dec 04, 2015 at 04:07:19PM -0800, Josh Triplett wrote: > > On Fri, Dec 04, 2015 at 03:50:19PM -0800, Paul E. McKenney wrote: > > > This commit adds RCU requirements as published in a 2015 LWN series. > > > Bringing these

Re: [PATCH v4 0/3] UBSAN: run-time undefined behavior sanity checker

2015-12-04 Thread Andrew Morton
On Thu, 3 Dec 2015 18:50:04 +0300 Andrey Ryabinin wrote: > UBSAN is run-time undefined behaviour checker. It uses compile-time > instrumentation to catch undefined behavior (UB). Compiler inserts code > that perform certain kinds of checks before operations that could cause UB. > If check fails

[PATCH v7 5/7] PCI: irqdomain: Look up IRQ domain by fwnode_handle

2015-12-04 Thread jakeo
From: Jake Oshins This patch adds a second way of finding an IRQ domain associated with a root PCI bus. After looking to see if one can be found through the OF tree, it attempts to look up the IRQ domain through an fwnode_handle stored in the pci_sysdata struct. Signed-off-by: Jake Oshins ---

[PATCH v7 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-04 Thread jakeo
From: Jake Oshins This version of the patch series incorporates feedback from Gerry Liu. First, export functions that allow correlating Hyper-V virtual processors and Linux cpus, along with the means for invoking a hypercall that targets interrupts at chosen vectors on specific cpus. Second,

[PATCH v7 6/7] drivers:hv: Define the channel type of Hyper-V PCI Express pass-through

2015-12-04 Thread jakeo
From: Jake Oshins This defines the channel type for PCI front-ends in Hyper-V VMs. Signed-off-by: Jake Oshins --- include/linux/hyperv.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 24d0b65..c9a9eed 100644 ---

[PATCH v7 7/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-04 Thread jakeo
From: Jake Oshins This patch introduces a new driver which exposes a root PCI bus whenever a PCI Express device is passed through to a guest VM under Hyper-V. The device can be single- or multi-function. The interrupts for the devices are managed by an IRQ domain, implemented within the driver.

[PATCH v7 1/7] drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num

2015-12-04 Thread jakeo
From: Jake Oshins This patch exposes the mapping between Linux CPU number and Hyper-V virtual processor number. This is necessary because the hypervisor needs to know which virtual processor to target when making a mapping in the Interrupt Redirection Table in the I/O MMU. Signed-off-by: Jake

[PATCH v7 2/7] drivers:hv: Export hv_do_hypercall()

2015-12-04 Thread jakeo
From: Jake Oshins This patch exposes the function that hv_vmbus.ko uses to make hypercalls. This is necessary for retargeting an interrupt when it is given a new affinity and vector. Signed-off-by: Jake Oshins --- drivers/hv/hv.c | 20 ++-- drivers/hv/hyperv_vmbus.h

Re: [PATCH tip/core/rcu 1/8] documentation: Record RCU requirements

2015-12-04 Thread Josh Triplett
The content of the document seems fine; a few comments below on meta-issues. On Fri, Dec 04, 2015 at 03:50:19PM -0800, Paul E. McKenney wrote: > --- /dev/null > +++ b/Documentation/RCU/Design/Requirements/Requirements.html > @@ -0,0 +1,2799 @@ > + > + > + +

Re: [PATCH tip/core/rcu 1/8] documentation: Record RCU requirements

2015-12-04 Thread Paul E. McKenney
On Fri, Dec 04, 2015 at 04:07:19PM -0800, Josh Triplett wrote: > On Fri, Dec 04, 2015 at 03:50:19PM -0800, Paul E. McKenney wrote: > > This commit adds RCU requirements as published in a 2015 LWN series. > > Bringing these requirements in-tree allows them to be updated as changes > > are

Re: [PATCH 1/2] add new platform driver for PCI RC

2015-12-04 Thread Bjorn Helgaas
[+cc DT guys] Hi Joao, On Tue, Nov 24, 2015 at 02:32:05PM +, Joao Pinto wrote: > This patch adds a new driver that will be the reference platform driver for > all > PCI RC IP Protoyping Kits based on ARC SDP. This patch is composed by: > > -Changes to pcie-designware driver add a function

Re: [PATCH] RTC: RK808: Work around hardware bug on November 31st

2015-12-04 Thread Julius Werner
> If a device is in S3 for the whole day that the glitch occurs and then > we wake up then we'll end up thinking it's Dec 1st instead of Dec 2nd, > right? That case _could_ be handled by knowing that the last time we > read the clock it was before 12/1 and that this time it is after > 11/30.

  1   2   3   4   5   6   7   8   9   10   >