Re: [PATCH v2] char: xillybus: use devm_add_action_or_reset

2016-04-30 Thread Eli Billauer
Fine with me. Thanks. Acked-by: Eli Billauer On 30/04/16 19:13, Sudip Mukherjee wrote: If devm_add_action() fails we are explicitly calling dma_unmap_single(), pci_unmap_single() and kfree(). Lets use the helper devm_add_action_or_reset() and return directly in case of error, as we know that t

We Offer Loans.....Apply Now

2016-04-30 Thread Jared Flynn
Your Attention Please, We are presently giving out loans to interested persons at an affordable rate. Do you need a loan to expand your business or you want a personal loan. We offer all types of loans to investors,companies and individuals with a very loan interest rate. We offer Personal Loa

Re: [PATCH 3.2 085/115] veth: don???t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Willy Tarreau
On Sat, Apr 30, 2016 at 03:43:51PM -0700, Ben Greear wrote: > On 04/30/2016 03:01 PM, Vijay Pandurangan wrote: > > Consider: > > > > - App A sends out corrupt packets 50% of the time and discards inbound > > data. (...) > How can you make a generic app C know how to do this? The path could be,

[PATCH RESEND 01/12] sh: Fix typo

2016-04-30 Thread Yoshinori Sato
BL is 1 in this time. Signed-off-by: Yoshinori Sato --- arch/sh/kernel/head_32.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/kernel/head_32.S b/arch/sh/kernel/head_32.S index 974bc15..14da954 100644 --- a/arch/sh/kernel/head_32.S +++ b/arch/sh/kernel/head_32.S @@

[PATCH RESEND 03/12] sh: Disable board specific code in OF mode

2016-04-30 Thread Yoshinori Sato
Board specific code conflict on of-generic. Signed-off-by: Yoshinori Sato --- arch/sh/Makefile | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/sh/Makefile b/arch/sh/Makefile index bf5b3f5..8ff943b 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -130,6 +130,9 @@ head

[PATCH RESEND 04/12] sh: Drop CPU specific setup on OF mode

2016-04-30 Thread Yoshinori Sato
CPU specific set conflict of-generic. Signed-off-by: Yoshinori Sato --- arch/sh/kernel/cpu/sh4/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sh/kernel/cpu/sh4/Makefile b/arch/sh/kernel/cpu/sh4/Makefile index 3a1dbc7..b822c0c 100644 --- a/arch/sh/kernel/cpu/sh4/Makefile +++

Fail to build tools/all

2016-04-30 Thread Sean Fu
Hi guys: I encountered a build error when running "make V=1 tools/all". Shall we write a patch to fix it? The following is error log. start == commit 05cf8077e54b20dddb756eaa26f3aeb5c38dd3cf Merge: cf78031 db5dd0d Aut

[PATCH RESEND 11/12] sh: I/O DATA HDL-U defconfig (DT mode)

2016-04-30 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/configs/landisk-dt_defconfig | 100 +++ 1 file changed, 100 insertions(+) create mode 100644 arch/sh/configs/landisk-dt_defconfig diff --git a/arch/sh/configs/landisk-dt_defconfig b/arch/sh/configs/landisk-dt_defconfig n

[PATCH RESEND 09/12] sh: Add I/O DATA HDL-U support drivers.

2016-04-30 Thread Yoshinori Sato
PCI host fixup and external interrupt controller. Signed-off-by: Yoshinori Sato --- .../interrupt-controller/iodata-landisk.txt| 28 + drivers/irqchip/irq-io-landisk.c | 71 ++ drivers/pci/host/pci-sh7751.c | 25

[PATCH RESEND 10/12] sh: I/O DATA HDL-U (aka landisk) support dts

2016-04-30 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/landisk.dts | 150 +++ 1 file changed, 150 insertions(+) create mode 100644 arch/sh/boot/dts/landisk.dts diff --git a/arch/sh/boot/dts/landisk.dts b/arch/sh/boot/dts/landisk.dts new file mode 100644 index

[PATCH RESEND 08/12] intc: sh: Renesas Super H INTC driver

2016-04-30 Thread Yoshinori Sato
SuperH IPR based driver. Signed-off-by: Yoshinori Sato --- .../interrupt-controller/renesas,sh7751-intc.txt | 25 drivers/irqchip/Kconfig| 5 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-renesas-shipr.c| 1

[PATCH RESEND 06/12] clk: sh: SH7750/51 PLL and divider clock driver

2016-04-30 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- .../bindings/clock/renesas,sh-div-clock.txt| 24 ++ .../bindings/clock/renesas,sh7750-div-clock.txt| 27 ++ .../bindings/clock/renesas,sh7750-pll-clock.txt| 26 ++ drivers/clk/Kconfig| 1 + drivers/clk/Makefile

[PATCH RESEND 12/12] of: Add sh support

2016-04-30 Thread Yoshinori Sato
sh fdt access in VA. But memory reservation use PA. So sh need convert to PA. Signed-off-by: Yoshinori Sato --- drivers/of/fdt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 3349d2a..fb357be 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c

[PATCH RESEND 05/12] sh: DeviceTree support update

