[GIT PULL] Please pull NFS client updates for 4.1

2015-04-24 Thread Trond Myklebust
Hi Linus, Another set of mainly bugfixes and a couple of cleanups. No new functionality in this round. The following changes since commit e42391cd048809d903291d07f86ed3934ce138e9: Linux 4.0-rc6 (2015-03-29 15:26:31 -0700) are available in the git repository at: git://git.linux-nfs.org/proj

Re: [PATCH] net: netcp: remove call to netif_carrier_(on/off) for MAC to Phy interface

2015-04-24 Thread Sergei Shtylyov
On 04/24/2015 06:18 PM, Murali Karicheri wrote: Currently when interface type is MAC to Phy, netif_carrier_(on/off) is called which is not needed as Phy lib already updates the carrier status to net stack. This is needed only for other interface types Signed-off-by: Murali Karicheri --- dr

Re: [PATCH v5 00/27] IB/Verbs: IB Management Helpers

2015-04-24 Thread Jason Gunthorpe
On Fri, Apr 24, 2015 at 03:00:15PM +, Liran Liss wrote: > Currently, the only code in the kernel that has an SMI interface is IB. > When OPA is introduced, add the proper helper. We already have tests checking for SMI is supported so QP0 can be created, this is to support ROCEE > All I am s

Re: Regression: Requiring CAP_SYS_ADMIN for /proc//pagemap causes application-level breakage

2015-04-24 Thread Mark Williamson
Hi Mark, On Fri, Apr 24, 2015 at 4:26 PM, Mark Seaborn wrote: > I'm curious, what do you use the physical page addresses for? > > Since you pointed to http://undo-software.com, which talks about > reversible debugging tools, I can guess you would use the soft-dirty > flag to implement copy-on-wri

Re: Interacting with coherent memory on external devices

2015-04-24 Thread Jerome Glisse
On Fri, Apr 24, 2015 at 11:03:52AM -0500, Christoph Lameter wrote: > On Fri, 24 Apr 2015, Jerome Glisse wrote: > > > On Fri, Apr 24, 2015 at 09:29:12AM -0500, Christoph Lameter wrote: > > > On Thu, 23 Apr 2015, Jerome Glisse wrote: > > > > > > > No this not have been solve properly. Today solution

Re: Regression: Requiring CAP_SYS_ADMIN for /proc//pagemap causes application-level breakage

2015-04-24 Thread Mark Williamson
Hi Linus, Thanks for responding so quickly! On Fri, Apr 24, 2015 at 5:08 PM, Linus Torvalds wrote: > So the one exception to the regression rule is "security fixes", but > even for security fixes we do try to be as reasonable as humanly > possible to make them not break things. Understood - the

[PATCH 05/19] clk: tegra: pll: update warning msg

2015-04-24 Thread Rhyland Klein
Swap out the generic WARN_ON with a WARN which gives more information about what is happening. Signed-off-by: Rhyland Klein --- drivers/clk/tegra/clk-pll.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c index d28

[PATCH 01/19] clk: tegra: Modify tegra_audio_clk_init to accept more plls

2015-04-24 Thread Rhyland Klein
tegra_audio_clk_init was written expecting a single PLL to be passed in directly. Change this to accept an array which will allow for supporting multiple plls and specifying specific data about them, like their parent, which may change over time. Signed-off-by: Rhyland Klein --- drivers/clk/tegr

[PATCH 00/19] Tegra210 Clock Support

2015-04-24 Thread Rhyland Klein
This patch series updates the tegra common clock driver and adds support for the Tegra210 clocks. The clocks in Tegra210 changed significantly in some ways from earlier generations, so to support them, we need to extend our base framework a bit and add some new features. Some patches here also add

[PATCH 19/19] clk: tegra210: add support for Tegra210 clocks

2015-04-24 Thread Rhyland Klein
Implement clock support for Tegra210. Signed-off-by: Rhyland Klein --- .../bindings/clock/nvidia,tegra210-car.txt | 56 + drivers/clk/tegra/Makefile |1 + drivers/clk/tegra/clk-id.h |4 + drivers/clk/tegra/clk-tegra210.c

[PATCH 09/19] clk: tegra: pll: Add logic for SS

2015-04-24 Thread Rhyland Klein
From: Bill Huang Add some logic for Spread Spectrum control. It is used in conjuncture with SDM fractional dividers. SSC has to be disabled when we configure the divider settings. Signed-off-by: Bill Huang --- drivers/clk/tegra/clk-pll.c | 25 - drivers/clk/tegra/clk.

[PATCH 17/19] clk: tegra: pll: Fix _pll_ramp_calc_pll logic

2015-04-24 Thread Rhyland Klein
This removes the conversion from pdiv to hw, which is already taken care of by _get_table_rate before this code is run. This avoids incorrectly converting pdiv to hw twice and getting the wrong hw value. Signed-off-by: Rhyland Klein --- drivers/clk/tegra/clk-pll.c |7 +-- 1 file changed,

[PATCH 18/19] clk: tegra: Add Super Gen5 Logic

