Re: [PATCH v4 00/16] ARM: shmobile: Add CPG/MSTP Clock Domain

2015-08-04 Thread Geert Uytterhoeven
Hi Simon, On Wed, Aug 5, 2015 at 2:55 AM, Simon Horman wrote: > On Tue, Aug 04, 2015 at 10:48:28PM +0900, Simon Horman wrote: >> I have tentatively queued this up in its own branch, >> cpg-mstp-clock-domain-for-v4.3. > > Where possible I prefer not to apply non-DTS/DTSI patches on top of > DTS/DT

[PATCH -next] alpha: lib: Export __delay

2015-08-04 Thread Guenter Roeck
__delay is exported by most architectures, and may be used in modules. Since it is not exported for alpha, alpha builds currently fail to build in -next with ERROR: "__delay" [drivers/net/phy/mdio-octeon.ko] undefined! if the offending driver is configured. Fixes: a6d678645210 ("net: mdio-octeon

[PATCH] usb/gadget/function/u_ether.c: Allow jumbo frames

2015-08-04 Thread Mike Looijmans
USB network adapters support Jumbo frames. The only thing blocking that feature is the code in the gadget driver that disposes of packets larger than 1518 bytes, and the limit on the ioctl to set the mtu. This patch relaxes these limits, and allows up to 15k frames sizes. The 15k value was chosen

Re: powerpc: Add an inline function to update HID0

2015-08-04 Thread Gautham R Shenoy
Hi Segher, Thanks for the suggestions. I will rename the function to update_power8_hid0() and use asm volatile. On Tue, Aug 04, 2015 at 09:30:57PM -0500, Segher Boessenkool wrote: > On Tue, Aug 04, 2015 at 08:08:58PM +1000, Michael Ellerman wrote: > > > +static inline void update_hid0(unsigned l

Re: [PATCH v6 5/9] clk: mediatek: Fix rate and dependency of MT8173 clocks

2015-08-04 Thread Sascha Hauer
On Tue, Aug 04, 2015 at 04:16:54PM +0800, James Liao wrote: > Remove the dependency from clk_null, and give all root clocks a > typical rate, include clkph_mck_o, usb_syspll_125m and hdmitx_dig_cts. > > dpi_ck was removed due to no clock reference to it. > > Replace parent clock of infra_cpum wit

[PATCH 09/13] tools: hv: add a python script lsvmbus to list VMBus devices

2015-08-04 Thread K. Y. Srinivasan
From: Dexuan Cui By default lsvmbus lists all the devices in the VMBus. With -v or -vv, more information is printed, including the VMBus Rel_ID, class ID, device ID and which channel is bound to which virtual processor, etc. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- tools/

Re: [LLVMdev] Cc llvmdev: Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-04 Thread Wangnan (F)
On 2015/8/5 10:05, Wangnan (F) wrote: Send again since llvmdev is moved to llvm-...@lists.llvm.org On 2015/8/5 9:58, Wangnan (F) wrote: On 2015/8/4 3:44, Alexei Starovoitov wrote: On 7/31/15 3:18 AM, Wangnan (F) wrote: [SNIP] didn't have time to look at it. from your llvm patches loo

linux-next: build failure after merge of the crypto tree

2015-08-04 Thread Stephen Rothwell
Hi Herbert, After merging the crypto tree, today's linux-next build (sparc64 defconfig) failed like this: crypto/built-in.o: In function `crypto_authenc_exit_tfm': authenc.c:(.text+0x11d1c): undefined reference to `crypto_put_default_null_skcipher' crypto/built-in.o: In function `crypto_authenc_

Re: [PATCH v6 7/9] clk: mediatek: Add subsystem clocks of MT8173

2015-08-04 Thread Sascha Hauer
On Tue, Aug 04, 2015 at 04:16:56PM +0800, James Liao wrote: > Most multimedia subsystem clocks will be accessed by multiple > drivers, so it's a better way to manage these clocks in CCF. > This patch adds clock support for MM, IMG, VDEC, VENC and VENC_LT > subsystems. > > Signed-off-by: James Liao

[PATCH 1/1] serial: 8250_pci: fix mode after S3/S4 resume for F81504/508/512

2015-08-04 Thread Peter Hung
Fix RS232/485 mode incorrect setting after S3/S4 resume for F81504/508/512 We had add RS232/485 RTS control with fecf27a373f5. But when it resume from S3/S4, the mode register 0x40 + 0x08 * idx + 7 will rewrite to 0x01 (RS232 mode). This patch will modify 2 sections. One is pci_fintek_init(), if

Re: [PATCH v2 0/4] Add SPDIF support for rockchip

2015-08-04 Thread Sjoerd Simons
On Tue, 2015-08-04 at 16:36 +0100, Mark Brown wrote: > On Tue, Aug 04, 2015 at 01:18:15PM +0200, Sjoerd Simons wrote: > > > Sjoerd Simons (4): > > ASoC: dt-bindings: add rockchip tranceiver bindings > > ASoc: rockchip: Add rockchip SPDIF transceiver driver > > I only appear to have patch 2 (w

[PATCH -next] s390: lib: Export __delay

2015-08-04 Thread Guenter Roeck
__delay is exported by most architectures, and may be used in modules. Since it is not exported for s390, s390:allmodconfig currently fails to build with ERROR: "__delay" [drivers/net/phy/mdio-octeon.ko] undefined! Fixes: a6d678645210 ("net: mdio-octeon: Modify driver to work on both Thun

Re: [PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-08-04 Thread Vaibhav Hiremath
On Monday 27 July 2015 07:39 PM, Matt Porter wrote: On Tue, Jul 21, 2015 at 06:11:02PM +0530, Vaibhav Hiremath wrote: Driver will now supports enable/disable across msg xfer, which user can control it by new DT property - i2c-disable-after-xfer : If set, driver will disable I2C module after m

Re: [PATCH net V2] virtio-net: drop NETIF_F_FRAGLIST

2015-08-04 Thread Michael S. Tsirkin
On Wed, Aug 05, 2015 at 10:34:04AM +0800, Jason Wang wrote: > virtio declares support for NETIF_F_FRAGLIST, but assumes > that there are at most MAX_SKB_FRAGS + 2 fragments which isn't > always true with a fraglist. > > A longer fraglist in the skb will make the call to skb_to_sgvec overflow > the

Re: [PATCH V4 (was V6)] audit: macros to replace unset inode and device values

2015-08-04 Thread Richard Guy Briggs
On 15/08/04, Paul Moore wrote: > On Saturday, August 01, 2015 03:42:22 PM Richard Guy Briggs wrote: > > This is a patch to clean up a number of places were casted magic numbers are > > used to represent unset inode and device numbers inpreparation for the > > audit by executable path patch set. > >

Re: [PATCH] Input: drivers/joystick: use parallel port device model

2015-08-04 Thread Sudip Mukherjee
On Tue, Aug 04, 2015 at 11:41:28AM -0700, Dmitry Torokhov wrote: > On Mon, Aug 03, 2015 at 08:32:20PM +0530, Sudip Mukherjee wrote: > > On Fri, Jul 31, 2015 at 01:43:06PM -0700, Dmitry Torokhov wrote: > > > > > > > > Converting to the "new" api is the end goal here, no need to keep the > > > > old

[PATCH 05/13] Drivers: hv_vmbus: Fix signal to host condition

2015-08-04 Thread K. Y. Srinivasan
From: Christopher Oo Fixes a bug where previously hv_ringbuffer_read would pass in the old number of bytes available to read instead of the expected old read index when calculating when to signal to the host that the ringbuffer is empty. Since the previous write size is already saved, also change

[PATCH 07/13] Drivers: hv: vmbus: Implement a clocksource based on the TSC page

2015-08-04 Thread K. Y. Srinivasan
The current Hyper-V clock source is based on the per-partition reference counter and this counter is being accessed via s synthetic MSR - HV_X64_MSR_TIME_REF_COUNT. Hyper-V has a more efficient way of computing the per-partition reference counter value that does not involve reading a synthetic MSR

[PATCH 01/13] drivers:hv: Modify hv_vmbus to search for all MMIO ranges available.

2015-08-04 Thread K. Y. Srinivasan
From: Jake Oshins This patch changes the logic in hv_vmbus to record all of the ranges in the VM's firmware (BIOS or UEFI) that offer regions of memory-mapped I/O space for use by paravirtual front-end drivers. The old logic just found one range above 4GB and called it good. This logic will fin

Re: [PATCH V4 (was V6)] audit: use macros for unset inode and device values

2015-08-04 Thread Richard Guy Briggs
On 15/08/04, Paul Moore wrote: > On Saturday, August 01, 2015 03:42:23 PM Richard Guy Briggs wrote: > > Signed-off-by: Richard Guy Briggs > > --- > > include/uapi/linux/audit.h |2 ++ > > kernel/audit.c |2 +- > > kernel/audit_watch.c |8 > > kernel/auditsc.

[PATCH 03/13] Drivers: hv: vmbus: Improve the CPU affiliation for channels

2015-08-04 Thread K. Y. Srinivasan
The current code tracks the assigned CPUs within a NUMA node in the context of the primary channel. So, if we have a VM with a single NUMA node with 8 VCPUs, we may end up unevenly distributing the channel load. Fix the issue by tracking affiliations globally. Signed-off-by: K. Y. Srinivasan --

[PATCH 04/13] Drivers: hv: vmbus: Further improve CPU affiliation logic

2015-08-04 Thread K. Y. Srinivasan
From: Dexuan Cui Keep track of CPU affiliations of sub-channels within the scope of the primary channel. This will allow us to better distribute the load amongst available CPUs. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 20 ++--

Re: [PATCH-v5 4/5] Documentation: binding: add sclk adjustment properties to i2c-pxa

2015-08-04 Thread Vaibhav Hiremath
On Monday 27 July 2015 07:41 PM, Matt Porter wrote: On Tue, Jul 21, 2015 at 06:11:05PM +0530, Vaibhav Hiremath wrote: With addition of PXA910 family of devices, the TWSI module supports new feature which allows us to adjust SCLK. i2c-pxa driver takes input configuration in nsec and converts it

RE: [PATCH 00/13] Drivers: hv: vmbus: Miscellaneous fixes

2015-08-04 Thread KY Srinivasan
> -Original Message- > From: K. Y. Srinivasan [mailto:k...@microsoft.com] > Sent: Wednesday, August 5, 2015 12:52 AM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; jasow...@redhat.c

[PATCH 08/13] Drivers: hv: vmbus: add a sysfs attr to show the binding of channel/VP

2015-08-04 Thread K. Y. Srinivasan
From: Dexuan Cui This is useful to analyze performance issue. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/vmbus_drv.c | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv

[PATCH 02/13] drivers:hv: Move MMIO range picking from hyper_fb to hv_vmbus

2015-08-04 Thread K. Y. Srinivasan
From: Jake Oshins This patch deletes the logic from hyperv_fb which picked a range of MMIO space for the frame buffer and adds new logic to hv_vmbus which picks ranges for child drivers. The new logic isn't quite the same as the old, as it considers more possible ranges. Signed-off-by: Jake Osh

[PATCH 06/13] drivers/hv: Migrate to new 'set-state' interface

2015-08-04 Thread K. Y. Srinivasan
From: Viresh Kumar Migrate hv driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: "K. Y. Srinivasan" Cc

[PATCH 11/13] cpu-hotplug: convert cpu_hotplug_disabled to a counter

2015-08-04 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov As a prerequisite to exporting cpu_hotplug_enable/cpu_hotplug_disable functions to modules we need to convert cpu_hotplug_disabled to a counter to properly support disable -> disable -> enable call sequences. E.g. after Hyper-V vmbus module (which is supposed to be the firs

[PATCH 13/13] Drivers: hv: vmbus: use cpu_hotplug_enable/disable

2015-08-04 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Commit e513229b4c38 ("Drivers: hv: vmbus: prevent cpu offlining on newer hypervisors") was altering smp_ops.cpu_disable to prevent CPU offlining. We can bo better by using cpu_hotplug_enable/disable functions instead of such hard-coding. Reported-by: Radim Kr.má Signed-o

[PATCH 00/13] Drivers: hv: vmbus: Miscellaneous fixes

2015-08-04 Thread K. Y. Srinivasan
Miscellaneous fixes/improvements. The patches that were sent over the last couple of months have been consolidated in this submission. All review comments have been addressed. Christopher Oo (1): Drivers: hv_vmbus: Fix signal to host condition Dexuan Cui (4): Drivers: hv: vmbus: Further impro

[PATCH 10/13] Drivers: hv: vmbus: document the VMBus sysfs files

2015-08-04 Thread K. Y. Srinivasan
From: Dexuan Cui The 4 sysfs files should be stable ABIs to the user space. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- Documentation/ABI/stable/sysfs-bus-vmbus | 29 + MAINTAINERS |1 + 2 files changed, 30 inser

[PATCH 12/13] cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable

2015-08-04 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Hyper-V module needs to disable cpu hotplug (offlining) as there is no support from hypervisor side to reassign already opened event channels to a different CPU. Currently it is been done by altering smp_ops.cpu_disable but it is hackish. Signed-off-by: Vitaly Kuznetsov R

[PATCH] staging: wilc1000: wilc_cfgoperations.c: Fixed coding styles issues.

2015-08-04 Thread Daniel Machon
Fixed coding styles issues with braces. Signed-off-by: Daniel Machon --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperation

Re: [PATCH v2 1/2] drivers: watchdog: add a driver to support SAMA5D4 watchdog timer

2015-08-04 Thread Guenter Roeck
On 08/04/2015 07:35 PM, Wenyou Yang wrote: From SAMA5D4, the watchdog timer is upgrated with a new feature, which is describled as in the datasheet, "WDT_MR can be written until a LOCKMR command is issued in WDT_CR". That is to say, as long as the bootstrap and u-boot don't issue a LOCKMR comman

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-04 Thread Ming Lin
On Tue, 2015-08-04 at 13:36 +0200, Christoph Hellwig wrote: > On Sun, Aug 02, 2015 at 10:58:22PM -0700, Ming Lin wrote: > > I think the important thing is the late splitting for regular bio. > > For discard/write_same bio, how about just don't do late splitting? > > I'd hate having to special case

RE: [PATCH 11/28] drivers:hv: Modify hv_vmbus to search for all MMIO ranges available.

2015-08-04 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, August 4, 2015 10:29 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; Jake O

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-04 Thread Michal Suchanek
On 5 August 2015 at 07:35, Vignesh R wrote: > > > On 08/05/2015 10:51 AM, Michal Suchanek wrote: >> Hello, >> >> On 4 August 2015 at 19:59, R, Vignesh wrote: >>> >>> >>> On 8/4/2015 9:21 PM, Mark Brown wrote: On Mon, Aug 03, 2015 at 10:27:19AM +0530, Vignesh R wrote: >>> >>> TI QSPI co

[PATCH v3 net-next 1/2] RDS-TCP: Make RDS-TCP work correctly when it is set up in a netns other than init_net

2015-08-04 Thread Sowmini Varadhan
Open the sockets calling sock_create_kern() with the correct struct net pointer, and use that struct net pointer when verifying the address passed to rds_bind(). Signed-off-by: Sowmini Varadhan --- v2: David Ahern comments. net/rds/bind.c|3 ++- net/rds/connection.c | 16

[PATCH v3 net-next 0/2] RDS-TCP: Network namespace support

2015-08-04 Thread Sowmini Varadhan
This patch series contains the set of changes to correctly set up the infra for PF_RDS sockets that use TCP as the transport in multiple network namespaces. Patch 1 in the series is the minimal set of changes to allow a single instance of RDS-TCP to run in any (i.e init_net or other) net namespac

[PATCH v3 net-next 2/2] RDS-TCP: Support multiple RDS-TCP listen endpoints, one per netns.

2015-08-04 Thread Sowmini Varadhan
Register pernet subsys init/stop functions that will set up and tear down per-net RDS-TCP listen endpoints. Unregister pernet subusys functions on 'modprobe -r' to clean up these end points. Enable keepalive on both accept and connect socket endpoints. The keepalive timer expiration will ensure th

Re: [patch 1/2] dma: ipu: Prepare irq handlers for irq argument removal

2015-08-04 Thread Vinod Koul
On Sat, Aug 01, 2015 at 07:06:58AM +, Thomas Gleixner wrote: > The irq argument of most interrupt flow handlers is unused or merily > used instead of a local variable. The handlers which need the irq > argument can retrieve the irq number from the irq descriptor. > > Search and update was

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-04 Thread Vignesh R
On 08/05/2015 10:51 AM, Michal Suchanek wrote: > Hello, > > On 4 August 2015 at 19:59, R, Vignesh wrote: >> >> >> On 8/4/2015 9:21 PM, Mark Brown wrote: >>> On Mon, Aug 03, 2015 at 10:27:19AM +0530, Vignesh R wrote: >>> @use_mmap_mode: Some SPI controller chips are optimized for interactin

Re: [PATCH 1/1] wilc1000: wilc_wfi_cfgoperations.c: fixed brace coding style issues

2015-08-04 Thread Sudip Mukherjee
On Wed, Aug 05, 2015 at 12:08:16AM +0200, Daniel Machon wrote: > Fixed brace coding styles issues > > Signed-off-by: Daniel Machon > --- > drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 11 +-- > 1 file changed, 5 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/wilc1

Re: [PATCH 11/28] drivers:hv: Modify hv_vmbus to search for all MMIO ranges available.

2015-08-04 Thread Greg KH
On Sat, Aug 01, 2015 at 04:08:15PM -0700, K. Y. Srinivasan wrote: > From: ja...@microsoft.com That's not his name :( I've stopped here, please fix up and resend the rest of the series. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 0/2] dmaengine: Add scatter-gathered memset support

2015-08-04 Thread Vinod Koul
On Mon, Jul 06, 2015 at 12:19:22PM +0200, Maxime Ripard wrote: > Hi Vinod, > > Here is a patch serie that adds a new dmaengine operation for > scatter-gathered memset. > > Indeed, doing a memset over a discontiguous buffer is quite > inefficient at the moment, since you have to create and submit

Re: [PATCHv5 2/5] Staging: most: mostcore/core.c. Fix "Using plain integer as NULL pointer" warnings

2015-08-04 Thread Sudip Mukherjee
On Tue, Aug 04, 2015 at 08:44:52PM +0200, Adrian Remonda wrote: > This patch fixes the warning generated by sparse: "Using plain integer > as NULL pointer" by replacing the offending 0 with NULL. > > Signed-off-by: Adrian Remonda > --- > drivers/staging/most/mostcore/core.c | 2 +- > 1 file chan

Re: [PATCH v2 2/2] dmaengine: hdmac: Add memset capabilities

2015-08-04 Thread Vinod Koul
On Mon, Jul 20, 2015 at 10:42:58AM +0200, Maxime Ripard wrote: > Just like for the XDMAC, the SoCs that embed the HDMAC don't have any kind > of GPU, and need to accelerate a few framebuffer-related operations through > their DMA controller. > > However, unlike the XDMAC, the HDMAC doesn't have th

Re: [PATCHv5 1/5] Staging: most: mostcore/core.c. Fix "missing static keyword" warnings

2015-08-04 Thread Sudip Mukherjee
On Tue, Aug 04, 2015 at 08:44:51PM +0200, Adrian Remonda wrote: > This is a patch to the mostcore/core.c file. It makes > several local functions and structures static to prevent global > visibility. > > Signed-off-by: Adrian Remonda > --- > @@ -1255,7 +1255,7 @@ static void arm_mbo(struct mbo *

Re: [PATCH v2 1/2] dmaengine: Add an enum for the dmaengine alignment constraints

2015-08-04 Thread Vinod Koul
On Mon, Jul 20, 2015 at 10:41:32AM +0200, Maxime Ripard wrote: > Most drivers need to set constraints on the buffer alignment for async tx > operations. However, even though it is documented, some drivers either use > a defined constant that is not matching what the alignment variable expects > (li

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-04 Thread Michal Suchanek
Hello, On 4 August 2015 at 19:59, R, Vignesh wrote: > > > On 8/4/2015 9:21 PM, Mark Brown wrote: >> On Mon, Aug 03, 2015 at 10:27:19AM +0530, Vignesh R wrote: >> >>> @use_mmap_mode: Some SPI controller chips are optimized for interacting >>> with serial flash memories. These chips have memory map

RE: [LINUX RFC 1/2] mtd: spi-nor: add dual parallel mode support

2015-08-04 Thread Ranjit Abhimanyu Waghmode
Hi Mark, > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Monday, August 03, 2015 9:38 PM > To: Ranjit Abhimanyu Waghmode > Cc: dw...@infradead.org; computersforpe...@gmail.com; Michal Simek; > Soren Brinkmann; zaj...@gmail.com; b...@decadent.org.uk; ma...@denx.d

Re: [tip:x86/platform] x86/uv/time: Migrate to new set-state interface

2015-08-04 Thread Viresh Kumar
On 04-08-15, 10:25, Nathan Zimmer wrote: > diff --git a/MAINTAINERS b/MAINTAINERS > index 907ce01..9c2beb3 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -10885,6 +10885,15 @@ W: http://en.wikipedia.org/wiki/Util-linux > T: git git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git

Gift

2015-08-04 Thread Mrs Maria-Elisabeth Schaeffler
I intend to give to you a portion of my Wealth as a free-will financial donation to you. Respond now to partake. Regards Maria-Elisabeth Schaeffler Email:charityinquiri...@qq.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

Re: [PATCH] intel_pstate: append more Oracle OEM table id to vendor bypass list

2015-08-04 Thread Viresh Kumar
On 05-08-15, 09:28, Ethan Zhao wrote: > Append more Oracle X86 servers that have their own power management, > > SUN FIRE X4275 M3 > SUN FIRE X4170 M3 > and > SUN FIRE X6-2 > > Signed-off-by: Ethan Zhao > --- > drivers/cpufreq/intel_pstate.c | 4 > 1 file changed, 4 insertions(+) > > diff

Re: Armadaxp GPIO interrupts

2015-08-04 Thread raghu MG
Hi Andrew, Thanks for your quick response,dont mind for the delay(India,US timings). I checked with both multi_v7_defconfig & mvebu_v7_defconfig , the result is same "irq: Cannot allocate irq_descs @ IRQ47, assuming pre-allocated" Pasting here the GPIO driver probe debug statements armada-xp-pin

[PATCHv2 net-next 3/9] ipv6: Export nf_ct_frag6_gather()

2015-08-04 Thread Joe Stringer
Signed-off-by: Joe Stringer Acked-by: Thomas Graf --- net/ipv6/netfilter/nf_conntrack_reasm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/netfilter/nf_conntrack_reasm.c b/net/ipv6/netfilter/nf_conntrack_reasm.c index 6d02498..701cd2b 100644 --- a/net/ipv6/netfilter/nf_conntrack

[PATCHv2 net-next 8/9] openvswitch: Allow matching on conntrack label

2015-08-04 Thread Joe Stringer
Allow matching and setting the conntrack label field. As with ct_mark, this is populated by executing the ct() action, and is a writable field. The set_field() action may be used to modify the label, which will take effect on the most recent conntrack entry. E.g.: actions:ct(zone=1),set_field(1->c

[PATCHv2 net-next 1/9] openvswitch: Serialize acts with original netlink len

2015-08-04 Thread Joe Stringer
Previously, we used the kernel-internal netlink actions length to calculate the size of messages to serialize back to userspace. However,the sw_flow_actions may not be formatted exactly the same as the actions on the wire, so store the original actions length when de-serializing and re-use the orig

[PATCHv2 net-next 9/9] openvswitch: Allow attaching helpers to ct action

2015-08-04 Thread Joe Stringer
Add support for using conntrack helpers to assist protocol detection. The new OVS_CT_ATTR_HELPER attribute of the ct action specifies a helper to be used for this connection. Example ODP flows allowing FTP connections from ports 1->2: in_port=1,tcp,action=ct(helper=ftp,commit),2 in_port=2,tcp,ct_s

[PATCHv2 net-next 5/9] openvswitch: Add conntrack action

2015-08-04 Thread Joe Stringer
Expose the kernel connection tracker via OVS. Userspace components can make use of the "ct()" action, followed by "recirculate", to populate the conntracking state in the OVS flow key, and subsequently match on that state. Example ODP flows allowing traffic from 1->2, only replies from 2->1: in_po

[PATCHv2 net-next 7/9] netfilter: Always export nf_connlabels_replace()

2015-08-04 Thread Joe Stringer
The following patches will reuse this code from OVS. Signed-off-by: Joe Stringer --- net/netfilter/nf_conntrack_labels.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/netfilter/nf_conntrack_labels.c b/net/netfilter/nf_conntrack_labels.c index 06e71a0..3ce5c31 100644 --- a/net/netfilt

[PATCHv2 net-next 6/9] openvswitch: Allow matching on conntrack mark

2015-08-04 Thread Joe Stringer
From: Justin Pettit Allow matching and setting the conntrack mark field. As with conntrack state and zone, these are populated by executing the ct() action. Unlike these, the ct_mark is also a writable field. The set_field() action may be used to modify the mark, which will take effect on the mos

[PATCHv2 net-next 4/9] netfilter: connlabels: Export setting connlabel length

2015-08-04 Thread Joe Stringer
Add functions to change connlabel length into nf_conntrack_labels.c so they may be reused by other modules like OVS and nftables without needing to jump through xt_match_check() hoops. Suggested-by: Florian Westphal Signed-off-by: Joe Stringer --- v2: Protect connlabel modification with spinlock

[PATCHv2 net-next 2/9] openvswitch: Move MASKED* macros to datapath.h

2015-08-04 Thread Joe Stringer
This will allow the ovs-conntrack code to reuse these macros. Signed-off-by: Joe Stringer Acked-by: Thomas Graf --- net/openvswitch/actions.c | 52 ++ net/openvswitch/datapath.h | 4 2 files changed, 29 insertions(+), 27 deletions(-) diff --gi

[PATCHv2 net-next 0/9] OVS conntrack support

2015-08-04 Thread Joe Stringer
The goal of this series is to allow OVS to send packets through the Linux kernel connection tracker, and subsequently match on fields populated by conntrack. This version addresses the feedback from v2, mostly minor tidyups and a few corner cases that were missed in v1. The biggest change is rathe

linux-next: manual merge of the access_once tree with the arm64 tree

2015-08-04 Thread Stephen Rothwell
Hi Christian, Today's linux-next merge of the access_once tree got a conflict in: arch/arm64/include/asm/barrier.h between commit: 4b3dc9679cf7 ("arm64: force CONFIG_SMP=y and remove redundant #ifdefs") from the arm64 tree and commit: 76695af20c01 ("locking, arch: use WRITE_ONCE()/READ_

Re: [PATCH net-next 1/9] openvswitch: Scrub packet in ovs_vport_receive()

2015-08-04 Thread Joe Stringer
On 1 August 2015 at 12:17, Thomas Graf wrote: > On 07/31/15 at 10:51am, Joe Stringer wrote: >> On 31 July 2015 at 07:34, Hannes Frederic Sowa wrote: >> > In general, this shouldn't be necessary as the packet should already be >> > scrubbed before they arrive here. >> > >> > Could you maybe add a

Re: [Consult] cris: arch-v10: About $dtp0 register

2015-08-04 Thread Hans-Peter Nilsson
> From: Chen Gang > Date: Mon, 20 Jul 2015 23:32:52 +0200 > On 7/9/15 08:44, Chen Gang wrote: > The latest upstream cris gcc will cause issue for next-20150720 with > allmodconfig (although it can let next-20150702 pass allmodconfig): > > CC [M] kernel/rcu/rcutorture.o [...] > include/lin

Re: [PATCH v2 net-next 2/2] RDS-TCP: Support multiple RDS-TCP listen endpoints, one per netns.

2015-08-04 Thread Cong Wang
On Mon, Aug 3, 2015 at 10:29 PM, Sowmini Varadhan wrote: > +static struct pernet_operations rds_tcp_net_ops = { > + .init = rds_tcp_init_net, > + .exit = rds_tcp_exit_net, > + .id = &rds_tcp_netid, > + .size = sizeof(struct rds_tcp_net), > +}; > + > +static void rds_tcp_kil

Re: windfarm: decrement client count when unregistering

2015-08-04 Thread Michael Ellerman
On Fri, 2015-31-07 at 12:08:58 UTC, Paul Bolle wrote: > wf_unregister_client() increments the client count when a client > unregisters. That is obviously incorrect. Decrement that client count > instead. > > Fixes: 75722d3992f5 ("[PATCH] ppc64: Thermal control for SMU based machines") > > Signed-

[PATCH v2 2/9] KVM: MMU: move FNAME(is_rsvd_bits_set) to mmu.c

2015-08-04 Thread Xiao Guangrong
FNAME(is_rsvd_bits_set) does not depend on guest mmu mode, move it to mmu.c to stop being compiled multiple times Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 8 arch/x86/kvm/paging_tmpl.h | 13 ++--- 2 files changed, 10 insertions(+), 11 deletions(-) diff --

[PATCH v2 0/9] KVM: MMU: fix and improve validation of mmio page fault

2015-08-04 Thread Xiao Guangrong
Changelog in v2: - rename reset_*_rsvds_bits_mask() to reset_*_zero_bits_mask() and is_shadow_rsvd_bits_set() to is_shadow_zero_bits_set() to better match what we are checking. Thanks for Paolo's suggestion. Current code validating mmio #PF is buggy, it was spotted by Pavel Shirshov, the bug i

[PATCH v2 3/9] KVM: MMU: introduce rsvd_bits_validate

2015-08-04 Thread Xiao Guangrong
These two fields, rsvd_bits_mask and bad_mt_xwr, in "struct kvm_mmu" are used to check if reserved bits set on guest ptes, move them to a data struct so that the approach can be applied to check host shadow page table entries as well Signed-off-by: Xiao Guangrong --- arch/x86/include/asm/kvm_hos

[PATCH v2 5/9] KVM: MMU: split reset_rsvds_bits_mask_ept

2015-08-04 Thread Xiao Guangrong
Since shdow ept page tables and intel nested guest page tables have the same format, split reset_rsvds_bits_mask_ept so that the logic can be reused by later patches which check zero bits on sptes Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 14 ++ 1 file changed, 10 insert

[PATCH v2 6/9] KVM: MMU: introduce the framework to check zero bits on sptes

2015-08-04 Thread Xiao Guangrong
We have abstracted the data struct and functions which are used to check reserved bit on guest page tables, now we extend the logic to check zero bits on shadow page tables The zero bits on sptes include not only reserved bits on hardware but also the bits sptes nerve used Signed-off-by: Xiao Gua

[PATCH v2 1/9] KVM: MMU: fix validation of mmio page fault

2015-08-04 Thread Xiao Guangrong
We got the bug that qemu complained with "KVM: unknown exit, hardware reason 31" and KVM shown these info: [84245.284948] EPT: Misconfiguration. [84245.285056] EPT: GPA: 0xfeda848 [84245.285154] ept_misconfig_inspect_spte: spte 0x5eaef50107 level 4 [84245.285344] ept_misconfig_inspect_spte: spte 0x

[PATCH v2 8/9] KVM: MMU: fully check zero bits for sptes

2015-08-04 Thread Xiao Guangrong
The #PF with PFEC.RSV = 1 is designed to speed MMIO emulation, however, it is possible that the RSV #PF is caused by real BUG by mis-configure shadow page table entries This patch enables full check for the zero bits on shadow page table entries which include not only the reserved bit on hardware

[PATCH v2 9/9] KVM: VMX: drop ept misconfig check

2015-08-04 Thread Xiao Guangrong
The logic used to check ept misconfig is completely contained in common reserved bits check for sptes, so it can be removed Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 22 arch/x86/kvm/mmu.h | 1 - arch/x86/kvm/vmx.c | 74 ++---

[PATCH v2 4/9] KVM: MMU: split reset_rsvds_bits_mask

2015-08-04 Thread Xiao Guangrong
Since softmmu & AMD nested shadow page tables and guest page tables have the same format, split reset_rsvds_bits_mask so that the logic can be reused by later patches which check zero bits on sptes Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 26 ++ 1 file chang

[PATCH v2 7/9] KVM: MMU: introduce is_shadow_zero_bits_set()

2015-08-04 Thread Xiao Guangrong
We have the same data struct to check reserved bits on guest page tables and shadow page tables, split is_rsvd_bits_set() so that the logic can be shared between these two paths Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 28 +++- 1 file changed, 19 insertions(

Re: [PATCH v6 0/2] x86, mwaitt: introduce AMD mwaitt support

2015-08-04 Thread Borislav Petkov
On Wed, Aug 05, 2015 at 11:18:50AM +0800, Huang Rui wrote: > cat /sys/bus/pci/devices/\:00\:18.4/hwmon/hwmon0/power1_acc; > sleep 1s; > cat /sys/bus/pci/devices/\:00\:18.4/hwmon/hwmon0/power1_acc; > > * TSC-based default delay: 485115 uWatts average power > * MWAITX-based delay:

[PATCH] mtd: Fix switch-bool compilation warning

2015-08-04 Thread Tomer Barletz
With gcc 5.1 I get: warning: switch condition has boolean value [-Wswitch-bool] Signed-off-by: Tomer Barletz --- drivers/mtd/mtd_blkdevs.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c index 41acc50..8830475 1006

Re: [PATCH] ipv6:Fix concurrent access issue in the function inet6_rtm_deladdr

2015-08-04 Thread Cong Wang
On Tue, Aug 4, 2015 at 7:39 PM, Nicholas Krause wrote: > From: Nicholas Krause > > This fixes the issue with conncurrent access when calling the function > inte6_addr_del due to this function using non locked wrapper versions > of certain functions by locking the routing mutex before and after th

Re: [PATCH 08/27] power: Export I2C module alias information in missing drivers

2015-08-04 Thread Sebastian Reichel
Hi, On Thu, Jul 30, 2015 at 06:18:33PM +0200, Javier Martinez Canillas wrote: > The I2C core always reports the MODALIAS uevent as "i2c: regardless if the driver was matched using the I2C id_table or the > of_match_table. So the driver needs to export the I2C table and this > be built into the mod

Re: [RFC] kcore:change kcore_read to make sure the kernel read is safe

2015-08-04 Thread yalin wang
> On Aug 5, 2015, at 05:18, Dave Hansen wrote: > > On 08/03/2015 08:37 PM, yalin wang wrote: >> This change kcore_read() to use __copy_from_user_inatomic() to >> copy data from kernel address, because kern_addr_valid() just make sure >> page table is valid during call it, whne it return, the pag

Re: [PATCH 00/13] Enhance twl4030_charger functionality. - V3

2015-08-04 Thread Sebastian Reichel
Hi, On Thu, Jul 30, 2015 at 10:11:24AM +1000, NeilBrown wrote: > Following is most of my twl4030_charger patches, rebased against > git://git.infradead.org/battery-2.6 > > Since the previous set I have added the conversion to > module_platform_driver so EPROBE_DEFER can be used, and fixed > a fe

[PATCH v6 0/2] x86, mwaitt: introduce AMD mwaitt support

2015-08-04 Thread Huang Rui
Hi, This patch set introduces a new instruction support on AMD Carrizo (Family 15h, Model 60h-6fh). It adds mwaitx delay function with a configurable timer. Andy and Boris provide a suggestion which uses mwaitx on delay method. As Peter's suggestion of last version (v5), the serial of patch set

[PATCH v6 1/2] x86, mwaitt: add monitorx and mwaitx instruction

2015-08-04 Thread Huang Rui
On AMD Carrizo processors (Family 15h, Model 60h-6fh), there is a new feature called MWAITT (MWAIT with a timer) as an extension of MONITOR/MWAIT. MWAITT, another name is MWAITX (MWAIT with extensions), has a configurable timer that causes MWAITX to exit on expiration. Compared with MONITOR/MWAIT

Re: [PATCH] staging: lustre: Fix coding style errors

2015-08-04 Thread Joe Perches
On Tue, 2015-08-04 at 16:10 +0800, Jandy Gou wrote: > Signed-off-by: Jandy Gou [] > diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h > b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h [] > @@ -721,7 +721,7 @@ kiblnd_nid2peerlist (lnet_nid_t nid) > unsigned int hash = >

Re: [RFC] kcore:change kcore_read to make sure the kernel read is safe

2015-08-04 Thread yalin wang
> On Aug 5, 2015, at 06:38, Andrew Morton wrote: > > On Tue, 4 Aug 2015 11:37:57 +0800 yalin wang wrote: > >> This change kcore_read() to use __copy_from_user_inatomic() to >> copy data from kernel address, because kern_addr_valid() just make sure >> page table is valid during call it, whne it

Re: veths often slow to come up

2015-08-04 Thread Cong Wang
(Cc'ing netdev for network issues) On Tue, Aug 4, 2015 at 6:42 AM, Shaun Crampton wrote: > Please CC me on any responses, thanks. > > Setting both ends of a veth to be oper UP completes very quickly but I > find that pings only start flowing over the veth after about a second. > This seems to cor

[PATCH v2 2/3] media: atmel-isi: move configure_geometry() to start_streaming()

2015-08-04 Thread Josh Wu
As in set_fmt() function we only need to know which format is been set, we don't need to access the ISI hardware in this moment. So move the configure_geometry(), which access the ISI hardware, to start_streaming() will make code more consistent and simpler. Signed-off-by: Josh Wu Reviewed-by: L

[PATCH v2 3/3] media: atmel-isi: add sanity check for supported formats in set_fmt()

2015-08-04 Thread Josh Wu
After adding the format check in set_fmt(), we don't need any format check in configure_geometry(). So make configure_geometry() as void type. Signed-off-by: Josh Wu --- Changes in v2: - new added patch drivers/media/platform/soc_camera/atmel-isi.c | 39 +-- 1 file chan

[PATCH v2 1/3] media: atmel-isi: setup the ISI_CFG2 register directly

2015-08-04 Thread Josh Wu
In the function configure_geometry(), we will setup the ISI CFG2 according to the sensor output format. It make no sense to just read back the CFG2 register and just set part of it. So just set up this register directly makes things simpler. Currently only support YUV format from camera sensor.

[PATCH v6 2/2] x86, mwaitt: introduce mwaitx delay with a configurable timer

2015-08-04 Thread Huang Rui
MWAITX can enable a timer and a corresponding timer value specified in SW P0 clocks. The SW P0 frequency is the same as TSC. The timer provides an upper bound on how long the instruction waits before exiting. The implementation of delay function in kernel can leverage the timer of MWAITX. This pat

Re: [PATCH V3] dmaengine: imx-sdma: Add device to device support

2015-08-04 Thread Vinod Koul
On Fri, Jul 10, 2015 at 05:08:16PM +0800, Shengjiu Wang wrote: > This patch adds DEV_TO_DEV support for i.MX SDMA driver to support data > transfer between two peripheral FIFOs. > The per_2_per script requires two peripheral addresses and two DMA > requests, and it need to check the src addr and ds

[PATCH v2 2/2] Documentation: dt: binding: atmel-sama5d4-wdt: for SAMA5D4 watchdog driver

2015-08-04 Thread Wenyou Yang
The compatible "atmel,sama5d4-wdt" supports the SAMA5D4 watchdog driver and the watchdog's WDT_MR register can be written more than once. Signed-off-by: Wenyou Yang --- .../bindings/watchdog/atmel-sama5d4-wdt.txt| 35 1 file changed, 35 insertions(+) create mode 1

[PATCH v2 1/2] drivers: watchdog: add a driver to support SAMA5D4 watchdog timer

2015-08-04 Thread Wenyou Yang
>From SAMA5D4, the watchdog timer is upgrated with a new feature, which is describled as in the datasheet, "WDT_MR can be written until a LOCKMR command is issued in WDT_CR". That is to say, as long as the bootstrap and u-boot don't issue a LOCKMR command, WDT_MR can be written more than once in th

[PATCH v2 0/2] add a new driver to support SAMA5D4 watchdog timer

2015-08-04 Thread Wenyou Yang
Hello, Thank for Guenter's advice, add a new driver to support SAMA5D4 watchdog timer. Because the watchdog WDT_MR register can be written more than once, its work mechanism is different from the previous one. Open the device file to enable the watchdog hardware, close to disable it, and ping it

[PATCH] csiostor:Fix error handling in the function csio_hws_ready

2015-08-04 Thread Nicholas Krause
From: Nicholas Krause This fixes error handling in the function csio_hws_ready for when this function calls csio_scim_cleanup_io to cleanup outstanding commands by checking if it cleaned a error code to signal internal failure and if so tell the user we are unable to clean up the outstanding io c

  1   2   3   4   5   6   7   8   9   10   >