[PATCH 22/25] mpt3sas: Added a module parameter hbas_to_enumerate

2015-11-11 Thread Sreekanth Reddy
Added module parameter 'hbas_to_enumerate', which user can use this merged driver as legacy mpt2sas driver or as a legacy mpt3sas driver if needed. Here are the available options for this module parameter 0 - Merged driver which enumerates both SAS 2.0 & SAS 3.0 HBAs 1 - Acts as legacy mpt2sas

[PATCH RESEND 09/25] mpt3sas: Don't send PHYDISK_HIDDEN Raid Action request on SAS2 HBA's

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy Don't send PHYDISK_HIDDEN Raid Action request for SAS2 HBA's. Since these HBA's doesn't support this Raid Action. Also enable fast_path only for SAS3 HBA's. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 19 +-- 1 file changed,

[PATCH RESEND 11/25] mpt3sas: fix for driver fails EEH, recovery from injected pci bus error

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy This patch stops the driver to invoke kthread (which remove the dead ioc) for some time while EEH recovery has started. This changes are ported from below mpt2sas driver patch 'commit b4730fb6e54a634a145c9c71c5cf856f00beb5cd ("mpt2sas: fix for driver fails EEH, recovery fro

[PATCH RESEND 07/25] mpt2sas, mpt3sas : Removed SCSI_MPTXSAS_LOGGING entry from Kconfig

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy Currently there is a logging level option provided for user for each of our drivers in the kernel configuration utility. They can enable this option to get more verbose information. By default this is enabled. When this option is enabled then those functions which displays

[PATCH RESEND 13/25] mpt3sas: Ported the providing sysfs attribute to report Backup Rail Monitor Status

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy A new sysfs shost attribute called "BMR_status" is implemented to report Backup Rail Monitor status. This attribute is located in the path /sys/class/scsi_host/host#/BMR_status when reading this adapter attribute, then driver will output the state of GPIO[24]. It r

[PATCH RESEND 06/25] mpt3sas: Define 'hba_mpi_version_belonged' IOC variable

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy 1. Use 'hba_mpi_version_belonged' IOC varable to uniquely identify each individual generation driver functionality at runtime. 2. Declared global variable 'driver_name' and used this variable while reserving PCI regions and while allocating the IRQ's. Signed-off-by: Sreeka

[PATCH RESEND 08/25] mpt3sas: For an IO, build MPI SGL LIST on GEN2 HBA's and build IEEE SGL LIST on GEN3 HBA's

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy Gen2 HBA's uses MPI Scatter Gather Lists where as Gen3 HBA's uses IEEE Scatter Gather Lists. So modify the common code part in such a way that it will build IEEE SGL table for Gen3 HBA's and it will build MPI SGL table for Gen2 HBA's. Signed-off-by: Sreekanth Reddy --- dr

[PATCH RESEND 16/25] mpt3sas: Added OEMs Gen2 PnP ID Branding names

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy Added OEMs Gen2 PnP ID Branding names from mpt2sas driver. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 326 drivers/scsi/mpt3sas/mpt3sas_base.h | 93 +- 2 files changed, 305 insertions(+), 114 dele

[PATCH RESEND 15/25] mpt3sas: Refcount fw_events and fix unsafe list usage

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy The fw_event_work struct is concurrently referenced at shutdown, so add a refcount to protect it, and refactor the code to use it. Additionally, refactor _scsih_fw_event_cleanup_queue() such that it no longer iterates over the list without holding the lock, since _firmware_

Re: deadlock between tty_write and tty_send_xchar

2015-11-11 Thread Peter Hurley
On 11/11/2015 03:35 AM, Dmitry Vyukov wrote: > Hello, > > I've hit the following deadlock while running syzkaller on commit > ce5c2d2c256a4c8b523036537cd6be2d6af8f69d (Nov 7): > > [ INFO: possible circular locking dependency detected ] > 4.3.0+ #57 Not tainted > --

[PATCH RESEND 02/25] mpt3sas: Added mpt2sas driver definitions

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy 1. Added mpt2sas driver related macro's in mpt3sas header files 2. Made scsi host's, raid class's, pci's, ioctl's call back functions as a gobal API's, so that both the drivers can use these call back functions. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3

[PATCH RESEND 04/25] mpt2sas: Created mpt2sas_module.c file in which Gen2 HBA's are registers with PCI, SML and IOCTLs

2015-11-11 Thread Sreekanth Reddy
From: Sreekanth Reddy 1. Create a mpt2sas_module.c file for mpt2sas driver module where GEN2 HBA devices registers with PCI, SML, IOCTL subsytems. 2. Updated the Makefile to use the object files from mpt3sas folder 3. Defined a compilation defination flag SCSI_MPT2SAS which can be used to not i

Re: [RFC 1/4] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors

2015-11-11 Thread Daniel Baluta
> Signed-off-by: Marc Titinger > --- > drivers/iio/adc/Kconfig | 9 + > drivers/iio/adc/Makefile | 1 + > drivers/iio/adc/ina2xx-iio.c | 404 > +++ One more thing. In IIO we do not prefer generic names for files. Lets name this after the fir

Re: [PATCH] v4l2-core/v4l2-ctrls: Filter NOOP CH_RANGE events