2015-04-24 Thread Rhyland Klein
From: Bill Huang Super clock divider control and clock source mux of Tegra210 has changed a little against prior SoCs, this patch adds Gen5 logic to address those differences. Signed-off-by: Bill Huang --- drivers/clk/tegra/Makefile |1 + drivers/clk/tegra/clk-tegra-super-gen

[PATCH 15/19] clk: tegra: pll: Add dyn_ramp callback

2015-04-24 Thread Rhyland Klein
From: Bill Huang Add a callback to the pll_params for custom dynamic ramping functions which can be specified per PLL. Signed-off-by: Bill Huang --- drivers/clk/tegra/clk.h |4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/tegra/clk.h b/drivers/clk/tegra/clk.h index 27075a

[PATCH 14/19] clk: tegra: pll: Adjust vco_min if SDM present

2015-04-24 Thread Rhyland Klein
From: Bill Huang This code makes use of the SDM fractional divider if present to contrain the allowable programming range of the PLL divider register bitfields to take advantage of higher frequency granularity that can be induced by the SDM divider. Based on original work by Aleksandr Frid Sig

[PATCH 12/19] clk: tegra: pll: Add specialized logic for T210

2015-04-24 Thread Rhyland Klein
On Tegra210 SoC's, the logic to enable several of the plls is different from previous generations. Therefore, add registeration functions specific to Tegra210 which will handle them appropriately. Signed-off-by: Rhyland Klein --- drivers/clk/tegra/clk-pll.c | 332 +++

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-24 Thread Mark Brown
On Fri, Apr 24, 2015 at 06:52:01AM -0700, Kevin Cernekee wrote: > On Fri, Apr 24, 2015 at 2:28 AM, Mark Brown wrote: > > Do you need to work around it? If the register map is being perserved > > you don't need to sync so just don't do it - it's just that the normal > > expectation would be that

[PATCH 11/19] clk: tegra: pll: Add code to handle if resets are supported by PLL

2015-04-24 Thread Rhyland Klein
From: Bill Huang If a PLL has a reset_reg specified, properly handle that in the enable/disable logic paths._ Signed-off-by: Bill Huang --- drivers/clk/tegra/clk-pll.c | 12 drivers/clk/tegra/clk.h |2 ++ 2 files changed, 14 insertions(+) diff --git a/drivers/clk/tegra/

[PATCH 16/19] clk: tegra: pll: Add Set_default logic

2015-04-24 Thread Rhyland Klein
From: Bill Huang Add logic which (if specified for a pll) can verify that a PLL is set to the proper default value and if not can set it. This can be specified per PLL as each will have different default values. Signed-off-by: Bill Huang --- drivers/clk/tegra/clk-pll.c | 46 +

[PATCH 04/19] clk: tegra: pll: simplify clk_enable_path

2015-04-24 Thread Rhyland Klein
Instead of having multiple similar wrapper functions for _clk_pll_[enable|disable], we can simplify it to single wrappers and use checks to avoid the logic we don't want to use. Signed-off-by: Rhyland Klein --- drivers/clk/tegra/clk-pll.c | 79 ++- 1 fil

[PATCH 07/19] clk: tegra: pll: Don't unconditionally set LOCK flags

2015-04-24 Thread Rhyland Klein
SoC specific drivers should define the appropriate flags for each PLL rather than relying on the registration functions to automatically set flags on their behalf. This will properly allow for changes between SoC generations where flags might be different and allow sharing the same logic functions.

[PATCH 08/19] clk: tegra: pll: Add logic for handling SDM data

2015-04-24 Thread Rhyland Klein
This adds logic for taking SDM_DIN (Sigma Delta Modulator) setting into the equation to calculate the effective N value for PLL which supports fractional divider. The effective N = NDIV + 1/2 + SDM_DIN/2^13, where NDIV is the integer feedback divider. Signed-off-by: Rhyland Klein --- drivers/cl

[PATCH 10/19] clk: tegra: pll: Add logic for out-of-table rates for T210

2015-04-24 Thread Rhyland Klein
For Tegra210, the logic to calculate out-of-table rates is different from previous generations. Add callbacks that can be overridden to allow for different ways of calculating rates. Default to _cal_rate when not specified. Based on original work by Aleksandr Frid Signed-off-by: Rhyland Klein -

[PATCH 06/19] clk: tegra: pll-params: change misc_reg count from 3 -> 6

2015-04-24 Thread Rhyland Klein
From: Bill Huang New SoC's may have more then 3 MISC registers, so bump up the array size and use a #define to be more informative about the value. Signed-off-by: Bill Huang --- drivers/clk/tegra/clk.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/tegra/

[PATCH 13/19] clk: tegra: pll: Add support for PLLMB for T210

2015-04-24 Thread Rhyland Klein
Tegra210 SoC's have a backup PLL for memory usage, PLLMB. Add plumbing to register and handle it. Signed-off-by: Rhyland Klein --- drivers/clk/tegra/clk-pll.c | 46 +++ drivers/clk/tegra/clk.h |9 + 2 files changed, 51 insertions(+), 4 de