2016-04-30 Thread Yoshinori Sato
Changes bellow - FDT setup timing fix. - chosen/bootargs support. - zImage support. - DT binding helper macro. Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c| 23 +++--- arch/sh/boot/compressed/head_32.S | 5 +++-- arch/sh/

[PATCH RESEND 07/12] pci: sh: SH7751 PCI host bridge driver

2016-04-30 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- .../devicetree/bindings/pci/sh7751-pci.txt | 51 drivers/pci/host/Kconfig | 7 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pci-sh7751.c | 321 +

[PATCH RESEND 02/12] sh: Config update for OF mode

2016-04-30 Thread Yoshinori Sato
DeviceTreee support is use liner IRQ. And use generic function (clock / io / IRQ). Signed-off-by: Yoshinori Sato --- arch/sh/Kconfig | 26 +++--- arch/sh/boards/Kconfig | 4 arch/sh/drivers/Makefile| 2 ++ arch/sh/include/asm/io.h| 6 ++ a

[PATCH RESEND 00/12] SH: landisk convert to devicetree

2016-04-30 Thread Yoshinori Sato
SH get devicetree support. But it not working on existing H/W. IO-DATA HDL-U (aka landisk) currentry supported. This H/W like SH7751 evalution board. It's a best to use this as a change base H/W. Yoshinori Sato (12): sh: Fix typo sh: Config update for OF mode sh: Disable board specific code

2% Loan Offer! No upfront fees

2016-04-30 Thread Mr. Davies
We give out loans from $10,000.00 to $500,000,000.00 at 2% interest rate if interested contact us at: daviesanthony...@qq.com

Re: [PATCH V17 1/3] dmaengine: qcom_hidma: implement lower level hardware interface

2016-04-30 Thread Sinan Kaya
On 4/28/2016 3:30 PM, Sinan Kaya wrote: > On 4/26/2016 12:24 PM, Vinod Koul wrote: >>> + + dev_err(lldev->dev, "error 0x%x, resetting...\n", + cause); >> right justify this and others as well please >> > > Can you please point me to other lines that need to be fixed p

Re: [PATCH V17 2/3] dmaengine: qcom_hidma: add debugfs hooks

2016-04-30 Thread Sinan Kaya
On 4/27/2016 8:51 AM, ok...@codeaurora.org wrote: > On 2016-04-27 04:15, Vinod Koul wrote: >> On Tue, Apr 26, 2016 at 12:55:18PM -0400, Sinan Kaya wrote: >>> On 4/26/2016 12:25 PM, Vinod Koul wrote: >>> > On Tue, Apr 26, 2016 at 08:08:16AM -0400, ok...@codeaurora.org wrote: >>> >> On 2016-04-25 23:

[PATCH V18 3/3] dmaengine: qcom_hidma: add support for object hierarchy

2016-04-30 Thread Sinan Kaya
In order to create a relationship model between the channels and the management object, we are adding support for object hierarchy to the drivers. This patch simplifies the userspace application development. We will not have to traverse different firmware paths based on device tree or ACPI based ke

[PATCH V18 2/3] dmaengine: qcom_hidma: add debugfs hooks

2016-04-30 Thread Sinan Kaya
Add debugfs hooks for debugging the execution behavior of the DMA channel. The debugfs hooks get initialized by the probe function and uninitialized by the remove function. A stats file is created in debugfs. The stats file will show the information about each HIDMA channel as well as each asynchr

[PATCH V18 1/3] dmaengine: qcom_hidma: implement lower level hardware interface

2016-04-30 Thread Sinan Kaya
This patch implements the hardware hooks for the HIDMA channel driver. The main functions of interest are: - hidma_ll_init - hidma_ll_request - hidma_ll_queue_request - hidma_ll_hw_start OS layer calls the hidma_ll_init function during probe to set up the hardware. At this moment, the number of s

Re: efi_enabled(EFI_PARAVIRT) use

2016-04-30 Thread Shannon Zhao
On 2016年05月01日 04:44, Matt Fleming wrote: >> While I still have a question, in this patch we use >> > efi_enabled(EFI_PARAVIRT) as a condition to make fdt_find_uefi_params() >> > and efi_get_fdt_params() execute different ways. So it needs to find a >> > new condition for that if we need to get rid

Re: [PATCH] watchdog: dw_wdt: dont build for avr32

2016-04-30 Thread Guenter Roeck
On Sat, Apr 30, 2016 at 05:36:51PM -0700, Guenter Roeck wrote: > On Sat, Apr 30, 2016 at 07:38:28PM +0100, Sudip Mukherjee wrote: > > On Tue, Apr 12, 2016 at 11:01:28AM -0700, Guenter Roeck wrote: > > > On Tue, Apr 12, 2016 at 05:58:20PM +0300, Andy Shevchenko wrote: > > > > On Tue, Apr 12, 2016 at

[PATCH RESEND 5/5] tools: hv: lsvmbus: add pci pass-through UUID

2016-04-30 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov lsvmbus keeps its own copy of all VMBus UUIDs, add PCIe pass-through device there to not report 'Unknown' for such devices. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- tools/hv/lsvmbus |1 + 1 files changed, 1 insertions(+), 0 deletions(-) d

