Re: [PATCH v2 14/15] clk: sunxi-ng: Add H3 clocks

2016-06-28 Thread Maxime Ripard
On Mon, Jun 27, 2016 at 05:53:37PM -0700, Michael Turquette wrote: > > > The nice thing about struct ccu_common is that you don't have to walk > > > the list of clocks for each separate clock type like the above probe > > > function does. I'm still thinking of the best way to solve this > > > gener

Re: linux-next: Tree for Jun 27 (pinctrl && !CONFIG_OF)

2016-06-28 Thread Arnd Bergmann
On Tuesday, June 28, 2016 9:00:47 AM CEST Alexander Stein wrote: > On Monday 27 June 2016 23:36:29, Arnd Bergmann wrote: > > On Monday, June 27, 2016 11:15:25 AM CEST Randy Dunlap wrote: > > > On 06/26/16 23:39, Stephen Rothwell wrote: > > > > Hi all, > > > > > > > Changes since 20160624: > > > on

Re: [PATCH] crypto: ux500: do not build with -O0

2016-06-28 Thread Herbert Xu
On Mon, Jun 27, 2016 at 11:17:40AM +0200, Arnd Bergmann wrote: > The ARM allmodconfig build currently warngs because of the > ux500 crypto driver not working well with the jump label > implementation that we started using for dynamic debug, which > breaks building with 'gcc -O0': > > In file inclu

Re: [PATCH 1/2] crypto: tcrypt: Fix mixing printk/pr_err and obvious indentation issues

2016-06-28 Thread Herbert Xu
On Tue, Jun 28, 2016 at 09:23:06AM +0200, Krzysztof Kozlowski wrote: > The recently added test_mb_ahash_speed() has clearly serious coding > style issues. Try to fix some of them: > 1. Don't mix pr_err() and printk(); > 2. Don't wrap strings; > 3. Properly align goto statement in if() block; > 4. A

Re: [PATCH 0/6] crypto: SHA512 multibuffer implementation

2016-06-28 Thread Herbert Xu
On Mon, Jun 27, 2016 at 10:20:03AM -0700, Megha Dey wrote: > From: Megha Dey > > In this patch series, we introduce the multi-buffer crypto algorithm on > x86_64 and apply it to SHA512 hash computation. The multi-buffer technique > takes advantage of the 8 data lanes in the AVX2 registers and al

Re: [PATCH 2/8] ceph: don't use ->d_time

2016-06-28 Thread Yan, Zheng
> On Jun 28, 2016, at 16:09, Miklos Szeredi wrote: > > On Thu, Jun 23, 2016 at 8:21 AM, Yan, Zheng wrote: >> >>> On Jun 22, 2016, at 22:35, Miklos Szeredi wrote: >>> >>> Pretty simple: just use ceph_dentry_info.time instead (which was already >>> there, unused). >>> >>> Signed-off-by: Miklo

Re: [PATCH] ARM: oxnas: Change OX810SE default driver config

2016-06-28 Thread Neil Armstrong
On 06/15/2016 12:45 PM, Neil Armstrong wrote: > Since the SP804 timer changes will not been merged upstream, switch the > default OX810SE config to the OXNAS RPS Timer driver configuration. > > Signed-off-by: Neil Armstrong > --- > arch/arm/mach-oxnas/Kconfig | 2 +- > 1 file changed, 1 insertio

Re: [PATCH 2/2] crypto: tcrypt: Fix linkage error on ARM on division of s64

2016-06-28 Thread Herbert Xu
On Tue, Jun 28, 2016 at 09:23:07AM +0200, Krzysztof Kozlowski wrote: > gcc 4.7.3 for ARM on Ubuntu couldn't link tcrypt module because of > division of s64: > ERROR: "__aeabi_ldivmod" [crypto/tcrypt.ko] undefined! > > Fixes: 087bcd225c56 ("crypto: tcrypt - Add speed tests for SHA multibuffer

Re: [PATCH] KVM: vmx: fix underflow in TSC deadline calculation

2016-06-28 Thread Paolo Bonzini
On 28/06/2016 08:15, Wanpeng Li wrote: > 2016-06-27 21:11 GMT+08:00 Paolo Bonzini : >> If the TSC deadline timer is programmed really close to the deadline or >> even in the past, the computation in vmx_set_hv_timer can underflow and >> cause delta_tsc to be set to a huge value. This generally r

Re: [PATCH 1/5] mmu: mark spte present if the x bit is set

2016-06-28 Thread Paolo Bonzini
On 28/06/2016 06:32, Bandan Das wrote: > This is safe because is_shadow_present_pte() is called > on host controlled page table and we know the spte is > valid > > Signed-off-by: Bandan Das > --- > arch/x86/kvm/mmu.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/a