[PATCH 03/19] clk: tegra: pll: add tegra_pll_wait_for_lock to clk header

2015-04-24 Thread Rhyland Klein
Create a wrapper interface to make use of the existing clk_pll_wait_for_lock. This will be useful for implementations of callbacks in Tegra SoC specific clock drivers. Signed-off-by: Rhyland Klein --- drivers/clk/tegra/clk-pll.c |5 + drivers/clk/tegra/clk.h |1 + 2 files changed

[PATCH 02/19] clk: tegra: periph: add new periph clks and muxes for Tegra210

2015-04-24 Thread Rhyland Klein
Tegra210 has significant differences in muxes for peripheral clocks. One of the most important changes is that pll_m isn't to be used as a source for peripherals. Therefore, we need to define the new muxes and new clocks to use those muxes for Tegra210 support. Signed-off-by: Rhyland Klein --- d

Re: [RESEND PATCH V2 1/2] input: misc: da9063: OnKey driver

2015-04-24 Thread Paul Bolle
On Fri, 2015-04-24 at 13:45 +, Opensource [Steve Twiss] wrote: > That seems to be a fairly common mistake in the kernel. It's an easy mistake to make. And as long as people pick an ident that passes license_is_gpl_compatible() the module will build and load just fine. > When I did a > straw-

Re: Interacting with coherent memory on external devices

2015-04-24 Thread Christoph Lameter
On Fri, 24 Apr 2015, Jerome Glisse wrote: > > What exactly is the more advanced version's benefit? What are the features > > that the other platforms do not provide? > > Transparent access to device memory from the CPU, you can map any of the GPU > memory inside the CPU and have the whole cache co

[PATCH] perf-bench/futex: Fix hung wakeup tasks after requeueing

2015-04-24 Thread Davidlohr Bueso
The futex-requeue benchmark can hang because of missing wakeups once the benchmark is done, ie: [Run 1]: Requeued 1024 of 1024 threads in 0.3290 ms perf: couldn't wakeup all tasks (135/1024) This bug, while perhaps suggesting missing wakeups in kernel futex code, is merely a consequence of the cr

RE: [PATCH 5/6] Drivers: hv: vmbus: distribute subchannels among all vcpus

2015-04-24 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Friday, April 24, 2015 2:05 AM > To: Dexuan Cui > Cc: KY Srinivasan; Haiyang Zhang; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH 5/6] Drivers: hv: vmbus: distribute su

Re: randconfig build error with next-20150424, in drivers/gpu/drm/i915