[PATCH RESEND 3/5] Drivers: hv: balloon: don't crash when memory is added in non-sorted order

2016-04-30 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov When we iterate through all HA regions in handle_pg_range() we have an assumption that all these regions are sorted in the list and the 'start_pfn >= has->end_pfn' check is enough to find the proper region. Unfortunately it's not the case with WS2016 where host can hot-add

[PATCH RESEND 4/5] Drivers: hv: balloon: reset host_specified_ha_region

2016-04-30 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov We set host_specified_ha_region = true on certain request but this is a global state which stays 'true' forever. We need to reset it when we receive a request where ha_region is not specified. I did not see any real issues, the bug was found by code inspection. Signed-off-

[PATCH RESEND 1/5] Drivers: hv: kvp: fix IP Failover

2016-04-30 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Hyper-V VMs can be replicated to another hosts and there is a feature to set different IP for replicas, it is called 'Failover TCP/IP'. When such guest starts Hyper-V host sends it KVP_OP_SET_IP_INFO message as soon as we finish negotiation procedure. The problem is that it

[PATCH RESEND 2/5] Drivers: hv: vmbus: handle various crash scenarios

2016-04-30 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Kdump keeps biting. Turns out CHANNELMSG_UNLOAD_RESPONSE is always delivered to the CPU which was used for initial contact or to CPU0 depending on host version. vmbus_wait_for_unload() doesn't account for the fact that in case we're crashing on some other CPU we won't get t

[PATCH RESEND 0/5] Drivers: hv: Some miscellaneous fixes

2016-04-30 Thread K. Y. Srinivasan
Some miscellaneous fixes. All these patches are being resent. Vitaly Kuznetsov (5): Drivers: hv: kvp: fix IP Failover Drivers: hv: vmbus: handle various crash scenarios Drivers: hv: balloon: don't crash when memory is added in non-sorted order Drivers: hv: balloon: reset host_specified

Re: [PATCH] watchdog: dw_wdt: dont build for avr32

2016-04-30 Thread Guenter Roeck
On Sat, Apr 30, 2016 at 07:38:28PM +0100, Sudip Mukherjee wrote: > On Tue, Apr 12, 2016 at 11:01:28AM -0700, Guenter Roeck wrote: > > On Tue, Apr 12, 2016 at 05:58:20PM +0300, Andy Shevchenko wrote: > > > On Tue, Apr 12, 2016 at 4:39 PM, Sudip Mukherjee > > > wrote: > > > > On Tuesday 12 April 201

RE: [PATCH 1/8] Drivers: hv: kvp: fix IP Failover

2016-04-30 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Saturday, April 30, 2016 2:54 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; > jasow...@redhat.com > Subje

Re: [PATCH] watchdog: dw_wdt: dont build for avr32

2016-04-30 Thread Guenter Roeck
On 04/30/2016 11:38 AM, Sudip Mukherjee wrote: On Tue, Apr 12, 2016 at 11:01:28AM -0700, Guenter Roeck wrote: On Tue, Apr 12, 2016 at 05:58:20PM +0300, Andy Shevchenko wrote: On Tue, Apr 12, 2016 at 4:39 PM, Sudip Mukherjee wrote: On Tuesday 12 April 2016 06:36 PM, Guenter Roeck wrote: On 0

Re: [PATCH] efibc: avoid stack overflow warning

2016-04-30 Thread Arnd Bergmann
On Saturday 30 April 2016 23:46:41 Matt Fleming wrote: > > > It's not something we'd have to worry about in practice, but it does > > make my patch incorrect. Should we come up with a different way to > > do it? > > Jeremy proposed a patch to dynamically allocate the memory, which I > think is th

Re: [PATCH 3.16 000/217] 3.16.35-rc1 review

2016-04-30 Thread Guenter Roeck
On 04/30/2016 12:44 PM, Ben Hutchings wrote: On Thu, 2016-04-28 at 21:16 -0700, Guenter Roeck wrote: On 04/26/2016 04:02 PM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.16.35 release. There are 217 patches in this series, which will be posted as responses to thi

Re: [PATCH] x86/efi-bgrt: Switch all pr_err() to pr_debug() for invalid BGRT

2016-04-30 Thread Josh Triplett
On Sat, Apr 30, 2016 at 11:35:14PM +0100, Matt Fleming wrote: > (Adding Colin and Ricardo) > > On Wed, 27 Apr, at 01:23:55PM, Josh Boyer wrote: > > > > How is an end user supposed to see such a message and report it to the > > people that can fix it? They can't. So they report it in their > > d

[GIT PULL] Thermal management updates for v4.6-rc6

2016-04-30 Thread Eduardo Valentin
Hello Linus, Here are only a couple of minor fixes on thermal subsystem. Please consider pulling from git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal fixes to receive Thermal Management updates for v4.6-rc6 with top-most 15333e3af1de37b1b214b28c85fe9a7b257fb92c: t

Re: OpRegion conflicts for Skylake LPSS