Re: [RFC] block: fix blk_queue_split() resource exhaustion

2016-06-28 Thread Lars Ellenberg
On Sat, Jun 25, 2016 at 05:30:29PM +0800, Ming Lei wrote: > On Fri, Jun 24, 2016 at 10:27 PM, Lars Ellenberg > wrote: > > On Fri, Jun 24, 2016 at 07:36:57PM +0800, Ming Lei wrote: > >> > > >> > This is not a theoretical problem. > >> > At least int DRBD, and an unfortunately high IO concurrency wr

[PATCH 0/3] add support for Allwinner SoCs ADC

2016-06-28 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. The first four channels can be used either for the ADC or the touchscreen and the fifth channel is used for the thermal sensor. We currently have a driver for the two latter functions in drivers/i

Re: [PATCH] KVM: vmx: fix underflow in TSC deadline calculation

2016-06-28 Thread Wanpeng Li
2016-06-28 16:43 GMT+08:00 Paolo Bonzini : > > > On 28/06/2016 08:15, Wanpeng Li wrote: >> 2016-06-27 21:11 GMT+08:00 Paolo Bonzini : >>> If the TSC deadline timer is programmed really close to the deadline or >>> even in the past, the computation in vmx_set_hv_timer can underflow and >>> cause del

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-28 Thread Stephen Boyd
Quoting Roger Quadros (2016-06-27 23:36:26) > On 27/06/16 22:30, Stephen Boyd wrote: > > > > The VBUS notification is done through another piece of hardware. In this > > case it's done by the charger module. I've sent a patch for that[1]. > > Isn't it better if ID event is handled as well in that

Re: [PATCH 20/21] phy: Add support for Qualcomm's USB HSIC phy

2016-06-28 Thread Neil Armstrong
On 06/26/2016 09:28 AM, Stephen Boyd wrote: > The HSIC USB controller on qcom SoCs has an integrated all > digital phy controlled via the ULPI viewport. > > Cc: Kishon Vijay Abraham I > Cc: > Signed-off-by: Stephen Boyd > --- > .../devicetree/bindings/phy/qcom,usb-hsic-phy.txt | 60

Re: [PATCH 2/2] crypto: tcrypt: Fix linkage error on ARM on division of s64

2016-06-28 Thread Krzysztof Kozlowski
On 06/28/2016 10:41 AM, Herbert Xu wrote: > On Tue, Jun 28, 2016 at 09:23:07AM +0200, Krzysztof Kozlowski wrote: >> gcc 4.7.3 for ARM on Ubuntu couldn't link tcrypt module because of >> division of s64: >> ERROR: "__aeabi_ldivmod" [crypto/tcrypt.ko] undefined! >> >> Fixes: 087bcd225c56 ("crypt

Re: [PATCH v5 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-06-28 Thread Andy Shevchenko
On Tue, Jun 28, 2016 at 10:56 AM, Tan Jui Nee wrote: > This driver uses the P2SB hide/unhide mechanism cooperatively > to pass the PCI BAR address to the gpio platform driver. > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -369,8 +369,9 @@ config MFD_INTEL_QUARK_I2C_GPIO > > config

Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ?

2016-06-28 Thread Segher Boessenkool
On Tue, Jun 28, 2016 at 08:06:56AM +0100, David Binderman wrote: > I think you can also get a similar warning if you tweek the gcc compiler > warning > flags. -Wformat=2 maybe. -Wformat=1 (which is enabled by -Wall) already warns for this. warning: format '%x' expects argument of type 'unsigned

Re: [PATCH 1/3] mfd: add support for Allwinner SoCs ADC

2016-06-28 Thread Antoine Tenart
Hello, On Tue, Jun 28, 2016 at 10:18:15AM +0200, Quentin Schulz wrote: > diff --git a/drivers/mfd/sunxi-gpadc-mfd.c b/drivers/mfd/sunxi-gpadc-mfd.c > new file mode 100644 > index 000..710e297 > --- /dev/null > +++ b/drivers/mfd/sunxi-gpadc-mfd.c > @@ -0,0 +1,188 @@ [...] > + if (of_devic

Re: [RFC PATCH 3/4] CHROMIUM: drm: bridge: Generic GPIO mux driver

2016-06-28 Thread Archit Taneja
On 06/27/2016 01:18 PM, Nicolas Boichat wrote: This driver supports single input, 2 output display mux (e.g. HDMI mux), that provides its status via a GPIO. This might not work if we had a 2 or more bridges connected one after the other at the output ports. It would be nicer if the interrupt

Re: [PATCH v4 02/29] rxrpc: Avoid using stack memory in SG lists in rxkad

2016-06-28 Thread David Howells
Herbert Xu wrote: > > I assume you're assuming that the rxrpc_skb_priv struct contents can > > arbitrarily replaced temporarily... > > Of course you can, it's per-skb state. I'm using the per-skb state for my own purposes and might be looking at it elsewhere at the same time. David

Re: [PATCH v3 18/19] sh: IO-DATA HDL-U (a,k.a landisk) support

2016-06-28 Thread John Paul Adrian Glaubitz
On 06/28/2016 08:36 AM, Yoshinori Sato wrote: > Signed-off-by: Yoshinori Sato In case you want to use the subject of this mail for the commit message, there is a typo: It should be "a.k.a.", not "a,k.a". Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org

Re: [PATCH v5] tools/perf: Fix the mask in regs_dump__printf and print_sample_iregs

2016-06-28 Thread Jiri Olsa
On Thu, Jun 23, 2016 at 11:19:27AM +0530, Madhavan Srinivasan wrote: SNIP > > Changelog v1: > 1)updated commit message and patch subject > 2)Add the fix to print_sample_iregs() in builtin-script.c > > tools/include/linux/bitmap.h | 2 ++ > tools/lib/bitmap.c | 18 ++