2015-04-24 Thread Jani Nikula
On Fri, 24 Apr 2015, Jim Davis wrote: > Building with the attached random configuration file, > > warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && > SND_SOC_INTEL_CHT_BSW_RT5672_MACH && > SND_SOC_INTEL_CHT_BSW_RT5645_MACH) selects SND_SST_IPC_ACPI which has > unmet direct dependencies (SOUND && !M68K

[PATCH V4 0/4] i2c: busses: xgene: I2C proxy driver for X-Gene

2015-04-24 Thread Feng Kan
This is a proxy I2C driver for APM X-Gene SoC. It uses the mailbox driver to tunnel i2c transactions via the SLIMpro processor. V4 Change: - Remove PRP0001 and use a real ACPI id V3 Change: - Add ACPI support - Fix previous comments. Feng Kan (4): i2c: busses: add SLIMpr

[PATCH V4 4/4] arm64: dts: add proxy I2C device driver on APM X-Gene platform

2015-04-24 Thread Feng Kan
Add proxy I2C device driver on APM X-Gene platform. Signed-off-by: Feng Kan Signed-off-by: Hieu Le --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index a2b9657..

[PATCH V4 1/4] i2c: busses: add SLIMpro I2C device driver on APM X-Gene platform

2015-04-24 Thread Feng Kan
Add SLIMpro I2C device driver on APM X-Gene platform. This I2C device driver use the SLIMpro Mailbox driver to tunnel message to the SLIMpro coprocessor to do the work of accessing I2C components. Signed-off-by: Feng Kan Signed-off-by: Hieu Le --- drivers/i2c/busses/Kconfig | 9 +

[PATCH V4 3/4] Documentation: i2c: Add APM X-Gene platform SLIMpro I2C driver documentation

2015-04-24 Thread Feng Kan
Add APM X-Gene platform SLIMpro I2C driver documentation. Signed-off-by: Feng Kan Signed-off-by: Hieu Le --- .../devicetree/bindings/i2c/i2c-xgene-slimpro.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-xgene-slimp

[PATCH V4 2/4] i2c: busses: xgene: add acpi support for i2c xgene SLIMpro driver

2015-04-24 Thread Feng Kan
This adds support for ACPI for the APM X-Gene I2C SLIMpro proxy driver. Signed-off-by: Feng Kan --- drivers/i2c/busses/i2c-xgene-slimpro.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-xgene-slimpro.c b/drivers/i2c/busses/i2c-xgene-slimp

[PATCH net-next,v2,1/1] hv_netvsc: introduce netif-msg into netvsc module

2015-04-24 Thread sixiao
From: Simon Xiao 1. Introduce netif-msg to netvsc to control debug logging output and keep msg_enable in netvsc_device_context so that it is kept persistently. 2. Only call dump_rndis_message() when NETIF_MSG_RX_ERR or above is specified in netvsc module debug param. In non-debug mode, in current

Re: Interacting with coherent memory on external devices

2015-04-24 Thread Jerome Glisse
On Fri, Apr 24, 2015 at 11:58:39AM -0500, Christoph Lameter wrote: > On Fri, 24 Apr 2015, Jerome Glisse wrote: > > > > What exactly is the more advanced version's benefit? What are the features > > > that the other platforms do not provide? > > > > Transparent access to device memory from the CPU,

Re: [PATCH] intel powerclamp: support Knights Landing

2015-04-24 Thread Dasaratharaman Chandramouli
Adding Jacob Pan On Fri, 2015-04-17 at 15:31 -0700, Dasaratharaman Chandramouli wrote: > This patch enables intel_powerclamp driver to run on the > next-generation Intel(R) Xeon Phi Microarchitecture > code named "Knights Landing" > > Signed-off-by: Dasaratharaman Chandramouli > > --- > driver

Re: arm/arm64 perf build issue with mainline

2015-04-24 Thread David Ahern
On 4/24/15 10:22 AM, Will Deacon wrote: I don't have a SPARC machine to hand, but we could check that the character immediately following "CPU" is a number [0-9]. I have access to 1 or 2 or ... Yes, it needs start with CPU and be all caps (there are other Cpu lines) and a cpu number follows:

[PATCH 06/21] ARCNET: com20020: remove unneeded macros

2015-04-24 Thread Michael Grzeschik
The macros SET_SUBADR, ARCRESET, ARCRESET0, ACOMMAND, ASTATUS, AINTMASK and ADIAGSTATUS are unnecessary indirections to the use of registers. This patch removes them and improves the readability of the code. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com20020-isa.c | 2 +- drivers/

[PATCH 05/21] ARCNET: remove unneeded macros

2015-04-24 Thread Michael Grzeschik
The simple macros ARCRESET, ACOMMAND, ASTATUS, AINTMASK are unnecessary indirections to the use of registers. This patch removes them and improves the readability of the code. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/arcnet.c | 68 +++-- inc

[PATCH 11/21] ARCNET: rimi: fix ioaddr prefixes

2015-04-24 Thread Michael Grzeschik
This patch removes the use of the variable ioaddr in the macros and uses it directly in the calling functions. This improves the readability of the code and changes the macros to be used as offsets. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/arc-rimi.c | 30 +++--

[PATCH 07/21] ARCNET: rimi: remove unneeded macros

2015-04-24 Thread Michael Grzeschik
The simple macros ARCRESET, ACOMMAND, ASTATUS, AINTMASK are unnecessary indirections to the use of registers. This patch removes them and improves the readability of the code. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/arc-rimi.c | 24 +++- 1 file changed, 7 inse

[PATCH 12/21] ARCNET: com90io: fix ioaddr prefixes

2015-04-24 Thread Michael Grzeschik
This patch removes the use of the variable ioaddr in the macros and uses it directly in the calling functions. This improves the readability of the code and changes the macros to be used as offsets. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com90io.c | 86 ++

[PATCH 20/21] ARCNET: com20020-pci: reformat structs to C99 format

2015-04-24 Thread Michael Grzeschik
This patch changes the macro definitions to match the C99 formating. This improves the readability. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com20020-pci.c | 35 +-- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/drivers/net/arcnet/c

[PATCH 13/21] ARCNET: com90xx: fix ioaddr prefixes

2015-04-24 Thread Michael Grzeschik
This patch removes the use of the variable ioaddr in the macros and uses it directly in the calling functions. This improves the readability of the code and changes the macros to be used as offsets. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com90xx.c | 52 ++

[PATCH 18/21] ARCNET: com20020: remove obsolete BUS_ALIGN offset factor

2015-04-24 Thread Michael Grzeschik
This patch removes the obsolete macro BUS_ALIGN as the kernel option CONFIG_SA1100_CT6001 is not longer available. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com20020.c | 4 ++-- include/linux/com20020.h | 27 ++- 2 files changed, 12 insertions(+), 19 d

[PATCH 09/21] ARCNET: com90xx: remove unneeded macros

2015-04-24 Thread Michael Grzeschik
The simple macros ARCRESET, ACOMMAND, ASTATUS, AINTMASK are unnecessary indirections to the use of registers. This patch removes them and improves the readability of the code. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com90xx.c | 35 +-- 1 file chang

[PATCH 17/21] ARCNET: com20020: replace magic numbers with readable macros

2015-04-24 Thread Michael Grzeschik
This patch replaces all magic numbers in the driver with proper named macros. For the case of XTOcfg and STARTIOcmd it introduces the new macros. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com20020.c | 21 +++-- include/linux/arcdevice.h | 1 + include/linux/com

[PATCH 08/21] ARCNET: com90io: remove unneeded macros

2015-04-24 Thread Michael Grzeschik
The simple macros ARCRESET, ACOMMAND, ASTATUS, AINTMASK are unnecessary indirections to the use of registers. This patch removes them and improves the readability of the code. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com90io.c | 36 +--- 1 file chan

Re: [PATCH] net: mdio-gpio: support access that may sleep

2015-04-24 Thread Sergei Shtylyov
On 04/24/2015 06:56 PM, Florian Fainelli wrote: Some systems using mdio-gpio may use gpio on message based busses, which require sleeping (e.g. gpio from an I2C I/O expander). Since this driver does not use IRQ handler, it is safe to use the _cansleep suffixed gpio accessors. Signed-off-by

[PATCH 03/21] ARCNET: capmode: fix transfer length

2015-04-24 Thread Michael Grzeschik
The commit <52edc17f94f7bd4d9> ("bugfixes and new hardware support for arcnet driver") adds fixes for the packet length calculations in arc-rawmode. As the capmode protocol is derived from the arc-rawmode code, the capmode also needs the fixes. rx(): - Fixed error in received packet lengths; 256 b

[PATCH 14/21] ARCNET: arc-rawmode: reorder module functions

2015-04-24 Thread Michael Grzeschik
This patch moves the module_init and module_exit patches to the end of the file. It also replaces the printk with pr_info. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/arc-rawmode.c | 87 ++-- 1 file changed, 38 insertions(+), 49 deletions(-) diff

[PATCH 00/21] ARCNET: Defibrillation

2015-04-24 Thread Michael Grzeschik
Hi! This patch series tries to reanimate the ARCNET hardware layer to be somehow readable and maintainable again. It includes a lot of cleanup patches. It also adds some fixes which leads the layer to become usable again. And as a special treatment it adds more features like correct loading and un

[PATCH 16/21] ARCNET: capmode: move dev_free_skb to its only user

2015-04-24 Thread Michael Grzeschik
The call for dev_free_skb is done only once. This patch moves its call to its only user and removes the obsolete condition variable. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/arcnet.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/net/arcnet/

[PATCH 21/21] ARCNET: com20020-pci: add rotary index support

2015-04-24 Thread Michael Grzeschik
The EAE PLX-PCI card has a special rotary encoder to configure the address of every card individually. We take this information for the initial setup of the cards dev_id. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com20020-pci.c | 28 include/linux/com20

[PATCH 10/21] ARCNET: com20020: fix ioaddr prefixes

2015-04-24 Thread Michael Grzeschik
This patch removes the use of the variable ioaddr in the macros and uses it directly in the calling functions. This improves the readability of the code and changes the macros to be used as offsets. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com20020-isa.c | 2 +- drivers/net/arcne

[PATCH 15/21] ARCNET: capmode: remove extra function and use C99 in struct

2015-04-24 Thread Michael Grzeschik
This patch cleans the capmode protocol module. It removes the obsolete function arcnet_cap_init and uses the C99 struct definition. It also replaces printk with pr_info. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/capmode.c | 28 +++- 1 file changed, 11 insert

[PATCH 01/21] com20020-pci: add dev_port for udev handling

2015-04-24 Thread Michael Grzeschik
This patch sets the dev_port according to the index of the card. This can be used by udev to name the ports in userspace. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/com20020-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/arcnet/com20020-pci.c b/drivers/net/ar

[PATCH 02/21] ARCNET: fix hard_header_len limit

2015-04-24 Thread Michael Grzeschik
The commit <9c7077622dd9> ("packet: make packet_snd fail on len smaller than l2 header") adds the check for minimum packet length of the used l2. For arcnet the hardware header length is not the complete archdr which includes hard + soft header. This patch changes the length to sizeof(arc_hardware)

[PATCH] gitignore: Add MIPS vmlinux.32 to the list

2015-04-24 Thread Florian Fainelli
MIPS64 kernels builds will produce a vmlinux.32 kernel image for compatibility, ignore them. Signed-off-by: Florian Fainelli --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index acb6afe6b7a3..6c7ca7a2d52e 100644 --- a/.gitignore +++ b/.gitignore @@ -43

[PATCH 04/21] ARCNET: whitespace, tab and codingstyle fixes

2015-04-24 Thread Michael Grzeschik
This patch removes trailing whitespaces in the whole the ARCNET layer. It also replaces the use of space with tabs and changes fixes the codingstyle on those lines. Signed-off-by: Michael Grzeschik --- drivers/net/arcnet/arc-rawmode.c | 4 +- drivers/net/arcnet/arc-rimi.c | 2 +- driver

[PATCH 19/21] ARCNET: com20020: add enable and disable device on open/close

2015-04-24 Thread Michael Grzeschik
This patch changes the driver to properly work with the linux netif interface. The controller gets enabled on open and disabled on close. Therefor it removes every bogus start of the xceiver. It only gets enabled on com20020_open and disabled on com20020_close. Signed-off-by: Michael Grzeschik --

Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-24 Thread Brian Gerst
On Fri, Apr 24, 2015 at 12:25 PM, Linus Torvalds wrote: > On Fri, Apr 24, 2015 at 5:00 AM, Brian Gerst wrote: >> >> So actually this isn't a preemption issue, as the NULL SS is coming >> from an interrupt from userspace (timer tick, etc.). > > It *is* a preemption issue, in the sense that the int

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Chris Ward
No, with the patch the device isn't recognised at boot time. Chris -- ResearchGate: https://www.researchgate.net/profile/Thomas_Ward16 Portfolio: http://tjcw.freeshell.org/Portfolio/ Disclaimer: I work for IBM, but I do not represent IBM. Any opinions expressed in this email are personal and don

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-24 Thread Toshi Kani
On Fri, 2015-04-24 at 09:25 -0700, Dan Williams wrote: > On Fri, Apr 24, 2015 at 8:56 AM, Toshi Kani wrote: > > On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: > >> Most configuration of the nd-subsystem is done via nd-sysfs. However, > >> the NFIT specification defines a small set of mess

Re: [PATCH 1/4] devicetree: add binding documentation for the AR7100 SPI controller

2015-04-24 Thread Sergei Shtylyov
Hello. On 04/24/2015 05:19 PM, Alban Bedel wrote: Signed-off-by: Alban Bedel --- .../devicetree/bindings/spi/spi-ath79.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-ath79.txt diff --git a/Document

Re: [PATCH] net: mdio-gpio: support access that may sleep

2015-04-24 Thread Florian Fainelli
On 24/04/15 10:25, Sergei Shtylyov wrote: > On 04/24/2015 06:56 PM, Florian Fainelli wrote: > Some systems using mdio-gpio may use gpio on message based busses, which require sleeping (e.g. gpio from an I2C I/O expander). > Since this driver does not use IRQ handler, it is saf

Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-24 Thread Linus Torvalds
On Fri, Apr 24, 2015 at 10:33 AM, Brian Gerst wrote: > > To clarify, I was thinking of the CONFIG_PREEMPT case. A nested > interrupt wouldn't change SS, and IST interrupts can't schedule. It has absolutely nothing to do with nested interrupts or CONFIG_PREEMPT. The problem happens simply becaus

Re: [LKP] [fanotify] 66ba93c0d7f: i6300esb: Unexpected close, not stopping watchdog!

2015-04-24 Thread Andrew Morton
On Thu, 23 Apr 2015 14:25:38 +0800 Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit 66ba93c0d7fe63def447ad0afe380307ff9ebcad ("fanotify: don't set > FAN_ONDIR implicitly on a marks ignored mask") > > W

Re: [PATCH] net: mdio-gpio: support access that may sleep

2015-04-24 Thread Sergei Shtylyov
On 04/24/2015 08:36 PM, Florian Fainelli wrote: Some systems using mdio-gpio may use gpio on message based busses, which require sleeping (e.g. gpio from an I2C I/O expander). Since this driver does not use IRQ handler, it is safe to use the _cansleep suffixed gpio accessors. Signed-off-by

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-24 Thread Dan Williams
On Fri, Apr 24, 2015 at 10:18 AM, Toshi Kani wrote: > On Fri, 2015-04-24 at 09:25 -0700, Dan Williams wrote: >> On Fri, Apr 24, 2015 at 8:56 AM, Toshi Kani wrote: >> > On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: >> >> Most configuration of the nd-subsystem is done via nd-sysfs. Howeve

Re: Broadcom 43340 module on iMX6DL

2015-04-24 Thread John Tobias
Hi Arend, I am not pretty sure if the brcm43340 driver for android is the latest one. May I know repo?. Regards, John On Fri, Apr 24, 2015 at 1:20 AM, Arend van Spriel wrote: > On 04/24/15 03:04, John Tobias wrote: >> >> Btw, where I could get a copy of the latest driver?. > > > The open-sour

Re: [PATCH] perf-bench/futex: Fix hung wakeup tasks after requeueing

2015-04-24 Thread David Ahern
On 4/24/15 11:00 AM, Davidlohr Bueso wrote: This bug, while perhaps suggesting missing wakeups in kernel futex code, is merely a consequence of the crappy FUTEX_CMP_REQUEUE man page, incorrectly mentioning that the number of requeued tasks is in fact returned, not the wakeups. This patch acknowle

Re: Issues with capability bits and meta-data in kdbus

2015-04-24 Thread Linus Torvalds
On Fri, Apr 24, 2015 at 7:32 AM, Olaf Hering wrote: > On Wed, Apr 22, Linus Torvalds wrote: > >> Conditional byte order is worse than silly - it's terminally stupid. > >> In other words, think networking, which statically just decided to use >> big-endian. Sure, that was the wrong choice in the en

Re: [RFC] capabilities: Ambient capabilities

2015-04-24 Thread Serge Hallyn
Quoting Christoph Lameter (c...@linux.com): > On Thu, 9 Apr 2015, Christoph Lameter wrote: > > > > I'll submit a new version this week with the securebits. Sorry for the > > > delay. > > Are we going to get a new version? > > Replying to my own here. Cant we simply use the SETPCAP approach as

[PATCH v3] locking/rwsem: reduce spinlock contention in wakeup after up_read/up_write

2015-04-24 Thread Waiman Long
In up_write()/up_read(), rwsem_wake() will be called whenever it detects that some writers/readers are waiting. The rwsem_wake() function will take the wait_lock and call __rwsem_do_wake() to do the real wakeup. For a heavily contended rwsem, doing a spin_lock() on wait_lock will cause further con

Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-24 Thread Brian Gerst
On Fri, Apr 24, 2015 at 1:41 PM, Linus Torvalds wrote: > On Fri, Apr 24, 2015 at 10:33 AM, Brian Gerst wrote: >> >> To clarify, I was thinking of the CONFIG_PREEMPT case. A nested >> interrupt wouldn't change SS, and IST interrupts can't schedule. > > It has absolutely nothing to do with nested

Re: [PATCH] perf-bench/futex: Fix hung wakeup tasks after requeueing

2015-04-24 Thread Davidlohr Bueso
On Fri, 2015-04-24 at 11:50 -0600, David Ahern wrote: > On 4/24/15 11:00 AM, Davidlohr Bueso wrote: > > This bug, while perhaps suggesting missing wakeups in kernel futex > > code, is merely a consequence of the crappy FUTEX_CMP_REQUEUE man > > page, incorrectly mentioning that the number of requeu

Re: [PATCH 0/4] spi: spi-ath79: Devicetree support and misc fixes

2015-04-24 Thread Mark Brown
On Fri, Apr 24, 2015 at 04:19:20PM +0200, Alban Bedel wrote: > Hello all, > > this serie add a DT support for the ATH79 SPI controller and fix a few > trivial bugs. While adding DT support we also remove the unused custom > controller data in favor of the generic GPIO based chip select. Applied,

Re: Issues with capability bits and meta-data in kdbus

2015-04-24 Thread Linus Torvalds
On Fri, Apr 24, 2015 at 10:52 AM, Linus Torvalds wrote: > > So even today, by all means make your protocols or disk images use > big-endian byte formats. But do it unconditionally. Don't make the > mistake of encoding the byte order as part of the data, and then > dynamically switching things (or

Re: [PATCH V4 1/4] i2c: busses: add SLIMpro I2C device driver on APM X-Gene platform

2015-04-24 Thread Feng Kan
Sorry, please disregard this series. Made a mistake here, will fix and resend. On Fri, Apr 24, 2015 at 10:11 AM, Feng Kan wrote: > Add SLIMpro I2C device driver on APM X-Gene platform. This I2C > device driver use the SLIMpro Mailbox driver to tunnel message to > the SLIMpro coprocessor to do the

Re: Broadcom 43340 module on iMX6DL

2015-04-24 Thread Arend van Spriel
On 04/24/15 19:49, John Tobias wrote: Hi Arend, I am not pretty sure if the brcm43340 driver for android is the latest one. May I know repo?. Not sure what you are asking. I gave the url. Did you try using the brcmfmac4334-sdio.bin firmware file. I would like to know if that one works for y

Re: [PATCH] spi: fsl-espi: fix behaviour for full-duplex xfers

2015-04-24 Thread Mark Brown
On Thu, Apr 23, 2015 at 03:06:22PM -0300, Jonatas Rech wrote: > I agree, but please note that this came up while I was trying to fix the > full-duplex functionality, and it's a different problem. Fixing this would > impact protocol drivers, as stated earlier. It would take some time for me to > st

Re: Broadcom 43340 module on iMX6DL

2015-04-24 Thread John Tobias
Hi Arend, Apologize for the confusion. I am asking the repo for the device driver for 43340. Looking at the link you sent, it's more userspace support and didn't see the device driver there... Regards, John On Fri, Apr 24, 2015 at 11:14 AM, Arend van Spriel wrote: > On 04/24/15 19:49, John To

[PATCH 1/2] package: Makefile: ensure $MAKE can use jobserver

2015-04-24 Thread Chris J Arges
When using make deb-pkg, builddeb is called without proper MAKEFLAGS due to the script being invoked without '+'. This results in the following message when building: warning: jobserver unavailable: using -j1. Add `+' to parent make rule Add the '+' so the make operations can be parallelized. Sig

[PATCH 2/2] builddeb: parallelize debug module installation

2015-04-24 Thread Chris J Arges
When building the dbg package, we use a large 'for module in $(find' loop that can be easily parallelized by using 'find | xargs'. This patch modifies this loop to use the later paradigm. Signed-off-by: Chris J Arges --- scripts/package/builddeb | 15 --- 1 file changed, 8 insertions

[PATCH 0/2] make deb-pkg build speed improvements

2015-04-24 Thread Chris J Arges
These two patches should speed up the make deb-pkg build process by utilizing the make jobserver properly, and using 'find | xargs' to parallelize debug module installation. I've tested with the resulting packages to ensure the symbols work as intended by crash dumping a machine and using the dbg

Re: [PATCH v2] ASoC: Add support for NAU8825 codec to ASoC

2015-04-24 Thread Mark Brown
On Thu, Apr 16, 2015 at 05:56:26PM +0800, Chih-Chiang Chang wrote: > +static const struct snd_kcontrol_new nau8825_hpo_mix[] = { > + > + SOC_DAPM_SINGLE("HP L Switch", NAU8825_HSVOL_CTRL, > + NAU8825_L_MUTE_SFT, 1, 1), > + SOC_DAPM_SINGLE("HP R Switch", NAU8825_HSVOL_CTRL, > + NAU8

Re: Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-04-24 Thread Peter Zijlstra
On Thu, Apr 23, 2015 at 02:53:27PM +0800, pang.xun...@zte.com.cn wrote: > But for yield() or RR scheduling when running out of time slice, > I think this would be still inappropriate, am I missing something? Those two have explicit hooks you can use to do the right queueing with. Look at yield_

Re: [PATCH v2 WIP 1/2] parport: add device-model to parport subsystem

2015-04-24 Thread One Thousand Gnomes
On Fri, 24 Apr 2015 13:08:25 +0530 Sudip Mukherjee wrote: > On Fri, Apr 24, 2015 at 09:26:08AM +0200, Greg KH wrote: > > On Fri, Apr 24, 2015 at 12:20:26PM +0530, Sudip Mukherjee wrote: > > > > What does ddev stand for? Anyway, it's probably better to call it > > > > bus_dev? > > > ok. > > > I t

Re: Thunderbolt hotplug not working on MacMini7,1

2015-04-24 Thread Adam Goode
On Fri, Apr 24, 2015 at 7:46 AM, Andreas Noever wrote: > On Fri, Apr 24, 2015 at 6:50 AM, Adam Goode wrote: >> On Thu, Apr 23, 2015 at 1:15 PM, Adam Goode wrote: >>> On Thu, Apr 23, 2015 at 12:12 PM, Andreas Noever >>> wrote: On Thu, Apr 23, 2015 at 5:10 PM, Adam Goode wrote: > On Thu

Re: Interacting with coherent memory on external devices

2015-04-24 Thread Oded Gabbay
On 04/23/2015 07:22 PM, Jerome Glisse wrote: On Thu, Apr 23, 2015 at 09:20:55AM -0500, Christoph Lameter wrote: On Thu, 23 Apr 2015, Benjamin Herrenschmidt wrote: There are hooks in glibc where you can replace the memory management of the apps if you want that. We don't control the app. Le

Re: [RFC] capabilities: Ambient capabilities

2015-04-24 Thread Andy Lutomirski
On Fri, Apr 24, 2015 at 10:53 AM, Serge Hallyn wrote: > Quoting Christoph Lameter (c...@linux.com): >> On Thu, 9 Apr 2015, Christoph Lameter wrote: >> >> > > I'll submit a new version this week with the securebits. Sorry for the >> > > delay. >> > Are we going to get a new version? >> >> Replyi

Re: [PATCH 00/21] ARCNET: Defibrillation

2015-04-24 Thread Joe Perches
On Fri, 2015-04-24 at 19:20 +0200, Michael Grzeschik wrote: > Hi! Hello. > This patch series tries to reanimate the ARCNET hardware layer to be > somehow readable and maintainable again. It includes a lot of cleanup > patches. It also adds some fixes which leads the layer to become usable > again

[PATCH] staging: slicoss: Break string into two lines.

2015-04-24 Thread Navya Sri Nizamkari
This patch fixes the checkpatch.pl warning about line over 80 characters. Signed-off-by: Navya Sri Nizamkari --- drivers/staging/slicoss/slicoss.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 45

bf609: undefined Kconfig option FB_BF609_NL8048

2015-04-24 Thread Valentin Rothberg
Hi Scott, your commit b3df664b85c7 ("bf609: add resources for lcd nl8048") is in today's Linux next tree and adds the following #ifdef block: +#if defined(CONFIG_FB_BF609_NL8048) \ + || defined(CONFIG_FB_BF609_NL8048_MODULE) [...] At the current state, the ifdef guarded code cannot be comp

Re: [PATCH] MAINTAINERS: Add co-maintainer for LED subsystem

2015-04-24 Thread Bryan Wu
On Thu, Apr 16, 2015 at 10:09 AM, Bryan Wu wrote: > On Thu, Apr 9, 2015 at 10:30 AM, Bryan Wu wrote: >> On Thu, Apr 9, 2015 at 1:01 AM, Jacek Anaszewski >> wrote: >>> This patch adds myself (Jacek Anaszewski) as a co-maintainer for >>> LED subsystem. >>> >> >> Jacek will start to help maintain L

<    1   2   3   4   5   6   7   8   9   >