2016-04-30 Thread Ben Gamari
Mika Westerberg writes: > On Fri, Apr 29, 2016 at 09:30:27AM +0200, Ben Gamari wrote: >> Ben Gamari writes: >> >> > [ Unknown signature status ] >> > Mika Westerberg writes: >> > >> >> On Tue, Apr 26, 2016 at 02:44:13AM +0200, Ben Gamari wrote: >> >>> >> > snip >> > >> >>> It looks very much

Re: [PATCH] efibc: avoid stack overflow warning

2016-04-30 Thread Matt Fleming
On Sun, 01 May, at 12:34:29AM, Arnd Bergmann wrote: > > The sys_restart() system call takes a mutex before calling kernel_restart() > or kernel_poweroff(). > > I've had a closer look now and found that there are a few other > callers of kernel_restart, so I guess if you restart using sysctl > at

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Ben Greear
On 04/30/2016 03:01 PM, Vijay Pandurangan wrote: On Sat, Apr 30, 2016 at 5:52 PM, Ben Greear wrote: Good point, so if you had: eth0 <-> raw <-> user space-bridge <-> raw <-> vethA <-> veth B <-> userspace-stub <->eth1 and user-space hub enabled this elide flag, things would work, right? Th

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Tom Herbert
On Sat, Apr 30, 2016 at 1:59 PM, Ben Greear wrote: > > On 04/30/2016 12:54 PM, Tom Herbert wrote: >> >> We've put considerable effort into cleaning up the checksum interface >> to make it as unambiguous as possible, please be very careful to >> follow it. Broken checksum processing is really hard

Re: [PATCH] x86/efi-bgrt: Switch all pr_err() to pr_debug() for invalid BGRT

2016-04-30 Thread Colin Ian King
On 30/04/16 23:35, Matt Fleming wrote: > (Adding Colin and Ricardo) > > On Wed, 27 Apr, at 01:23:55PM, Josh Boyer wrote: >> >> How is an end user supposed to see such a message and report it to the >> people that can fix it? They can't. So they report it in their >> distributions bug tracker and

Re: [PATCH] x86/efi-bgrt: Switch all pr_err() to pr_debug() for invalid BGRT

2016-04-30 Thread Matt Fleming
(Adding Colin and Ricardo) On Wed, 27 Apr, at 01:23:55PM, Josh Boyer wrote: > > How is an end user supposed to see such a message and report it to the > people that can fix it? They can't. So they report it in their > distributions bug tracker and it either gets closed as "yeah, firmware > suck

Re: [PATCH] efibc: avoid stack overflow warning

2016-04-30 Thread Arnd Bergmann
On Saturday 30 April 2016 21:14:49 Matt Fleming wrote: > On Fri, 29 Apr, at 07:48:31PM, Arnd Bergmann wrote: > > gcc complains about a newly added file for the EFI Bootloader Control: > > > > drivers/firmware/efi/efibc.c: In function 'efibc_set_variable': > > drivers/firmware/efi/efibc.c:53:1: err

Re: [PATCH 0/2] scop GFP_NOFS api

2016-04-30 Thread NeilBrown
On Sat, Apr 30 2016, Dave Chinner wrote: > On Fri, Apr 29, 2016 at 03:35:42PM +1000, NeilBrown wrote: >> On Tue, Apr 26 2016, Michal Hocko wrote: >> >> > Hi, >> > we have discussed this topic at LSF/MM this year. There was a general >> > interest in the scope GFP_NOFS allocation context among som

[PATCH] efi/capsule: Make efi_capsule_pending() lockless

2016-04-30 Thread Matt Fleming
Taking a mutex in the reboot path is bogus because we cannot sleep with interrupts disabled, such as when rebooting due to panic(), [ 18.069005] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:97 [ 18.071639] in_atomic(): 0, irqs_disabled(): 1, pid: 7, name: rcu

Re: [BUG] x86/efi: MMRs no longer properly mapped after switch to isolated page table

2016-04-30 Thread Matt Fleming
On Fri, 29 Apr, at 10:41:19AM, Alex Thorlton wrote: > > You can see here that we've made it past the MMR read in uv_system_init, > but we die inside of our first EFI callback. In this example, it looks > like we're using the kernel page table at the time of the failure, and I > believe that the f

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Vijay Pandurangan
On Sat, Apr 30, 2016 at 5:52 PM, Ben Greear wrote: >> >> Good point, so if you had: >> >> eth0 <-> raw <-> user space-bridge <-> raw <-> vethA <-> veth B <-> >> userspace-stub <->eth1 >> >> and user-space hub enabled this elide flag, things would work, right? >> Then, it seems like what we need is

Re: [PATCH] Cleanup __pvclock_read_cycles to remove useless variables

2016-04-30 Thread Andy Lutomirski
On Apr 30, 2016 12:17 PM, "Borislav Petkov" wrote: > > On Sat, Apr 30, 2016 at 10:47:49AM -0700, Andy Lutomirski wrote: > > Take a look at vread_pvclock. I decided that __pvclock_read_cycles > > was too ugly to use and was very slow and I just gave up and rewrote > > it. > > Should we kill __pvcl

Re: [PATCH 0/2] scop GFP_NOFS api