2015-11-11 Thread Hans Verkuil
On 11/11/15 12:58, Ricardo Ribalda Delgado wrote: > If modify_range is called but no range is changed, do not send the > CH_RANGE event. While not opposed to this patch, I do wonder what triggered this patch? Is it just a matter of efficiency? And since it is a driver that calls this, shouldn't th

Re: [PATCH 4/4] locking: Introduce smp_cond_acquire()

2015-11-11 Thread Peter Zijlstra
On Wed, Nov 11, 2015 at 05:39:40PM +0800, Boqun Feng wrote: > Just be curious, should spin_unlock_wait() semantically be an ACQUIRE? I did wonder the same thing, it would simplify a number of things if this were so. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH 1/2] arm64: bpf: add 'store immediate' instruction

2015-11-11 Thread Will Deacon
On Tue, Nov 10, 2015 at 06:45:39PM -0800, Z Lim wrote: > On Tue, Nov 10, 2015 at 2:41 PM, Yang Shi wrote: > > aarch64 doesn't have native store immediate instruction, such operation > > Actually, aarch64 does have "STR (immediate)". For arm64 JIT, we can > consider using it as an optimization. Y

Re: [PATCH] v4l2-core/v4l2-ctrls: Filter NOOP CH_RANGE events

2015-11-11 Thread Ricardo Ribalda Delgado
Hello Hans On my cameras, the framerate can be controlled in very fine steps (so you can be in sync with the conveyor belt). The exposure time is dependent on the framerate. I was calling modify_range every time there was a change on the framerate on all the different heads. Leading to invalid/noo

[PATCH] ASoC: ac97: add gpio chip

2015-11-11 Thread Robert Jarzmik
The AC97 specification provides a guide for 16 GPIOs in the codecs. If the gpiolib is compiled in the kernel, declare a gpio chip. This was tested with a pxa27x board (mioa701) and a wm9713 codec. Signed-off-by: Robert Jarzmik --- include/sound/ac97_codec.h | 3 ++ sound/soc/soc-ac97.c

Re: [PATCH 2/2] arm64: bpf: add BPF XADD instruction

2015-11-11 Thread Daniel Borkmann
On 11/11/2015 12:58 PM, Will Deacon wrote: On Wed, Nov 11, 2015 at 11:42:11AM +0100, Daniel Borkmann wrote: On 11/11/2015 11:24 AM, Will Deacon wrote: On Wed, Nov 11, 2015 at 09:49:48AM +0100, Arnd Bergmann wrote: On Tuesday 10 November 2015 18:52:45 Z Lim wrote: On Tue, Nov 10, 2015 at 4:42

RE: [PATCH v9] dmaengine: Add Xilinx AXI Direct Memory Access Engine driver support

2015-11-11 Thread Appana Durga Kedareswara Rao
Hi Vinod, > -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com] > Sent: Wednesday, November 11, 2015 4:25 PM > To: Appana Durga Kedareswara Rao > Cc: dan.j.willi...@intel.com; Michal Simek; Soren Brinkmann; > moritz.fisc...@ettus.com; aniru...@xilinx.com; dmaeng...@vger.ker

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Måns Rullgård
David Miller writes: > From: Måns Rullgård > Date: Wed, 11 Nov 2015 00:40:09 + > >> When the DMA complete interrupt arrives, the next chain should be >> kicked off as quickly as possible, and I don't see why that would >> benefit from being done in napi context. > > NAPI isn't about low late

[RFC][PATCH] rcu: Clean up TASKS_RCU() abuse

2015-11-11 Thread Peter Zijlstra
Hi I recently ran into TASKS_RCU() and wondered why we can't use normal coding patterns to do the same. Signed-off-by: Peter Zijlstra (Intel) --- include/linux/rcupdate.h | 33 +++-- kernel/exit.c| 9 +++-- 2 files changed, 34 insertions(+), 8 deleti

mmotm git tree since-4.3 branch created (was: Re: mmotm 2015-11-10-15-53 uploaded)

