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

[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

[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

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

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

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

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

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 >

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

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;

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

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(+) > >

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

[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 ---

[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.:

[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

[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

[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:

[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 ---

[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

[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

[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

[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

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

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 [...] >

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 = _tcp_netid, > + .size = sizeof(struct rds_tcp_net), > +}; > + > +static void

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") > >

[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

[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 ---

[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

[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

[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

[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

[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

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

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

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

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

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

[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

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

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

[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:

[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

[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

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

[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

[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

[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

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

2015-08-04 Thread Nicholas Krause
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 this call with rtnl_lock/unlock. After the unlocking just return

[PATCH net V2] virtio-net: drop NETIF_F_FRAGLIST

2015-08-04 Thread Jason Wang
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 sg array, leading to memory corruption. Drop NETIF_F_FRAGLIST so we

[PATCH v2] perf: Fix multi-segment problem of perf_event_intel_uncore

2015-08-04 Thread Taku Izumi
In multi-segment system, uncore devices may belong to buses whose segment number is other than 0. :ff:10.5 System peripheral: Intel Corporation Xeon E5 v3/Core i7 Scratchpad & Semaphore Registers (rev 03) ... 0001:7f:10.5 System peripheral: Intel Corporation Xeon E5 v3/Core i7

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

2015-08-04 Thread Jason Wang
On 08/04/2015 07:11 PM, Sergei Shtylyov wrote: > Hello. > > On 8/4/2015 12:55 PM, 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

Re: powerpc: Add an inline function to update HID0

2015-08-04 Thread Segher Boessenkool
On Tue, Aug 04, 2015 at 08:08:58PM +1000, Michael Ellerman wrote: > > +static inline void update_hid0(unsigned long hid0) > > +{ > > + /* > > +* The HID0 update should at the very least be preceded by a > > +* a SYNC instruction followed by an ISYNC instruction > > +*/ > > +

Re: [PATCH] KVM: MTRR: Use default type for non-MTRR-covered gfn before WARN_ON

2015-08-04 Thread Xiao Guangrong
On 08/05/2015 12:58 AM, Alex Williamson wrote: The patch was munged on commit to re-order these tests resulting in excessive warnings when trying to do device assignment. Return to original ordering: https://lkml.org/lkml/2015/7/15/769 Reviewed-by: Xiao Guangrong -- To unsubscribe from

Re: [PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-08-04 Thread Vikas Shivappa
On Tue, 4 Aug 2015, Tejun Heo wrote: Hello, Vikas. On Tue, Aug 04, 2015 at 11:50:16AM -0700, Vikas Shivappa wrote: I will make this more clear in the documentation - We intend this cgroup interface to be used by a root or superuser - more like a system administrator being able to control

[PATCH] Staging: android: timed_gpio.c: fix coding style errors

2015-08-04 Thread Jandy Gou
remove extra space and replace tab to space after a variable Signed-off-by: Jandy Gou --- drivers/staging/android/timed_gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/timed_gpio.c b/drivers/staging/android/timed_gpio.c index

[PATCH] Staging: android: timed_gpio.c: fix coding style errors

2015-08-04 Thread Jandy Gou
remove extra space replace tab to space after a variable Jandy Gou (1): Staging: android: timed_gpio.c: fix coding style errors drivers/staging/android/timed_gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line

Re: [PATCH v6 3/4] bpf: Implement function bpf_perf_event_read() that get the selected hardware PMU conuter

2015-08-04 Thread xiakaixu
于 2015/8/5 1:55, Alexei Starovoitov 写道: > On 8/4/15 1:58 AM, Kaixu Xia wrote: >> +static int check_func_limit(struct bpf_map **mapp, int func_id) > > how about 'check_map_func_compatibility' or 'check_map_func_affinity' ? > >> +{ >> +struct bpf_map *map = *mapp; > > why pass pointer to a

Re: 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)
Send again since llvmdev is moved to llvm-...@lists.llvm.org On 2015/8/5 9:58, Wangnan (F) wrote: On 2015/8/4 17:01, Wangnan (F) wrote: For people who in llvmdev: This mail is belong to a thread in linux kernel mailing list, the first message can be retrived from:

Re: [PATCH 04/11] ext4: Add ext4_get_block_dax()

2015-08-04 Thread Dave Chinner
On Tue, Aug 04, 2015 at 03:57:58PM -0400, Matthew Wilcox wrote: > From: Matthew Wilcox > > DAX wants different semantics from any currently-existing ext4 > get_block callback. Unlike ext4_get_block_write(), it needs to honour > the 'create' flag, and unlike ext4_get_block(), it needs to be able

Re: [PATCH] serial: don't announce CIR serial ports

2015-08-04 Thread Peter Hurley
On 08/04/2015 07:25 PM, Maciej S. Szmigiero wrote: > Hi Peter, > > Thanks for looking into it. > > On 04.08.2015 03:46, Peter Hurley wrote: >> Hi Maciej, >> >> On 08/02/2015 05:09 PM, Maciej S. Szmigiero wrote: >>> CIR type serial ports aren't real serial ports. >>> This is just a way to prevent

Re: powerpc: Add an inline function to update HID0

2015-08-04 Thread Michael Ellerman
On Tue, 2015-08-04 at 19:36 +0530, Madhavan Srinivasan wrote: > > On Tuesday 04 August 2015 03:38 PM, Michael Ellerman wrote: > > On Tue, 2015-04-08 at 08:30:58 UTC, "Gautham R. Shenoy" wrote: > >> Section 3.7 of Version 1.2 of the Power8 Processor User's Manual > >> prescribes that updates to

Re: 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/4 17:01, Wangnan (F) wrote: For people who in llvmdev: This mail is belong to a thread in linux kernel mailing list, the first message can be retrived from: http://lkml.kernel.org/r/55b1535e.8090...@plumgrid.com Our goal is to fild a way to make BPF program get an unique ID for

Re: [PATCH V3 3/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver

2015-08-04 Thread Alexandre Belloni
On 21/07/2015 at 11:29:07 +0100, S Twiss wrote : > From: S Twiss > > Add DA9062 RTC support into the existing DA9063 RTC driver component by > using generic access tables for common register and bit mask definitions. > > The following change will add generic register and bit mask support to the

Re: [PATCH] rtc: mt6397: implement suspend/resume function in rtc-mt6397 driver

2015-08-04 Thread Alexandre Belloni
On 30/07/2015 at 22:53:14 +0800, Henry Chen wrote : > Implement the suspend/resume function in order to control rtc's irq_wake flag > and handle as wakeup source. > > Signed-off-by: Henry Chen > --- > drivers/rtc/rtc-mt6397.c | 26 ++ > 1 file changed, 26 insertions(+)

[PATCH] ARM: BCM: Enable ARM erratum 798181 for BRCMSTB

2015-08-04 Thread Gregory Fong
Commit 04fcab32d3fa1d3f6afe97e0ab431c5572e07a2c ("ARM: 8111/1: Enable erratum 798181 for Broadcom Brahma-B15") enables this erratum for affected Broadcom Brahma-B15 CPUs when CONFIG_ARM_ERRATA_798181=y. Let's make sure that config option is actually set. Signed-off-by: Gregory Fong ---

Re: [PATCH v2 3/3] RTC: switch to using is_visible() to control sysfs attributes

2015-08-04 Thread Alexandre Belloni
On 23/07/2015 at 16:01:08 -0700, Dmitry Torokhov wrote : > Instead of creating wakealarm attribute manually, after the device has been > registered, let's rely on facilities provided by the attribute groups to > control which attributes are visible and which are not. This allows to to > create all

Re: [PATCH v2 1/3] RTC: make rtc_does_wakealarm() return boolean

2015-08-04 Thread Alexandre Belloni
On 23/07/2015 at 16:01:06 -0700, Dmitry Torokhov wrote : > Users of rtc_does_wakealarm() return value treat it as boolean so let's > change the signature accordingly. > > Signed-off-by: Dmitry Torokhov Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android

Re: [PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW

2015-08-04 Thread Alexandre Belloni
On 23/07/2015 at 16:01:07 -0700, Dmitry Torokhov wrote : > Instead of using older style DEVICE_ATTR for wakealarm attribute let's > switch to using DEVICE_ATTR_RW that ensures consistent across the kernel > permissions on the attribute. > > Signed-off-by: Dmitry Torokhov Applied, thanks. --

Re: [PATCH net] netfilter: conntrack: Use flags in nf_ct_tmpl_alloc()

2015-08-04 Thread Joe Stringer
On 4 August 2015 at 18:34, Joe Stringer wrote: > The flags were ignored for this function when it was introduced. Also > fix the style problem in kzalloc. > > Fixes: 0838aa7fc (netfilter: fix netns dependencies with conntrack > templates) > Signed-off-by: Joe Stringer s/net/nf/ in subject line.

Re: [PATCH 0/3] Make workingset detection logic memcg aware

2015-08-04 Thread Kamezawa Hiroyuki
On 2015/08/03 21:04, Vladimir Davydov wrote: > Hi, > > Currently, workingset detection logic is not memcg aware - inactive_age > is maintained per zone. As a result, if memory cgroups are used, > refaulted file pages are activated randomly. This patch set makes > inactive_age per lruvec so that

[PATCH net] netfilter: conntrack: Use flags in nf_ct_tmpl_alloc()

2015-08-04 Thread Joe Stringer
The flags were ignored for this function when it was introduced. Also fix the style problem in kzalloc. Fixes: 0838aa7fc (netfilter: fix netns dependencies with conntrack templates) Signed-off-by: Joe Stringer --- net/netfilter/nf_conntrack_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH RT 5/7] ipc/mqueue: Implement lockless pipelined wakeups

2015-08-04 Thread Steven Rostedt
3.18.18-rt16-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso This patch moves the wakeup_process() invocation so it is not done under the info->lock by making use of a lockless wake_q. With this change, the waiter is woken up

[PATCH RT 4/7] futex: Implement lockless wakeups

2015-08-04 Thread Steven Rostedt
3.18.18-rt16-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso Given the overall futex architecture, any chance of reducing hb->lock contention is welcome. In this particular case, using wake-queues to enable lockless wakeups

[PATCH RT 2/7] mm/slub: move slab initialization into irq enabled region

2015-08-04 Thread Steven Rostedt
3.18.18-rt16-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner Initializing a new slab can introduce rather large latencies because most of the initialization runs always with interrupts disabled. There is no point in doing so.

[PATCH RT 6/7] kernel/irq_work: fix non RT case

2015-08-04 Thread Steven Rostedt
3.18.18-rt16-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior After the deadlock fixed, the checked got somehow away and broke the non-RT case which could invoke IRQ-work from softirq context. Cc:

[PATCH RT 3/7] sched: Implement lockless wake-queues

2015-08-04 Thread Steven Rostedt
3.18.18-rt16-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra This is useful for locking primitives that can effect multiple wakeups per operation and want to avoid lock internal lock contention by delaying the wakeups until

[PATCH RT 1/7] Revert "slub: delay ctor until the object is requested"

2015-08-04 Thread Steven Rostedt
3.18.18-rt16-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior This approach is broken with SLAB_DESTROY_BY_RCU allocations. Reported by Steven Rostedt and Koehrer Mathias. Cc: stable...@vger.kernel.org Signed-off-by:

[PATCH RT 7/7] Linux 3.18.18-rt16-rc1

2015-08-04 Thread Steven Rostedt
3.18.18-rt16-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index

[PATCH RT 0/7] Linux 3.18.18-rt16-rc1

2015-08-04 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.18.18-rt16-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

Re: [PATCH] zram: Replace pr_* with dev_*

2015-08-04 Thread Joe Perches
On Wed, 2015-08-05 at 08:57 +0900, Sergey Senozhatsky wrote: > On (08/05/15 08:42), Sergey Senozhatsky wrote: > > what's the benefit? > > and apart from that I don't understand why do you replace some > pr_info() with dev_warn(). f.e. And besides that, the formats should not be changed and still

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

2015-08-04 Thread Simon Horman
On Tue, Aug 04, 2015 at 10:48:28PM +0900, Simon Horman wrote: > Thanks Geert, > > 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/DTSI patches, I believe this is in keeping with how the

Re: [PATCH v2] vmscan: fix increasing nr_isolated incurred by putback unevictable pages

2015-08-04 Thread Jaewon Kim
On 2015년 08월 05일 08:31, Minchan Kim wrote: > Hello, > > On Tue, Aug 04, 2015 at 03:09:37PM -0700, Andrew Morton wrote: >> On Tue, 04 Aug 2015 19:40:08 +0900 Jaewon Kim >> wrote: >> >>> reclaim_clean_pages_from_list() assumes that shrink_page_list() returns >>> number of pages removed from the

Re: [PATCH v2 1/3] cgroup: define controller file conventions

2015-08-04 Thread Kamezawa Hiroyuki
On 2015/08/05 4:31, Tejun Heo wrote: From 6abc8ca19df0078de17dc38340db3002ed489ce7 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 4 Aug 2015 15:20:55 -0400 Traditionally, each cgroup controller implemented whatever interface it wanted leading to interfaces which are widely inconsistent.

  1   2   3   4   5   6   7   8   9   10   >