2016-04-30 Thread NeilBrown
On Fri, Apr 29 2016, Michal Hocko wrote: > > One think I have learned is that shrinkers can be really complex and > getting rid of GFP_NOFS will be really hard so I would really like to > start the easiest way possible and remove the direct usage and replace > it by scope one which would at least

Re: [PATCH 1/8] Drivers: hv: kvp: fix IP Failover

2016-04-30 Thread Greg KH
On Sat, Apr 30, 2016 at 09:43:09PM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Saturday, April 30, 2016 2:05 PM > > To: KY Srinivasan > > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > > o...@ae

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Ben Greear
On 04/30/2016 02:36 PM, Vijay Pandurangan wrote: On Sat, Apr 30, 2016 at 5:29 PM, Ben Greear wrote: On 04/30/2016 02:13 PM, Vijay Pandurangan wrote: On Sat, Apr 30, 2016 at 4:59 PM, Ben Greear wrote: On 04/30/2016 12:54 PM, Tom Herbert wrote: We've put considerable effort into cle

RE: [PATCH 1/8] Drivers: hv: kvp: fix IP Failover

2016-04-30 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Saturday, April 30, 2016 2:05 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; > jasow...@redhat.com > Subje

RE: [PATCH 1/3] Drivers: hv: balloon: don't crash when memory is added in non-sorted order

2016-04-30 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Saturday, April 30, 2016 2:03 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; > jasow...@redhat.com > Subje

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Vijay Pandurangan
On Sat, Apr 30, 2016 at 5:29 PM, Ben Greear wrote: > > > On 04/30/2016 02:13 PM, Vijay Pandurangan wrote: >> >> On Sat, Apr 30, 2016 at 4:59 PM, Ben Greear >> wrote: >>> >>> >>> >>> On 04/30/2016 12:54 PM, Tom Herbert wrote: We've put considerable effort into cleaning up the checks

[PATCH 2/4] staging: i4l: act2000: do not assign in if

2016-04-30 Thread Sudip Mukherjee
It is not the kernel coding style to assign values to some variable in if statement. Split them up into different statements. Signed-off-by: Sudip Mukherjee --- drivers/staging/i4l/act2000/act2000_isa.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/

[PATCH 4/4] staging: i4l: act2000: remove extra space

2016-04-30 Thread Sudip Mukherjee
It is not kernel coding style to give an extra space after a cast. We get warned about it by checkpatch. Signed-off-by: Sudip Mukherjee --- drivers/staging/i4l/act2000/act2000_isa.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/i4l/act2000/act20

[PATCH 1/4] staging: i4l: act2000: fix use of return

2016-04-30 Thread Sudip Mukherjee
checkpatch warns that return is not a function and as such the brace after it is not required. Signed-off-by: Sudip Mukherjee --- drivers/staging/i4l/act2000/act2000_isa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/i4l/act2000/act2000_isa.c b/drivers/sta

[PATCH 3/4] staging: i4l: act2000: remove blank line after brace

2016-04-30 Thread Sudip Mukherjee
checkpatch complains about an extra blank line after an opening brace. Signed-off-by: Sudip Mukherjee --- drivers/staging/i4l/act2000/act2000_isa.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/i4l/act2000/act2000_isa.c b/drivers/staging/i4l/act2000/act2000_isa.c index 0485

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Ben Greear
On 04/30/2016 02:13 PM, Vijay Pandurangan wrote: On Sat, Apr 30, 2016 at 4:59 PM, Ben Greear wrote: On 04/30/2016 12:54 PM, Tom Herbert wrote: We've put considerable effort into cleaning up the checksum interface to make it as unambiguous as possible, please be very careful to follow it.

[RFC PATCH 6/7] ASoC: mioa701_wm9713: convert to new ac97 bus

2016-04-30 Thread Robert Jarzmik
Convert to the new auto-probing ac97 bus, which changes the device name. Signed-off-by: Robert Jarzmik --- sound/soc/pxa/mioa701_wm9713.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_wm9713.c index 5c8f9db50a47..4e

Re: [Cluster-devel] [PATCH 0/2] scop GFP_NOFS api

2016-04-30 Thread NeilBrown
On Fri, Apr 29 2016, Steven Whitehouse wrote: > Hi, > > On 29/04/16 06:35, NeilBrown wrote: >> If we could similarly move evict() into kswapd (and I believe we can) >> then most file systems would do nothing in reclaim context that >> interferes with allocation context. > evict() is an issue, but

[RFC PATCH 5/7] ARM: pxa: mioa701 remove wm9713 from platform devices

2016-04-30 Thread Robert Jarzmik
As the ac97 autoprobing is introduced, remove the manually added wm9713 device. Signed-off-by: Robert Jarzmik --- arch/arm/mach-pxa/mioa701.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-pxa/mioa701.c b/arch/arm/mach-pxa/mioa701.c index 38a96a193dc4..e69e20febf83 100644 --- a

Re: [PATCH] arm64: Relocate screen_info.lfb_base on PCI BAR allocation

2016-04-30 Thread Matt Fleming
(Pulling in efifb maintainer, Peter) On Fri, 29 Apr, at 06:31:19PM, Bjorn Helgaas wrote: > > The efifb.c driver doesn't do anything at all with PCI (it includes > linux/pci.h, but probably doesn't need it). That's part of what I'm > suggesting -- if it *did* register as a PCI device driver, then