2015-11-11 Thread Michal Hocko
I have just created since-4.3 branch in mm git tree (http://git.kernel.org/?p=linux/kernel/git/mhocko/mm.git;a=summary). It is based on v4.3 tag in Linus tree and mmotm-mmotm-2015-11-10-15-53. As usual mmotm trees are tagged with signed tag (finger print BB43 1E25 7FB8 660F F2F1 D22D 48E2 09A2 B31

Re: [PATCH] unix: avoid use-after-free in ep_remove_wait_queue

2015-11-11 Thread Hannes Frederic Sowa
Hello, On Tue, Nov 10, 2015, at 22:55, Rainer Weikusat wrote: > An AF_UNIX datagram socket being the client in an n:1 association with > some server socket is only allowed to send messages to the server if the > receive queue of this socket contains at most sk_max_ack_backlog > datagrams. This imp

Re: [PATCH 1/3] tools/vm: fix Makefile multi-targets

2015-11-11 Thread Sergey Senozhatsky
Hello, On (11/10/15 17:20), David Rientjes wrote: >>On (11/10/15 22:32), Sergey Senozhatsky wrote: >> >> Build all of the $(TARGETS), not just the first one. >> >> Without the patch (make -n) >> == >> >> make -C ../lib/api >> gcc -Wall -Wextra -I../lib/ -o page-types

Re: [PATCH 1/1] can: sja1000: clear interrupts on start

2015-11-11 Thread Mirza Krak
2015-11-11 11:06 GMT+01:00 Marc Kleine-Budde : > On 11/11/2015 10:54 AM, Mirza Krak wrote: >> 2015-11-11 9:04 GMT+01:00 Marc Kleine-Budde : >>> This problem occurs only an hardware, where the SJA1000 is powered >>> during system suspend? >> >> Correct, and the controller is in UP state. >> >>> Does

Re: [RFC PATCH] x86/cpu: Fix MSR value truncation issue

2015-11-11 Thread Borislav Petkov
On Fri, Oct 30, 2015 at 06:28:25PM +0100, Borislav Petkov wrote: > More specifically, MSR_STAR[31:0] is being set to 0. That field is > reserved on Intel and on AMD it is 32-bit SYSCALL Target EIP. > > I'd strongly guess because Intel doesn't have SYSCALL in compat/legacy > mode and we're using SY

Re: [PATCH 1/1] can: sja1000: clear interrupts on start

2015-11-11 Thread Marc Kleine-Budde
On 11/11/2015 01:29 PM, Mirza Krak wrote: >> Can you put a scope on the interrupt pin and see if it's a problem of >> the SoC and/or Linux or the SJA1000 not pulling the IRQ line. > > A little demonstration on what it looks like when the system is > resumed (added a printk in sja1000_start without

Re: [PATCH 2/2] arm64: bpf: add BPF XADD instruction

2015-11-11 Thread Will Deacon
On Wed, Nov 11, 2015 at 01:21:04PM +0100, Daniel Borkmann wrote: > On 11/11/2015 12:58 PM, Will Deacon wrote: > >On Wed, Nov 11, 2015 at 11:42:11AM +0100, Daniel Borkmann wrote: > >>On 11/11/2015 11:24 AM, Will Deacon wrote: > >>>On Wed, Nov 11, 2015 at 09:49:48AM +0100, Arnd Bergmann wrote: >

Re: [PATCH 1/2] arm64: bpf: add 'store immediate' instruction

2015-11-11 Thread Will Deacon
On Wed, Nov 11, 2015 at 12:12:56PM +, Will Deacon wrote: > On Tue, Nov 10, 2015 at 06:45:39PM -0800, Z Lim wrote: > > On Tue, Nov 10, 2015 at 2:41 PM, Yang Shi wrote: > > > aarch64 doesn't have native store immediate instruction, such operation > > > > Actually, aarch64 does have "STR (immedi

Re: [PATCH] v4l2-core/v4l2-ctrls: Filter NOOP CH_RANGE events

2015-11-11 Thread Hans Verkuil
On 11/11/15 13:20, Ricardo Ribalda Delgado wrote: > Hello Hans > > On my cameras, the framerate can be controlled in very fine steps (so > you can be in sync with the conveyor belt). The exposure time is > dependent on the framerate. I was calling modify_range every time > there was a change on th

Re: [PATCH 1/1] can: sja1000: clear interrupts on start

2015-11-11 Thread Mirza Krak
2015-11-11 13:37 GMT+01:00 Marc Kleine-Budde : >> Some cred should go to Christian (added him to CC) for finding this >> problem and reporting it to me. > > I'll add a > > Reported-by: Christian Magnusson > > to the patch. > Can we just get an ACK that it is OK from Christian before we do it.

Re: deadlock between tty_write and tty_send_xchar

2015-11-11 Thread Dmitry Vyukov
On Wed, Nov 11, 2015 at 1:05 PM, Peter Hurley wrote: > On 11/11/2015 03:35 AM, Dmitry Vyukov wrote: >> Hello, >> >> I've hit the following deadlock while running syzkaller on commit >> ce5c2d2c256a4c8b523036537cd6be2d6af8f69d (Nov 7): >> >> [ INFO: possible circular locking dependency detected ] >

Re: [PATCH 0/3] Infinite loops in microcode while running guests

2015-11-11 Thread Austin S Hemmelgarn
On 2015-11-10 07:22, Paolo Bonzini wrote: Yes, these can happen. The issue is that benign exceptions are delivered serially, but two of them (#DB and #AC) can also happen during exception delivery itself. The subsequent infinite stream of exceptions causes the processor to never exit guest mode

Re: [PATCH 1/1] can: sja1000: clear interrupts on start

2015-11-11 Thread Marc Kleine-Budde
On 11/11/2015 01:46 PM, Mirza Krak wrote: > 2015-11-11 13:37 GMT+01:00 Marc Kleine-Budde : >>> Some cred should go to Christian (added him to CC) for finding this >>> problem and reporting it to me. >> >> I'll add a >> >> Reported-by: Christian Magnusson >> >> to the patch. > > Can we just get an

Re: [RFC][PATCH] rcu: Clean up TASKS_RCU() abuse

2015-11-11 Thread Paul E. McKenney
On Wed, Nov 11, 2015 at 01:23:10PM +0100, Peter Zijlstra wrote: > Hi > > I recently ran into TASKS_RCU() and wondered why we can't use normal > coding patterns to do the same. > > Signed-off-by: Peter Zijlstra (Intel) Well, I cannot get too excited either way, but the diffstat for this change i

[RFC v3 1/2] Documentation: bridge: Add documentation for ps8640 DT properties

2015-11-11 Thread Jitao Shi
Add documentation for DT properties supported by ps8640 DSI-eDP converter. Signed-off-by: Jitao Shi Acked-by: Rob Herring --- changes since v2: tune properties in example match Required properties --- .../devicetree/bindings/display/bridge/ps8640.txt | 43 1 file

[RFC v3 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2015-11-11 Thread Jitao Shi
This patch adds drm_bridge driver for parade DSI to eDP bridge chip. Signed-off-by: Jitao Shi --- changes since v2: 1. Fixed Function Return val. 2. Tune power supply name easy read. 3. Use i2c_new_dummy for more i2c pages --- drivers/gpu/drm/bridge/Kconfig |9

Re: [PATCH RESEND 09/25] mpt3sas: Don't send PHYDISK_HIDDEN Raid Action request on SAS2 HBA's

2015-11-11 Thread Hannes Reinecke
On 11/11/2015 01:00 PM, Sreekanth Reddy wrote: > From: Sreekanth Reddy > > Don't send PHYDISK_HIDDEN Raid Action request for SAS2 HBA's. > Since these HBA's doesn't support this Raid Action. > > Also enable fast_path only for SAS3 HBA's. > > Signed-off-by: Sreekanth Reddy > --- > drivers/scsi

Re: [PATCH RESEND 06/25] mpt3sas: Define 'hba_mpi_version_belonged' IOC variable

2015-11-11 Thread Hannes Reinecke
On 11/11/2015 01:00 PM, Sreekanth Reddy wrote: > From: Sreekanth Reddy > > 1. Use 'hba_mpi_version_belonged' IOC varable to uniquely > identify each individual generation driver functionality at > runtime. > > 2. Declared global variable 'driver_name' and used > this variable while reserving PCI

Re: [PATCH 2/2] arm64: bpf: add BPF XADD instruction

2015-11-11 Thread Peter Zijlstra
On Wed, Nov 11, 2015 at 12:38:31PM +, Will Deacon wrote: > > Hmm, gcc doesn't have an eBPF compiler backend, so this won't work on > > gcc at all. The eBPF backend in LLVM recognizes the __sync_fetch_and_add() > > keyword and maps that to a BPF_XADD version (BPF_W or BPF_DW). In the > > interpr

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Måns Rullgård
Måns Rullgård writes: > David Miller writes: > >> From: Måns Rullgård >> Date: Wed, 11 Nov 2015 00:40:09 + >> >>> When the DMA complete interrupt arrives, the next chain should be >>> kicked off as quickly as possible, and I don't see why that would >>> benefit from being done in napi conte

Re: [PATCH 00/25] mpt3sas: Mergering mpt2sas & mpt3sas driver code

2015-11-11 Thread Hannes Reinecke
On 11/11/2015 01:00 PM, Sreekanth Reddy wrote: > Last time we have posted a set of patches which combine the mpt2sas > and mpt3sas driver code. and we are generating two driver modules > (i.e. two separate .ko's) from this Combined driver source. > > Now we have modified above Combined driver sour

RE: [PATCH 1/1] can: sja1000: clear interrupts on start

2015-11-11 Thread Christian Magnusson
Thanks.. It's ok for me. Good that we finally found the problem with the hanging can-interfaces. :) /Christian Christian Magnusson christian.magnus...@semcon.com -Original Message- From: Mirza Krak [mailto:mirza.k...@hostmobility.com] Sent: den 11 november 2015 13:46 To: Marc Kleine-

[PATCH] tty: Fix tty_send_xchar() lock order inversion

2015-11-11 Thread Peter Hurley
The correct lock order is atomic_write_lock => termios_rwsem, as established by tty_write() => n_tty_write(). Fixes: c274f6ef1c666 ("tty: Hold termios_rwsem for tcflow(TCIxxx)") Reported-and-Tested-by: Dmitry Vyukov Cc: # v3.18+ Signed-off-by: Peter Hurley --- drivers/tty/tty_io.c| 4

RE: [PATCH RESEND 09/25] mpt3sas: Don't send PHYDISK_HIDDEN Raid Action request on SAS2 HBA's

2015-11-11 Thread Kashyap Desai
> -Original Message- > From: Hannes Reinecke [mailto:h...@suse.de] > Sent: Wednesday, November 11, 2015 6:27 PM > To: Sreekanth Reddy; j...@kernel.org > Cc: martin.peter...@oracle.com; linux-s...@vger.kernel.org; > jbottom...@parallels.com; sathya.prak...@avagotech.com; > kashyap.de...@avag

INQUIRY

2015-11-11 Thread b18
We are in need of attorney that would serve as Fiduciary agent to serve as collection agents for our company in your region. Regard watabe onkyo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 0/3] Infinite loops in microcode while running guests

2015-11-11 Thread Paolo Bonzini
On 11/11/2015 13:47, Austin S Hemmelgarn wrote: >> > I just finished running a couple of tests in a KVM instance running > nested on a Xen HVM instance, and found no issues, so for the set as a > whole: > > Tested-by: Austin S. Hemmelgarn > > Now to hope the equivalent fix for Xen gets into th

Re: [kvm-unit-tests PATCH] vpid test case

2015-11-11 Thread Paolo Bonzini
On 10/11/2015 13:55, Wanpeng Li wrote: > VPID test case for invvpid single and invvpid all. > > Signed-off-by: Wanpeng Li > --- > x86/vmx.c | 17 > x86/vmx.h | 17 > x86/vmx_tests.c | 63 > +

Re: [PATCH 0/3] Infinite loops in microcode while running guests

2015-11-11 Thread Austin S Hemmelgarn
On 2015-11-11 08:07, Paolo Bonzini wrote: On 11/11/2015 13:47, Austin S Hemmelgarn wrote: I just finished running a couple of tests in a KVM instance running nested on a Xen HVM instance, and found no issues, so for the set as a whole: Tested-by: Austin S. Hemmelgarn Now to hope the equiv

Re: [PATCH] netfilter: nfnetlink_log: work around uninitialized variable warning

2015-11-11 Thread Pablo Neira Ayuso
On Tue, Nov 10, 2015 at 01:08:15PM +0100, Arnd Bergmann wrote: > After a recent (correct) change, gcc started warning about the use > of the 'flags' variable in nfulnl_recv_config() > > net/netfilter/nfnetlink_log.c: In function 'nfulnl_recv_config': > net/netfilter/nfnetlink_log.c:320:14: warning

Re: [PATCH] netfilter: fix xt_TEE and xt_TPROXY dependencies

2015-11-11 Thread Pablo Neira Ayuso
On Tue, Nov 10, 2015 at 01:22:15PM +0100, Arnd Bergmann wrote: > Kconfig is too smart for its own good: a Kconfig line that states > > select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES > > means that if IP6_NF_IPTABLES is set to 'm', then NF_DEFRAG_IPV6 will > also be set to 'm', regardless of the s

[PATCH] fix compare_const_fl.cocci warnings

2015-11-11 Thread Julia Lawall
Move constants to the right of binary operators. Semantic patch information: Depends on personal taste in some cases. Generated by: scripts/coccinelle/misc/compare_const_fl.cocci CC: Dave Penkler Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- This is what Coccinelle generates.

Re: [RFC][PATCH] rcu: Clean up TASKS_RCU() abuse

2015-11-11 Thread Peter Zijlstra
On Wed, Nov 11, 2015 at 04:49:40AM -0800, Paul E. McKenney wrote: > On Wed, Nov 11, 2015 at 01:23:10PM +0100, Peter Zijlstra wrote: > > Hi > > > > I recently ran into TASKS_RCU() and wondered why we can't use normal > > coding patterns to do the same. > > > > Signed-off-by: Peter Zijlstra (Intel)

Re: [RFC][PATCH] rcu: Clean up TASKS_RCU() abuse

2015-11-11 Thread Paul E. McKenney
On Wed, Nov 11, 2015 at 02:23:04PM +0100, Peter Zijlstra wrote: > On Wed, Nov 11, 2015 at 04:49:40AM -0800, Paul E. McKenney wrote: > > On Wed, Nov 11, 2015 at 01:23:10PM +0100, Peter Zijlstra wrote: > > > Hi > > > > > > I recently ran into TASKS_RCU() and wondered why we can't use normal > > > co

Re: perf related lockdep bug

2015-11-11 Thread Paul E. McKenney
On Thu, Nov 05, 2015 at 06:04:46AM -0800, Paul E. McKenney wrote: > On Thu, Nov 05, 2015 at 03:46:07AM +0100, Andi Kleen wrote: > > On Wed, Nov 04, 2015 at 04:55:28PM -0800, Paul E. McKenney wrote: > > > On Wed, Nov 04, 2015 at 09:58:36PM +0100, Andi Kleen wrote: > > > > > > > > I tested my perf s

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Eric Dumazet
On Wed, 2015-11-11 at 13:04 +, Måns Rullgård wrote: > I tried that, and throughput (as measured by iperf3) dropped by 2%. > Maybe I did something wrong. What link speed have you used, what was the throughput you got, and is the receiver using the same NIC ? -- To unsubscribe from this lis

Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64

2015-11-11 Thread Arnd Bergmann
On Wednesday 11 November 2015 11:51:26 Stefano Stabellini wrote: > On Tue, 10 Nov 2015, Thomas Gleixner wrote: > > On Tue, 10 Nov 2015, John Stultz wrote: > > > I'm sort of objecting to a different issue, where the > > > __current_kernel_time() implementation probably shouldn't be grabbing > > > th

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Mason
On 10/11/2015 22:51, Eric Dumazet wrote: > On Tue, 2015-11-10 at 21:21 +, Måns Rullgård wrote: > >> Even ixgbe uses napi_complete() while netdevice.h says one should >> "consider using napi_complete_done() instead." Did the author consider >> it and decide not to, or has the driver simply no

Pending Application

2015-11-11 Thread April
Hello. I am specifically contacting you in respect of a business proposal that I have for you as you appear very relevant in the proposal. Please kindly reply back to me for further details. Waiting to hear from you. Regards, April Rosa Tell: +1 347 875-9364 Tell: +447031831987 Tell: +44-

Re: [RFC v3 1/2] Documentation: bridge: Add documentation for ps8640 DT properties

2015-11-11 Thread Philipp Zabel
Am Mittwoch, den 11.11.2015, 20:53 +0800 schrieb Jitao Shi: > Add documentation for DT properties supported by > ps8640 DSI-eDP converter. > > Signed-off-by: Jitao Shi > Acked-by: Rob Herring Reviewed-by: Philipp Zabel best regards Philipp -- To unsubscribe from this list: send the line "uns

Re: [PATCH] comedi: comedi_parport: Fix coding style - use BIT macro

2015-11-11 Thread Ranjith T
Is this patch is fine?. Thanks, Ranjith T. On Mon, Nov 9, 2015 at 11:18 PM, Ranjith T wrote: > BIT macro is used for defining BIT location instead of > shifting operator - coding style issue > > Signed-off-by: Ranjith T > --- > drivers/staging/comedi/drivers/comedi_parport.c |4 ++-- > 1 f

Re: [PATCH] comedi: pcmmio: Fix coding style - use BIT macro

2015-11-11 Thread Ranjith T
Is this patch is fine?.. Thanks, Ranjith T. On Mon, Nov 9, 2015 at 11:14 PM, Ranjith T wrote: > BIT macro is used for defining BIT location instead of > shifting operator - coding style issue > > Signed-off-by: Ranjith T > --- > drivers/staging/comedi/drivers/pcmmio.c | 44 > +++

[for-next][PATCH] tracing: #ifdef out uses of max trace when CONFIG_TRACER_MAX_TRACE is not set

2015-11-11 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: e428abbbf616cd8fdd1162e4a624ad1d47b47544 Chen Gang (1): tracing: #ifdef out uses of max trace when CONFIG_TRACER_MAX_TRACE is not set kernel/trace/trace.c | 6 ++ 1 file changed, 6 inser

[PATCH] powerpc: set IRQF_NO_THREAD for xmon/cascade handlers

2015-11-11 Thread John Ogness
The xmon and cascade irq handlers must not run as threads. pmac_pic_lock is already a raw_spinlock, but the irq flag IRQF_NO_THREAD needs to be set as well. Signed-off-by: John Ogness --- arch/powerpc/platforms/powermac/pic.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Måns Rullgård
Eric Dumazet writes: > On Wed, 2015-11-11 at 13:04 +, Måns Rullgård wrote: > >> I tried that, and throughput (as measured by iperf3) dropped by 2%. >> Maybe I did something wrong. > > What link speed have you used, what was the throughput you got, > and is the receiver using the same NIC ? 1

[PATCH] mm, oom: Give __GFP_NOFAIL allocations access to memory reserves

2015-11-11 Thread mhocko
From: Michal Hocko __GFP_NOFAIL is a big hammer used to ensure that the allocation request can never fail. This is a strong requirement and as such it also deserves a special treatment when the system is OOM. The primary problem here is that the allocation request might have come with some locks

Re: [PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-11 Thread bayi cheng
On Mon, 2015-11-09 at 19:01 -0800, Brian Norris wrote: > Hi Bayi, > > A few small comments. > > On Fri, Nov 06, 2015 at 11:48:08PM +0800, Bayi Cheng wrote: > > add spi nor flash driver for mediatek controller > > > > Signed-off-by: Bayi Cheng > > --- > > drivers/mtd/spi-nor/Kconfig | 7

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Måns Rullgård
Mason writes: > On 10/11/2015 22:51, Eric Dumazet wrote: > >> On Tue, 2015-11-10 at 21:21 +, Måns Rullgård wrote: >> >>> Even ixgbe uses napi_complete() while netdevice.h says one should >>> "consider using napi_complete_done() instead." Did the author consider >>> it and decide not to, or

Re: [RFC PATCH 1/5] elf: add livepatch-specific elf constants

2015-11-11 Thread Petr Mladek
On Mon 2015-11-09 23:45:51, Jessica Yu wrote: > Add livepatch elf reloc section flag, livepatch symbol bind > and section index Please, add here more detailed description from the initial mail. It would be helpful to have it in the git history. > Signed-off-by: Jessica Yu > --- > include/uapi/l

Re: [PATCH v15 00/22] Richacls (Core and Ext4)

2015-11-11 Thread Andreas Gruenbacher
On Wed, Nov 11, 2015 at 8:57 AM, Christoph Hellwig wrote: > On Tue, Nov 10, 2015 at 01:39:52PM +0100, Andreas Gruenbacher wrote: >> > It still has the same crappy fs interfaces with lots of boilerplate >> > code >> >> Could you please be more specific so that I can trace this complaint >> to some

Re: [RFC PATCH 0/5] Arch-independent livepatch

2015-11-11 Thread Miroslav Benes
On Mon, 9 Nov 2015, Jessica Yu wrote: > This patchset removes livepatch's need for architecture-specific relocation > code by leveraging existing code in the module loader to perform > arch-dependent work. Specifically, instead of duplicating code and > re-implementing what the apply_relocate_add(

Re: [PATCH v6 0/3] Mediatek SPI-NOR flash driver

2015-11-11 Thread bayi cheng
On Mon, 2015-11-09 at 18:46 -0800, Brian Norris wrote: > Hi Bayi, > > On Fri, Nov 06, 2015 at 11:48:06PM +0800, Bayi Cheng wrote: > > This series is based on v4.3-rc1 and l2-mtd.git [0] and erase_sector > > implementation patch [1] > > > > [0]: git://git.infradead.org/l2-mtd.git > > [1]: > > htt

Re: [PATCH v1] eCryptfs: enhancing eCryptfs to be used with external crypto engine

2015-11-11 Thread andreym
> On Sun, Nov 08, 2015 at 10:10:00AM +0200, Andrey Markovytch wrote: >> +++ b/fs/ecryptfs/caches_utils.c >> @@ -0,0 +1,78 @@ >> +/* >> + * Copyright (c) 2015, The Linux Foundation. All rights reserved. > > Really? This looks like copy and paste from core code that defintively > was not written by

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Eric Dumazet
On Wed, 2015-11-11 at 14:41 +0100, Mason wrote: > On 10/11/2015 22:51, Eric Dumazet wrote: > > > On Tue, 2015-11-10 at 21:21 +, Måns Rullgård wrote: > > > >> Even ixgbe uses napi_complete() while netdevice.h says one should > >> "consider using napi_complete_done() instead." Did the author c

Re: [PATCH v2] staging: comedi: use kmalloc_array instead of kmalloc

2015-11-11 Thread Ian Abbott
On 10/11/2015 14:41, Geliang Tang wrote: Use kmalloc_array instead of kmalloc to allocate memory for an array. Signed-off-by: Geliang Tang --- Changes in v2: - preserve the existing whitespace style. --- drivers/staging/comedi/drivers/amplc_pci224.c | 11 +++ drivers/staging/comed

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Eric Dumazet
On Wed, 2015-11-11 at 13:48 +, Måns Rullgård wrote: > Eric Dumazet writes: > > > On Wed, 2015-11-11 at 13:04 +, Måns Rullgård wrote: > > > >> I tried that, and throughput (as measured by iperf3) dropped by 2%. > >> Maybe I did something wrong. > > > > What link speed have you used, what w

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Eric Dumazet
On Wed, 2015-11-11 at 13:54 +, Måns Rullgård wrote: > Mason writes: > > > On 10/11/2015 22:51, Eric Dumazet wrote: > > > >> On Tue, 2015-11-10 at 21:21 +, Måns Rullgård wrote: > >> > >>> Even ixgbe uses napi_complete() while netdevice.h says one should > >>> "consider using napi_complete

Re: [PATCH] comedi: comedi_parport: Fix coding style - use BIT macro

2015-11-11 Thread Ian Abbott
On 11/11/2015 13:44, Ranjith T wrote: Is this patch is fine?. Thanks, Ranjith T. Fine apart from the "Signed-off-by" line. I'm guessing your last name isn't really "T". On Mon, Nov 9, 2015 at 11:18 PM, Ranjith T wrote: BIT macro is used for defining BIT location instead of shifting oper

[PATCH] mm: Allow GFP_IOFS for page_cache_read page cache allocation

2015-11-11 Thread mhocko
From: Michal Hocko page_cache_read has been historically using page_cache_alloc_cold to allocate a new page. This means that mapping_gfp_mask is used as the base for the gfp_mask. Many filesystems are setting this mask to GFP_NOFS to prevent from fs recursion issues. page_cache_read is called fro

[PATCH] powerpc: IRQF_NO_SUSPEND not IRQF_TIMER for non-timer

2015-11-11 Thread John Ogness
Since gpio1 is not a timer, it also should not use IRQF_TIMER. Similar to commit ba461f094bab ("powerpc: Use IRQF_NO_SUSPEND not IRQF_TIMER for non-timer interrupts"). Signed-off-by: John Ogness --- drivers/macintosh/via-pmu.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Måns Rullgård
Eric Dumazet writes: > On Wed, 2015-11-11 at 13:48 +, Måns Rullgård wrote: >> Eric Dumazet writes: >> >> > On Wed, 2015-11-11 at 13:04 +, Måns Rullgård wrote: >> > >> >> I tried that, and throughput (as measured by iperf3) dropped by 2%. >> >> Maybe I did something wrong. >> > >> > What

Re: [RFC PATCH 2/5] module: save load_info for livepatch modules

2015-11-11 Thread Miroslav Benes
On Mon, 9 Nov 2015, Jessica Yu wrote: > diff --git a/include/linux/module.h b/include/linux/module.h > index 3a19c79..c8680b1 100644 > --- a/include/linux/module.h > +++ b/include/linux/module.h [...] > +#ifdef CONFIG_LIVEPATCH > +extern void klp_prepare_patch_module(struct module *mod, > +

[PATCH] ARM: xip: Use correct symbol for end of ROM marker

2015-11-11 Thread Chris Brandt
For an XIP build, _edata_loc, not _etext, represents the end of the binary image that will be programmed into ROM and mapped into the MODULES_VADDR area. With an XIP kernel, nothing is loaded into RAM before boot, meaning you have to take into account the size of the entire binary image that was pr

Re: [PATCH] comedi: comedi_parport: Fix coding style - use BIT macro

2015-11-11 Thread Ranjith T
Actually my name is Ranjith and father name is Thangavel. So I used to mention my name as Ranjith T. Thanks, Ranjith T On Wed, Nov 11, 2015 at 7:41 PM, Ian Abbott wrote: > On 11/11/2015 13:44, Ranjith T wrote: >> >> Is this patch is fine?. >> >> Thanks, >> Ranjith T. > > > Fine apart from the "

[PATCH v2 2/3] clk: bcm2835: Support for clock parent selection

2015-11-11 Thread Remi Pommarel
Some bcm2835 clocks used by hardware (like "PWM" or "H264") can have multiple parent clocks. These clocks divide the rate of a parent which can be selected by setting the proper bits in the clock control register. Previously all these parents where handled by a mux clock. But a mux clock cannot be

[PATCH v2 0/3] Add PWM clock support for bcm2835

2015-11-11 Thread Remi Pommarel
Hi, This patchset adds support for pwm clock. At boot, this clock does not have a default parent nor a default rate set. Thus we should be able to change its parent to get this clock working. The current clock implementation is using a mux to select the parent, but these clocks need to add a passw

[PATCH v2 1/3] clk: bcm2835: Always round up clock divisor

2015-11-11 Thread Remi Pommarel
Make bcm2835_clock_choose_div always round up the chosen MASH divisor so that the resulting average rate will not be higher than the requested one. Signed-off-by: Remi Pommarel --- drivers/clk/bcm/clk-bcm2835.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/d

[PATCH v2 3/3] clk: bcm2835: Add PWM clock support

2015-11-11 Thread Remi Pommarel
Register the pwm clock for bcm2835. Signed-off-by: Remi Pommarel --- drivers/clk/bcm/clk-bcm2835.c | 14 ++ include/dt-bindings/clock/bcm2835.h | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c

Re: [RFC PATCH 3/5] livepatch: reuse module loader code to write relocations

2015-11-11 Thread Miroslav Benes
On Mon, 9 Nov 2015, Jessica Yu wrote: > diff --git a/include/linux/livepatch.h b/include/linux/livepatch.h > index 31db7a0..601e892 100644 > --- a/include/linux/livepatch.h > +++ b/include/linux/livepatch.h > @@ -85,7 +85,7 @@ struct klp_reloc { > /** > * struct klp_object - kernel object struc

Re: [RFC PATCH 2/5] module: save load_info for livepatch modules

2015-11-11 Thread Petr Mladek
On Mon 2015-11-09 23:45:52, Jessica Yu wrote: > In livepatch modules, preserve section, symbol, string information from > the load_info struct in the module loader. This information is used to > patch modules that are not loaded in memory yet; specifically it is used > to resolve remaining symbols

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Måns Rullgård
Måns Rullgård writes: > Eric Dumazet writes: > >> On Wed, 2015-11-11 at 13:48 +, Måns Rullgård wrote: >>> Eric Dumazet writes: >>> >>> > On Wed, 2015-11-11 at 13:04 +, Måns Rullgård wrote: >>> > >>> >> I tried that, and throughput (as measured by iperf3) dropped by 2%. >>> >> Maybe I d

Re: [PATCH] comedi: comedi_parport: Fix coding style - use BIT macro

2015-11-11 Thread Ian Abbott
On 11/11/15 14:18, Ranjith T wrote: Actually my name is Ranjith and father name is Thangavel. So I used to mention my name as Ranjith T. How do you write your name on legal documents? That is what you should use on the patch's "Signed-off-by:" line, and on the email's "From:" line. Thanks.

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Eric Dumazet
On Wed, 2015-11-11 at 14:15 +, Måns Rullgård wrote: > FWIW, with UDP I get 650 Mbps. Have you tried pktgen ? It should give you raw numbers, without the stack overhead, especially when using the clone operator. (It also has xmit_more support) If the NIC can not get more than 650 Mbps, not w

Re: [PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-11 Thread Eric Dumazet
On Wed, 2015-11-11 at 14:35 +, Måns Rullgård wrote: > It seems the on-chip interconnect is limiting memory bandwidth available > to the Ethernet DMA. If I increase the limits, I get 800 Mbps over TCP > and 850 Mbps over UDP with the driver posted here, the TCP case being > CPU bound in csum_p

[PATCH perf/core ] [BUGFIX] perf probe: Fix memory leaking on faiulre by clearing all probe_trace_events

2015-11-11 Thread Masami Hiramatsu
Fix memory leaking on failure path in debuginfo__find_trace_events() which frees an array of probe_trace_events but doesn't clear all allocated sub-structures and strings. So, before doing zfree(tevs), clear all the array elements which can have allocated resources. Signed-off-by: Masami Hiramatsu

RE: [PATCH] perf probe: Clear probe_trace_event when probe_trace_event failure

2015-11-11 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Wang Nan [mailto:wangn...@huawei.com] > >When failure occures in add_probe_trace_event(), to avoid potential >dangling pointer and memory leak, resource attached to 'struct >probe_trace_event' should be cleared. Oops, right. I've found actual memory leak and this fix is not enough, because d

[PATCH 0/4] h8300: clock driver update

2015-11-11 Thread Yoshinori Sato
Overall looks good. And I found some problem (in original code). This patches fix it. Please apply after your patches. Thanks. Yoshinori Sato (4): h8300: clocksource: Use overflow interrupt h8300: clocksource: Counter overflow fix h8300: clocksource: More simplify timer8_set_next h8300: c

[PATCH 3/4] h8300: clocksource: More simplify timer8_set_next

2015-11-11 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- drivers/clocksource/h8300_timer8.c | 48 +++--- 1 file changed, 13 insertions(+), 35 deletions(-) diff --git a/drivers/clocksource/h8300_timer8.c b/drivers/clocksource/h8300_timer8.c index 187c416..d85ae9a 100644 --- a/drivers/cl

[PATCH 4/4] h8300: clocksource: remove unused local-variable.

2015-11-11 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- drivers/clocksource/h8300_timer8.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/clocksource/h8300_timer8.c b/drivers/clocksource/h8300_timer8.c index d85ae9a..a725758 100644 --- a/drivers/clocksource/h8300_timer8.c

  1   2   3   4   5   6   7   >