Re: [PATCH v5 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-06-28 Thread kbuild test robot
-Primary-to-Sideband-bridge-support-driver-for-Intel-SOC-s/20160628-160704 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: x86_64-randconfig-s5-06281627 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached

Re: [PATCH 4/7] reset: Supply *_shared variant calls when using *_optional APIs

2016-06-28 Thread Lee Jones
Philipp, I need this to go into the -rcs too. Can I add it with your Ack please? > Consumers need to be able to specify whether they are requesting an > 'exclusive' or 'shared' reset line no matter which API (of_*, devm_*, > etc) they are using. This change allows users of the optional_* API >

Re: [PATCH 3/5] mmu: don't set the present bit unconditionally

2016-06-28 Thread Paolo Bonzini
On 28/06/2016 06:32, Bandan Das wrote: > + bool execonly = !(context->guest_rsvd_check.bad_mt_xwr & > + (1ull << VMX_EPT_EXECUTABLE_MASK)); > > if (set_mmio_spte(vcpu, sptep, gfn, pfn, pte_access)) > return 0; > > - spte = PT_PRESENT_MASK; > +

Re: [RFC][PATCH 8/8] rtmutex: Fix PI chain order integrity

2016-06-28 Thread Juri Lelli
On 27/06/16 14:23, Peter Zijlstra wrote: > On Wed, Jun 15, 2016 at 08:25:07AM +0100, Juri Lelli wrote: > > I guess it's not that likely, but yes it could potentially happen that a > > waiter is optimistically spinning, depletes its runtime, gets throttled > > and then replenished when still spinnin

Re: [PATCH v4 02/29] rxrpc: Avoid using stack memory in SG lists in rxkad

2016-06-28 Thread David Howells
Herbert Xu wrote: > Huh? If you can't write to csum_iv_head without clobbering others > then by the same reasoning you can't write to csum_iv either. So > unless you're saying the existing code is already broken then there > is nothing wrong with the patch. Ah, for some reason I read it as bein

[PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if invoked from disable_nonboot_cpus

2016-06-28 Thread Chen Yu
Stress test from Varun Koyyalagunta reports that, the nonboot CPU would hang occasionally, when resuming from hibernation. Further investigation shows that, the precise stage when nonboot CPU hangs, is the time when the nonboot CPU been woken up incorrectly, and tries to monitor the mwait_ptr for t

Re: [PATCH 1/2] net: ethernet: dnet: use phydev from struct net_device

2016-06-28 Thread David Miller
From: Philippe Reynes Date: Thu, 23 Jun 2016 23:48:58 +0200 > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phydev in the private structure, and update the driver to use the > one contained in struct

Re: [PATCH 2/2] net: ethernet: dnet: use phy_ethtool_{get|set}_link_ksettings

2016-06-28 Thread David Miller
From: Philippe Reynes Date: Thu, 23 Jun 2016 23:48:59 +0200 > There are two generics functions phy_ethtool_{get|set}_link_ksettings, > so we can use them instead of defining the same code in the driver. > > Signed-off-by: Philippe Reynes Applied.

Re: [Cluster-devel] [PATCH 2/2] GFS2: Add a gfs2-specific prune_icache_sb

2016-06-28 Thread Steven Whitehouse
Hi, On 28/06/16 03:08, Dave Chinner wrote: On Fri, Jun 24, 2016 at 02:50:11PM -0500, Bob Peterson wrote: This patch adds a new prune_icache_sb function for the VFS slab shrinker to call. Trying to directly free the inodes from memory might deadlock because it evicts inodes, which calls into DLM

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-28 Thread Roger Quadros
On 28/06/16 11:47, Stephen Boyd wrote: > Quoting Roger Quadros (2016-06-27 23:36:26) >> On 27/06/16 22:30, Stephen Boyd wrote: >>> >>> The VBUS notification is done through another piece of hardware. In this >>> case it's done by the charger module. I've sent a patch for that[1]. >> >> Isn't it bet

Re: [PATCH v5 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-06-28 Thread Lee Jones
On Tue, 28 Jun 2016, Andy Shevchenko wrote: > On Tue, Jun 28, 2016 at 10:56 AM, Tan Jui Nee wrote: > > This driver uses the P2SB hide/unhide mechanism cooperatively > > to pass the PCI BAR address to the gpio platform driver. > > > --- a/drivers/mfd/Kconfig > > +++ b/drivers/mfd/Kconfig > > @@ -

Re: [PATCH 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-06-28 Thread Joseph Lo
On 06/27/2016 11:55 PM, Stephen Warren wrote: On 06/27/2016 03:02 AM, Joseph Lo wrote: Add DT binding for the Hardware Synchronization Primitives (HSP). The HSP is designed for the processors to share resources and communicate together. It provides a set of hardware synchronization primitives fo

Re: [PATCH 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-06-28 Thread Joseph Lo
On 06/28/2016 12:08 AM, Stephen Warren wrote: On 06/27/2016 03:02 AM, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management tasks from the CPU. The binding document defines the resources that would be u

Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver

2016-06-28 Thread Dongpo Li
On 2016/6/15 5:20, Arnd Bergmann wrote: > On Tuesday, June 14, 2016 9:17:44 PM CEST Li Dongpo wrote: >> On 2016/6/13 17:06, Arnd Bergmann wrote: >>> On Monday, June 13, 2016 2:07:56 PM CEST Dongpo Li wrote: >>> You tx function uses BQL to optimize the queue length, and that >>> is great. You also

[PATCH v4 1/6] mfd: tps65218: Remove redundant read wrapper

2016-06-28 Thread Keerthy
Currently read directly calls the repmap read function. Hence remove the redundant wrapper and use regmap read wherever needed. Acked-by: Lee Jones Signed-off-by: Keerthy --- Changes in v4: * Added Lee Jones's Ack. Changes in v3: * Cleaned up tps65218-pwrbutton and gpio drivers to remov

[PATCH v4 3/6] input: tps65218-pwrbutton: Add platform_device_id table

2016-06-28 Thread Keerthy
platform_device_id table is needed for adding the tps65218-pwrbutton module to the mfd_cell array. Signed-off-by: Keerthy --- Changes in v4: * Added the missing ';' for struct platform_device_id. drivers/input/misc/tps65218-pwrbutton.c | 7 +++ 1 file changed, 7 insertions(+) diff --gi

[PATCH v4 6/6] regulator: tps65218: Remove all the compatibles

2016-06-28 Thread Keerthy
Remove all the individual compatibles for all the regulators and introduce id_table and update the driver accordingly to parse device tree nodes using the regulator framework. Acked-by: Mark Brown Signed-off-by: Keerthy --- drivers/regulator/tps65218-regulator.c | 131 +++---

[PATCH v4 5/6] mfd: tps65218: Use mfd_add_devices instead of of_platform_populate

2016-06-28 Thread Keerthy
mfd_add_devices enables parsing device tree nodes without compatibles for regulators and gpio modules. Replace of_platform_populate with mfd_add_devices. mfd_cell currently is populated with regulators, gpio and powerbutton. Signed-off-by: Keerthy --- Changes in v4: * Regrouped the mfd cells

[PATCH v4 2/6] Documentation: regulator: tps65218: Update examples

2016-06-28 Thread Keerthy
This updates the Device Tree according to the preferred way of parsing the nodes using the regulator framework. Acked-by: Rob Herring Signed-off-by: Keerthy --- Changes in v4: * Formatted and corrected typos in few lines. * Used relative path names for the file names. .../devicetree/bind

[PATCH v4 0/6] mfd: tps65218: Clean ups

2016-06-28 Thread Keerthy
The series cleans up mainly the regulator driver and implements the device tree parsing using the regulator framework. Removes all the redundant compatibles for the individual regulators. Adds platform_device_id table for the gpio and power button modules. One of the patch removes redundant read w

[PATCH] ARM: uniphier: remove empty DT machine descriptor

2016-06-28 Thread Masahiro Yamada
Since the initial support of mach-uniphier, this has always been just empty. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Makefile | 1 - arch/arm/mach-uniphier/uniphier.c | 30 -- 2 files changed, 31 deletions(-) delete mode 100644 arch/arm/mach-uni

[RESEND PATCH v3] mtd: spi-nor: Add support for S3AN spi-nor devices

2016-06-28 Thread Ricardo Ribalda Delgado
Xilinx Spartan-3AN FPGAs contain an In-System Flash where they keep their configuration data and (optionally) some user data. The protocol of this flash follows most of the spi-nor standard. With the following differences: - Page size might not be a power of two. - The address calculation (defaul

[PATCH v4 4/6] gpio: tps65218-gpio: Add platform_device_id table

2016-06-28 Thread Keerthy
platform_device_id table is needed for adding the tps65218-gpio module to the mfd_cell array. Signed-off-by: Keerthy --- Changes in v4: * Retained the compatible strings in order to interrogate the DT in the normal way. drivers/gpio/gpio-tps65218.c | 7 +++ 1 file changed, 7 inserti

Re: [PATCH v3 1/2] clk: fixed-factor: Convert into a module platform driver

2016-06-28 Thread Ricardo Ribalda Delgado
Ping? On Tue, Jun 21, 2016 at 11:01 AM, Ricardo Ribalda Delgado wrote: > Adds support for fixed-factor clock providers which have not been > enabled via of_clk_init(). > > This is required by Device trees overlays that introduce clocks > providers. > > Signed-off-by: Ricardo Ribalda Delgado > --

Re: [PATCH] caif: Remove unneeded header file

2016-06-28 Thread David Miller
From: Amitoj Kaur Chawla Date: Fri, 24 Jun 2016 11:53:54 +0530 > Drop redundant include of moduleparam.h > > The Coccinelle semantic patch used to make this change is as follows: > @ includesmodule @ > @@ > > #include > > @ depends on includesmodule @ > @@ > > - #include > > Signed-off-by:

[PATCH 1/1] usb: dwc3: st: Inform the reset framework that our reset line may be shared

2016-06-28 Thread Lee Jones
On the STiH410 B2120 development board the MiPHY28lp shares its reset line with the Synopsys DWC3 SuperSpeed (SS) USB 3.0 Dual-Role-Device (DRD). New functionality in the reset subsystems forces consumers to be explicit when requesting shared/exclusive reset lines. Signed-off-by: Lee Jones --- F

Re: [PATCH v2 5/5] regulator: tps65218: do not disable DCDC3 during poweroff on broken PMICs

2016-06-28 Thread Keerthy
On Monday 27 June 2016 10:29 PM, Mark Brown wrote: On Fri, Jun 24, 2016 at 01:58:11PM +0530, Keerthy wrote: From: Tero Kristo Some versions of tps65218 do not seem to support poweroff modes properly if DCDC3 regulator is shut-down. Thus, keep it enabled even during poweroff if the version in

[PATCH] phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode"

2016-06-28 Thread Kishon Vijay Abraham I
commit 96284c53246f ("phy: Add set_mode callback") introduced enum phy_mode in phy_core. This introduced the following build error. drivers/phy/phy-xgene.c:521:6: error: nested redefinition of 'enum phy_mode' enum phy_mode { ^ drivers/phy/phy-xgene.c:521:6: error: redeclaration of 'enum phy

RE: [PATCH 7/9] mtd: m25p80: add support of dual and quad spi protocols to all commands

2016-06-28 Thread Krzeminski, Marcin (Nokia - PL/Wroclaw)
Hello, > -Original Message- > From: Cyrille Pitchen [mailto:cyrille.pitc...@atmel.com] > Sent: Monday, June 27, 2016 2:38 PM > To: Michal Suchanek > Cc: Brian Norris ; MTD Maling List m...@lists.infradead.org>; Marek Vašut ; Boris Brezillon > ; nicolas.fe...@atmel.com; Linux > Kernel Mai

Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver

2016-06-28 Thread Arnd Bergmann
On Tuesday, June 28, 2016 5:21:19 PM CEST Dongpo Li wrote: > On 2016/6/15 5:20, Arnd Bergmann wrote: > > On Tuesday, June 14, 2016 9:17:44 PM CEST Li Dongpo wrote: > >> On 2016/6/13 17:06, Arnd Bergmann wrote: > >>> On Monday, June 13, 2016 2:07:56 PM CEST Dongpo Li wrote: > >>> You tx function use

Re: [PATCH v12 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-06-28 Thread David Miller
From: Dexuan Cui Date: Fri, 24 Jun 2016 07:45:24 + > + while ((ret = vmalloc(size)) == NULL) > + ssleep(1); This is completely, and entirely, unacceptable. If the allocation fails, you return an error and release your resources. You don't just loop forever waiting for it to

Re: [PATCH V5 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-28 Thread David Miller
From: Date: Fri, 24 Jun 2016 02:13:23 -0700 > From: Tien Hock Loh > > This adds support for TSE PCS that uses SGMII adapter when the phy-mode of > the dwmac is set to sgmii. > > Signed-off-by: Tien Hock Loh > Acked-by: Giuseppe Cavallaro > Acked-by: Rob Herring Applied to net-next, thanks.

Re: [PATCH] ARM: oxnas: Change OX810SE default driver config

2016-06-28 Thread Baruch Siach
Hi Neil, On Tue, Jun 28, 2016 at 10:40:20AM +0200, Neil Armstrong wrote: > On 06/15/2016 12:45 PM, Neil Armstrong wrote: > > Since the SP804 timer changes will not been merged upstream, switch the > > default OX810SE config to the OXNAS RPS Timer driver configuration. > > > > Signed-off-by: Neil

[PATCH] ARM: sti: Implement dummy L2 cache's write_sec

2016-06-28 Thread patrice.chotard
From: Patrice Chotard This patch implements the write_sec callback that handle PL310 secure registers writes. This callback is just a stub for now, to avoid system crash. Later, it could handle SMC calls so that TZ handles the needed writes. Signed-off-by: Patrice Chotard --- arch/arm/mach-sti

Re: [PATCH v4 02/29] rxrpc: Avoid using stack memory in SG lists in rxkad

2016-06-28 Thread Herbert Xu
On Tue, Jun 28, 2016 at 09:54:23AM +0100, David Howells wrote: > > I'm using the per-skb state for my own purposes and might be looking at it > elsewhere at the same time. AFAICS this cannot happen for secure_packet/verify_packet. In both cases we have exclusive ownership of the skb. But it's y

Re: [PATCH 04/21] usb: chipidea: Only read/write OTGSC from one place

2016-06-28 Thread Peter Chen
On Mon, Jun 27, 2016 at 12:07:54PM -0700, Stephen Boyd wrote: > Quoting Jun Li (2016-06-27 01:04:39) > > > diff --git a/drivers/usb/chipidea/otg.c b/drivers/usb/chipidea/otg.c index > > > 03b6743461d1..763a8332b009 100644 > > > --- a/drivers/usb/chipidea/otg.c > > > +++ b/drivers/usb/chipidea/otg.c

Re: [PATCH] of_mdio: select fixed phy support unconditionally

2016-06-28 Thread David Miller
From: Arnd Bergmann Date: Fri, 24 Jun 2016 11:24:08 +0200 > Calling the fixed-phy functions when CONFIG_FIXED_PHY=m as a previous > change tried cannot work if the caller is in built-in code: > > drivers/of/built-in.o: In function `of_phy_register_fixed_link': > of_reserved_mem.c:(.text+0x85e0):

Re: [PATCH v4 02/29] rxrpc: Avoid using stack memory in SG lists in rxkad

2016-06-28 Thread Herbert Xu
On Tue, Jun 28, 2016 at 10:07:44AM +0100, David Howells wrote: > > Since it's (more or less) a one off piece of memory, why not kmalloc it > temporarily rather than expanding the connection struct? Also, the bit where > you put a second rxrpc_crypt in just so that it happens to give you a 16-byte

Re: [PATCH] of_mdio: select fixed phy support unconditionally

2016-06-28 Thread Arnd Bergmann
On Tuesday, June 28, 2016 5:43:42 AM CEST David Miller wrote: > Applied to net-next, thanks Arnd. > > In the future, please be explicit about what tree a patch is > targetting by specifying it in your Subject line, as: > > [PATCH net-next] ... > Sure, will do. Arnd

Re: [PATCH 1/3] kernel/sched: introduce vcpu preempted check interface

2016-06-28 Thread xinhui
On 2016年06月28日 15:00, Heiko Carstens wrote: On Mon, Jun 27, 2016 at 04:00:43PM +0200, Peter Zijlstra wrote: On Mon, Jun 27, 2016 at 01:41:28PM -0400, Pan Xinhui wrote: +++ b/include/linux/sched.h @@ -3293,6 +3293,15 @@ static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)

[PATCH for 4.8] vfs: new d_init method

2016-06-28 Thread Miklos Szeredi
Allow filesystem to initialize dentry at allocation time. Signed-off-by: Miklos Szeredi --- Documentation/filesystems/Locking | 2 ++ Documentation/filesystems/vfs.txt | 3 +++ fs/dcache.c | 11 +++ include/linux/dcache.h| 1 + 4 files changed, 17 ins

Re: [PATCH V5 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-28 Thread David Miller
From: David Miller Date: Tue, 28 Jun 2016 05:34:50 -0400 (EDT) > From: > Date: Fri, 24 Jun 2016 02:13:23 -0700 > >> From: Tien Hock Loh >> >> This adds support for TSE PCS that uses SGMII adapter when the phy-mode of >> the dwmac is set to sgmii. >> >> Signed-off-by: Tien Hock Loh >> Acked-

[RFC PATCH] mmc: host: add a new cap to force set power control

2016-06-28 Thread Beata Baranowska
From: Chuanxiao Dong Even with a regulator, some host controller still needs to set the power control register to make sure the inter logical is working Signed-off-by: Chuanxiao Dong --- drivers/mmc/host/sdhci-acpi.c | 5 - drivers/mmc/host/sdhci.c | 10 ++ include/linux/mmc/

Re: [PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address

2016-06-28 Thread David Miller
From: Daniel Danzberger Date: Fri, 24 Jun 2016 12:35:18 +0200 > The bridge is falsly dropping ipv6 mulitcast packets if there is: > 1. No ipv6 address assigned on the brigde. > 2. No external mld querier present. > 3. The internal querier enabled. > > When the bridge fails to build mld querie

Re: [PATCH] ARM: sti: Implement dummy L2 cache's write_sec

2016-06-28 Thread Russell King - ARM Linux
On Tue, Jun 28, 2016 at 11:40:37AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch implements the write_sec callback that handle PL310 > secure registers writes. > This callback is just a stub for now, to avoid system crash. > Later, it could handle SMC calls so that T

Re: [RESEND PATCH v2 0/4] Add support i2s/spdif/gmac features for RK322x SoCs

2016-06-28 Thread Xing Zheng
Thanks Heiko. :-) On 2016年06月28日 03:43, Heiko Stuebner wrote: Am Mittwoch, 22. Juni 2016, 11:16:49 schrieb Xing Zheng: Hi, We have the brother chipset product that RK3228 and RK3229, They have many common configuration, but there are a number of different features. In order to develop the fu

crypto: tcrypt - Fix memory leaks/crashes in multibuffer hash speed test

2016-06-28 Thread Herbert Xu
This patch resolves a number of issues with the mb speed test function: * The tfm is never freed. * Memory is allocated even when we're not using mb. * When an error occurs we don't wait for completion for other requests. * When an error occurs during allocation we may leak memory. * The test func

Re: [RFC v2 2/3] dma-buf/fence-array: add fence_array_teardown()

2016-06-28 Thread Christian König
Am 27.06.2016 um 21:29 schrieb Gustavo Padovan: From: Gustavo Padovan As the array of fence callbacks held by an active struct fence_array each has a reference to the struct fence_array, when the owner of the fence_array is freed it must dispose of the callback references before it can free the

Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ?

2016-06-28 Thread Benjamin Herrenschmidt
On Tue, 2016-06-28 at 08:06 +0100, David Binderman wrote: > > I don't know the code, but given that insn is unsigned long and so > can go > past 32 bits, using a cast to unsigned int might throw away the > possibly important > upper bits. our instructions are only ever 32-bits. That xmon code is

RE: [PATCH] media: s5p-mfc fix memory leak in s5p_mfc_remove()

2016-06-28 Thread Kamil Debski
HI Shuah, Which branch do you base your patches on? I have trouble applying this path (https://patchwork.linuxtv.org/patch/34577/) and "s5p-mfc fix null pointer deference in clk_core_enable()" (https://patchwork.linuxtv.org/patch/34751/) onto current linuxtv/master. The top commit of linuxtv/m

Re: [PATCH V5 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-28 Thread Tien Hock Loh
My fault, I wasn't testing against building as module, was always building as part of the kernel. I'll get it fixed and put another patch for review. Thanks Tien Hock On Tue, 2016-06-28 at 05:48 -0400, David Miller wrote: > From: David Miller > Date: Tue, 28 Jun 2016 05:34:50 -0400 (EDT) > > >

Re: [PATCH v4 02/29] rxrpc: Avoid using stack memory in SG lists in rxkad

2016-06-28 Thread David Howells
Herbert Xu wrote: > > I'm using the per-skb state for my own purposes and might be looking at it > > elsewhere at the same time. > > AFAICS this cannot happen for secure_packet/verify_packet. In both > cases we have exclusive ownership of the skb. In code I'm busy working on the patch I'm decr

Re: [PATCH 2/4] ftrace/x86: Do not crash when reading wrong ftrace func

2016-06-28 Thread Petr Mladek
On Mon 2016-06-27 10:48:58, Steven Rostedt wrote: > On Mon, 27 Jun 2016 15:54:35 +0200 > Petr Mladek wrote: > > > Ftrace modifies the code on many locations. It is paranoid > > and avoid a kernel crash using probe_kernel_read() and > > probe_kernel_write(). The only exception is update_ftrace_fun

Re: [PATCH 05/21] usb: chipidea: Handle extcon events properly

2016-06-28 Thread Peter Chen
On Sun, Jun 26, 2016 at 12:28:22AM -0700, Stephen Boyd wrote: > We're currently emulating the vbus and id interrupts in the OTGSC > read API, but we also need to make sure that if we're handling > the events with extcon that we don't enable the interrupts for > those events in the hardware. Therefo

Re: [PATCH v4] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-06-28 Thread Yongji Xie
Hi, Alex On 2016/6/25 0:43, Alex Williamson wrote: On Fri, 24 Jun 2016 23:37:02 +0800 Yongji Xie wrote: Hi, Alex On 2016/6/24 11:37, Alex Williamson wrote: On Fri, 24 Jun 2016 10:52:58 +0800 Yongji Xie wrote: On 2016/6/24 0:12, Alex Williamson wrote: On Mon, 30 May 2016 21:06:37 +0800

[PATCH 29/32] ver_linux: wrap up call to 'iwconfig --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'iwconfig --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux i

[PATCH 01/32] ver_linux: complete awk implementation

2016-06-28 Thread Alexander Kapshuk
The algorithm that extracts the version number of the utility being queried, and prints the name of the utility and its version number is currently implemented in awk. The code is used throughout the script, making its use repetative. The proposed implementation confines the algorithm in question t

Re: [PATCH v2 00/13] sched: Clean-ups and asymmetric cpu capacity support

2016-06-28 Thread Koan-Sin Tan
Hi, I tested these patches with patches from your preview branch [1] and some platform specific patches on MediaTek MT8173 EVB (integrated branch at [2]) > Test 0: > for i in `seq 1 10`; \ > do sysbench --test=cpu --max-time=3 --num-threads=1 run; \ > done \ >

[PATCH 26/32] ver_linux: wrap up call to 'oprofiled --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'oprofiled --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux inde

[PATCH 18/32] ver_linux: wrap up call to 'isdnctrl' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'isdnctrl', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 76e7e5f..

[PATCH 22/32] ver_linux: wrap up querying for version of 'Linux C++ Library' in awk functions

2016-06-28 Thread Alexander Kapshuk
Wrap up querying for version of 'Linux C++ Library', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/scripts/ver_li

[PATCH 28/32] ver_linux: wrap up call to 'udevadm --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'udevadm --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux in

[PATCH 24/32] ver_linux: wrap up call to 'ifconfig --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'ifconfig --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux i

Re: [PATCH 1/1] ipmi: remove trydefaults parameter and default init

2016-06-28 Thread Tony Camuso
On 06/27/2016 09:34 PM, Corey Minyard wrote: Queued for 2.18, if that is ok. Thanks, -corey Yes, as long as there's enough time to shake it out before it's merged with Linus. I've done some testing on a couple archs, and I'll do more on some others as the opportunity arises. Regards, Tony

[PATCH 21/32] ver_linux: wrap up call to 'ldd --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'ldd --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index d

[PATCH 17/32] ver_linux: wrap up call to 'pppd --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'pppd --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index

[PATCH 19/32] ver_linux: wrap up call to 'showmount --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'showmount --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux inde

[PATCH 25/32] ver_linux: wrap up call to 'loadkeys -V' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'loadkeys -V', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index

[PATCH 23/32] ver_linux: wrap up call to 'ps --version' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'ps --version', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 61

[PATCH 09/32] ver_linux: wrap up call to 'tune2fs' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'tune2fs', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index c85ed5

[PATCH 06/32] ver_linux: wrap up call to 'ld -v' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'ld -v', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 3042291.

[PATCH 12/32] ver_linux: wrap up call to 'fsck.reiser4 -V' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'fsck.reiser4 -V', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 5f

[PATCH 13/32] ver_linux: wrap up call to 'xfs_db -V' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'xfs_db -V', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 2637

[PATCH 11/32] ver_linux: wrap up call to 'reiserfsck -V' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'reiserfsck -V', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index

[PATCH 20/32] ver_linux: wrap up querying for version of 'Linux C Library' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up querying for version of 'Linux C Library', and the resulting formatted output in an awk function. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index bb51c

[PATCH 14/32] ver_linux: wrap up call to 'pccardctl -V' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'pccardctl -V', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index a

[PATCH 15/32] ver_linux: wrap up call to 'cardmgr -V' in awk function

2016-06-28 Thread Alexander Kapshuk
Wrap up the call to 'cardmgr -V', the code to process its output, and the resulting formatted output in awk functions. Signed-off-by: Alexander Kapshuk --- scripts/ver_linux | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index b2145a9

<    1   2   3   4   5   6   7   8   9   10   >