[RFC PATCH 3/7] ASoC: wm9713: add ac97 new bus support

2016-04-30 Thread Robert Jarzmik
Add support for the new ac97 bus model, where devices are automatically discovered on AC-Links. Signed-off-by: Robert Jarzmik --- sound/soc/codecs/wm9713.c | 62 ++- 1 file changed, 56 insertions(+), 6 deletions(-) diff --git a/sound/soc/codecs/wm9713

[RFC PATCH 4/7] ASoC: pxa: switch to new ac97 bus support

2016-04-30 Thread Robert Jarzmik
Switch to the new ac97 bus support in sound/ac97 instead of the legacy snd_ac97 one. Signed-off-by: Robert Jarzmik --- include/sound/pxa2xx-lib.h | 14 -- sound/arm/Kconfig | 1 - sound/arm/pxa2xx-ac97-lib.c | 31 +++ sound/soc/pxa/Kconfig

[RFC PATCH 2/7] ALSA: ac97: add an ac97 bus

2016-04-30 Thread Robert Jarzmik
AC97 is a bus for sound usage. It enables for a AC97 AC-Link to link one controller to 0 to 4 AC97 codecs. The goal of this new implementation is to implement a device/driver model for AC97, with an automatic scan of the bus and automatic discovery of AC97 codec devices. Signed-off-by: Robert Jar

[RFC PATCH 7/7] ASoC: add new ac97 bus support

2016-04-30 Thread Robert Jarzmik
Add the new ac97 bus support, with ac97 bus automatic probing. Signed-off-by: Robert Jarzmik --- sound/Kconfig | 7 +++ sound/Makefile| 1 + sound/soc/Kconfig | 4 3 files changed, 12 insertions(+) diff --git a/sound/Kconfig b/sound/Kconfig index 5a240e050ae6..83d67eae3580 1006

[RFC PATCH 1/7] ALSA: ac97: split out the generic ac97 registers

2016-04-30 Thread Robert Jarzmik
Split out from the ac97_codec.h the ac97 generic registers, which can be used by a codec, typically a generic ac97 codec, and by the ac97 bus, to scan an ac97 AC-Link. Signed-off-by: Robert Jarzmik --- include/sound/ac97/regs.h | 262 + include/sound/

[RFC PATCH 0/7] AC97 device/driver model revamp

2016-04-30 Thread Robert Jarzmik
It all started in the pxa device-tree submission here : https://lkml.org/lkml/2016/2/25/965 It will be maintained in : git fetch https://github.com/rjarzmik/linux.git work/ac97 And now it transformed into this RFC, which would bring a ground for AC'97 devices closer to the linux device/drive

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Vijay Pandurangan
On Sat, Apr 30, 2016 at 4:59 PM, Ben Greear wrote: > > > On 04/30/2016 12:54 PM, Tom Herbert wrote: >> >> We've put considerable effort into cleaning up the checksum interface >> to make it as unambiguous as possible, please be very careful to >> follow it. Broken checksum processing is really har

Re: [RFC][PATCH 0/6] Enhanced file stat system call

2016-04-30 Thread Jeff Layton
On Fri, 2016-04-29 at 13:57 +0100, David Howells wrote: > Implement a new system call to provide enhanced file stats.  The patches can > be found here: > > > http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=xstat > > > === > DESCRIPTION > === > > T

Re: [PATCH 1/8] Drivers: hv: kvp: fix IP Failover

2016-04-30 Thread Greg KH
On Tue, Apr 05, 2016 at 04:57:40PM -0700, K. Y. Srinivasan wrote: > From: Vitaly Kuznetsov > > Hyper-V VMs can be replicated to another hosts and there is a feature to > set different IP for replicas, it is called 'Failover TCP/IP'. When > such guest starts Hyper-V host sends it KVP_OP_SET_IP_INF

[PATCH] libnvdimm, pfn: fix memmap reservation sizing

2016-04-30 Thread Dan Williams
When configuring a pfn-device instance to allocate the memmap array it needs to account for the fact that vmemmap_populate_hugepages() allocates struct page blocks in HPAGE_SIZE chunks. We need to align the reserved area size to 2MB otherwise arch_add_memory() runs out of memory while establishing

Re: [PATCH 1/3] Drivers: hv: balloon: don't crash when memory is added in non-sorted order

2016-04-30 Thread Greg KH
On Fri, Apr 29, 2016 at 11:45:17AM -0700, K. Y. Srinivasan wrote: > From: Vitaly Kuznetsov > > When we iterate through all HA regions in handle_pg_range() we have an > assumption that all these regions are sorted in the list and the > 'start_pfn >= has->end_pfn' check is enough to find the proper

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Ben Greear
On 04/30/2016 12:54 PM, Tom Herbert wrote: We've put considerable effort into cleaning up the checksum interface to make it as unambiguous as possible, please be very careful to follow it. Broken checksum processing is really hard to detect and debug. CHECKSUM_UNNECESSARY means that some number

Re: [PATCH] parport: parport_pc: PCI SIO access should also depend on SIO option

2016-04-30 Thread Greg Kroah-Hartman
On Wed, Apr 20, 2016 at 01:09:51PM +0530, Sudip Mukherjee wrote: > From: "Maciej S. Szmigiero" > > CONFIG_PARPORT_PC_SUPERIO toggles Super IO chip support in parport_pc > code, however only code accessing SIO chip via ISA (or LPC) bus was > conditional on it. > > This patch makes SIO chip access

Re: [patch 2/7] lib/hashmod: Add modulo based hash mechanism

2016-04-30 Thread George Spelvin
Thomas Gleixner wrote: > I'll send a patch to replace hash_64 and hash_32. Before you do that, could we look for a way to tweak the constants in the existing hash? It seems the basic "take the high bits of x * K" algorithm is actually a decent hash function if K is chosen properly, and has a sign

[PATCH 1/1] gpio: xgene: Enable ACPI support for X-Gene GFC GPIO driver

2016-04-30 Thread Duc Dang
This patch enables ACPI support for X-Gene GFC GPIO driver. Signed-off-by: Duc Dang --- drivers/gpio/gpio-xgene.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index 0dc9161..c00c408 100644 --- a/drivers/gpio/gpio-xgene.c +++ b

Re: [PATCH] scripts/dtc: Update to upstream version 53bf130b1cdd

2016-04-30 Thread Rob Herring
On Fri, Apr 29, 2016 at 3:51 AM, Geert Uytterhoeven wrote: > Hi Rob, > > On Tue, Mar 8, 2016 at 9:00 AM, Rob Herring wrote: >> On Mon, Mar 7, 2016 at 5:27 AM, Geert Uytterhoeven >> wrote: >>> On Fri, Mar 4, 2016 at 4:13 PM, Rob Herring wrote: Sync to upstream dtc commit 53bf130b1cdd ("lib

Re: efi_enabled(EFI_PARAVIRT) use

2016-04-30 Thread Matt Fleming
On Sat, 30 Apr, at 10:14:42PM, Shannon Zhao wrote: > Sure. How should I add this change? Rework this patch or add new one on > top of it? Rework this patch, please. > Yes, in this patch we could set EFI_RUNTIME_SERVICES flag in > fdt_find_hyper_node instead of setting EFI_PARAVIRT flag, and then

Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options for a devicetree

2016-04-30 Thread Rob Herring
On Fri, Apr 29, 2016 at 1:39 AM, Gaurav Minocha wrote: > On Thu, Apr 28, 2016 at 3:32 PM, Rob Herring wrote: >> On Thu, Apr 28, 2016 at 4:46 PM, Frank Rowand wrote: >>> From: Frank Rowand >>> >>> Determining which kernel config options need to be enabled for a >>> given devicetree can be a pain

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Vijay Pandurangan
[oops – resending this because I was using gmail in HTML mode before by accident] There was a discussion on a separate thread about this. I agree with Sabrina fully. I believe veth should provide an abstraction layer that correctly emulates a physical network in all ways. Consider an environment

Re: [PATCH] efibc: avoid stack overflow warning

2016-04-30 Thread Matt Fleming
On Fri, 29 Apr, at 07:48:31PM, Arnd Bergmann wrote: > gcc complains about a newly added file for the EFI Bootloader Control: > > drivers/firmware/efi/efibc.c: In function 'efibc_set_variable': > drivers/firmware/efi/efibc.c:53:1: error: the frame size of 2272 bytes is > larger than 1024 bytes [-W

[PATCH] vfs: use RCU_INIT_POINTER when NULLing

2016-04-30 Thread Muhammad Falak R Wani
It is always safe to use RCU_INIT_POINTER to NULL a pointer. This results in slightly smaller/faster code. The following semantic patch used: @@ @@ - rcu_assign_pointer + RCU_INIT_POINTER (..., NULL) Signed-off-by: Muhammad Falak R Wani --- fs/file.c | 6 +++--- 1 file changed, 3 insertion

Re: [tip:efi/core] efibc: Add EFI Bootloader Control module

2016-04-30 Thread Matt Fleming
On Fri, 29 Apr, at 03:53:39PM, Jeremy Compostella wrote: > From ef3a2941769e59b11d1ec36117209dc4c90c7cf9 Mon Sep 17 00:00:00 2001 > From: Jeremy Compostella > Date: Fri, 29 Apr 2016 15:29:59 +0200 > Subject: [PATCH] efibc: fix excessive stack footprint warning > > Use dynamic memory allocation in

Re: [PATCH 1/3] phy: rockchip-usb: should be a child device of the GRF

2016-04-30 Thread Heiko Stübner
Hi Kishon, Am Dienstag, 19. April 2016, 08:13:47 schrieb Heiko Stübner: > Hi Kishon. > > Am Donnerstag, 31. März 2016, 15:43:30 schrieb Heiko Stuebner: > > The usb-phy is fully enclosed in the general register files (GRF). > > Therefore as seen from the device-tree it shouldn't be a separate > >

Re: ERROR: "vring_del_virtqueue" [drivers/misc/mic/vop/vop.ko] undefined!

2016-04-30 Thread Randy Dunlap
On 04/30/16 11:56, Sudeep Dutt wrote: > On Sat, 2016-04-30 at 09:49 -0700, Randy Dunlap wrote: >> On 04/18/16 08:05, kbuild test robot wrote: >>> Hi Sudeep, >>> >>> FYI, the error/warning still remains. >> >> and still happens in linux-next-20160428... >> > > The patch to fix this build failure wa

Re: [tip:efi/core] efibc: Add EFI Bootloader Control module

2016-04-30 Thread Matt Fleming
On Sat, 30 Apr, at 10:33:32AM, Jeremy Compostella wrote: > Ingo Molnar writes: > > > > Hm, can reboot notifiers do non-atomic allocations? > The reboot notifier chain is a blocking notifier chain. AFAIK, it > allows non-atomic allocation, right ? I would assume so, yes. > > Why is efivar_entry

Re: [PATCH v2] lib: make sg_pool tristate instead of bool

2016-04-30 Thread Paul Gortmaker
[Re: [PATCH v2] lib: make sg_pool tristate instead of bool] On 28/04/2016 (Thu 08:51) Christoph Hellwig wrote: > On Wed, Apr 27, 2016 at 07:54:19PM -0400, Martin K. Petersen wrote: > > Somebody please review... > > The patch is useless, we should just ignore it. I'll be the 1st to admit the pat

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Tom Herbert
We've put considerable effort into cleaning up the checksum interface to make it as unambiguous as possible, please be very careful to follow it. Broken checksum processing is really hard to detect and debug. CHECKSUM_UNNECESSARY means that some number of _specific_ checksums (indicated by csum_le

Re: __napi_alloc_skb failures locking up the box

2016-04-30 Thread Eric Dumazet
On Sat, 2016-04-30 at 22:24 +0300, Aaro Koskinen wrote: > Hi, > > I have old NAS box (Thecus N2100) with 512 MB RAM, where rsync from NFS -> > disk reliably results in temporary out-of-memory conditions. > > When this happens the dmesg gets flooded with below logs. If the serial > console logging

Re: [PATCH 3.16 000/217] 3.16.35-rc1 review

2016-04-30 Thread Ben Hutchings
On Thu, 2016-04-28 at 21:16 -0700, Guenter Roeck wrote: > On 04/26/2016 04:02 PM, Ben Hutchings wrote: > > > > This is the start of the stable review cycle for the 3.16.35 release. > > There are 217 patches in this series, which will be posted as responses > > to this one.  If anyone has any issue

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Ben Greear
On 04/30/2016 11:33 AM, Ben Hutchings wrote: On Thu, 2016-04-28 at 12:29 +0200, Sabrina Dubroca wrote: Hello, http://dmz2.candelatech.com/?p=linux-4.4.dev.y/.git;a=commitdiff;h=8153e983c0e5eba1aafe1fc296248ed2a553f1ac;hp=454b07405d694dad52e7f41af5816eed0190da8a Actually, no, this is not re

Re: [PATCH 3.16 106/217] sd: disable discard_zeroes_data for UNMAP

2016-04-30 Thread Ben Hutchings
On Fri, 2016-04-29 at 01:00 -0300, Rafael David Tinoco wrote: > Actually, It was an objection. [...] OK, then I'll drop all these commits from the queue: 7985090aa020 sd: disable discard_zeroes_data for UNMAP 397737223c59 sd: Make discard granularity match logical block size when LBPRZ=1 f4327a95

__napi_alloc_skb failures locking up the box

2016-04-30 Thread Aaro Koskinen
Hi, I have old NAS box (Thecus N2100) with 512 MB RAM, where rsync from NFS -> disk reliably results in temporary out-of-memory conditions. When this happens the dmesg gets flooded with below logs. If the serial console logging is enabled, this will lock up the box completely and the backup is no

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Ben Hutchings
On Thu, 2016-04-28 at 12:29 +0200, Sabrina Dubroca wrote: > Hello, > > 2016-04-27, 17:14:44 -0700, Ben Greear wrote: > > > > On 04/27/2016 05:00 PM, Hannes Frederic Sowa wrote: > > > > > > Hi Ben, > > > > > > On Wed, Apr 27, 2016, at 20:07, Ben Hutchings wrote: > > > > > > > > On Wed, 2016-04-

Re: [PATCH 3.2 085/115] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-04-30 Thread Ben Hutchings
On Thu, 2016-04-28 at 06:45 -0700, Ben Greear wrote: > > On 04/28/2016 03:29 AM, Sabrina Dubroca wrote: [...] > > Your use case is invalid, it just happened to work because of a > > bug.  If you want the stack to fill checksums so that you want capture > > and reinject packets, you have to disable

Re: [PATCH] Cleanup __pvclock_read_cycles to remove useless variables

2016-04-30 Thread Borislav Petkov
On Sat, Apr 30, 2016 at 10:47:49AM -0700, Andy Lutomirski wrote: > Take a look at vread_pvclock. I decided that __pvclock_read_cycles > was too ugly to use and was very slow and I just gave up and rewrote > it. Should we kill __pvclock_read_cycles in favor of vread_pvclock? It looks doable at a q

  1   2   >