Re: [PATCH v2 1/3] usb: orion-echi: Add support for the Armada 3700

2017-03-09 Thread Gregory CLEMENT
Hi Alan, On jeu., mars 09 2017, Alan Stern wrote: >> @@ -47,6 +47,21 @@ >> #define USB_PHY_IVREF_CTRL 0x440 >> #define USB_PHY_TST_GRP_CTRL0x450 >> >> +#define USB_SBUSCFG 0x90 >> +#define USB_SBUSCFG_BAWR_SHIFT 0x6 >> +#define

Re: [PATCH v2 3/7] xen/9pfs: introduce Xen 9pfs transport driver

2017-03-09 Thread Boris Ostrovsky
On 03/08/2017 06:58 PM, Stefano Stabellini wrote: > Introduce the Xen 9pfs transport driver: add struct xenbus_driver to > register as a xenbus driver and add struct p9_trans_module to register > as v9fs driver. > > All functions are empty stubs for now. > > Signed-off-by: Stefano Stabellini

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 04:24:20PM +0100, Peter Zijlstra wrote: > On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > > The v4.11-rc1 kernel emits the following splat in some configurations: > > > > [ 43.681891] BUG: using smp_processor_id() in preemptible [] > > code:

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Bartlomiej Zolnierkiewicz
On Thursday, March 09, 2017 03:08:29 PM Russell King - ARM Linux wrote: > On Thu, Mar 09, 2017 at 03:57:37PM +0100, Bartlomiej Zolnierkiewicz wrote: > > On Thursday, March 09, 2017 02:51:47 PM Russell King - ARM Linux wrote: > > > On Thu, Mar 09, 2017 at 03:42:49PM +0100, Bartlomiej Zolnierkiewicz

Re: [PATCH v2 4/7] xen/9pfs: connect to the backend

2017-03-09 Thread Boris Ostrovsky
> + > +static int xen_9pfs_front_alloc_dataring(struct xenbus_device *dev, > + struct xen_9pfs_dataring *ring) > +{ > + int i; > + int ret = -ENOMEM; > + > + init_waitqueue_head(>wq); > + spin_lock_init(>lock); > + INIT_WORK(>work, p9_xen_response); > + > +

Re: [patch 0/3] speakup: support 16bit unicode screen reading

2017-03-09 Thread Samuel Thibault
Greg KH, on jeu. 09 mars 2017 17:25:51 +0100, wrote: > This is the second version of this series, correct? Next time, please > put a "v2" in them so that I know which to apply. Ah, yes, sorry. The only difference was the Reviewed-by lines. Thanks! Samuel

[PATCH 6/6] x86/platform/uv/BAU: Implement uv4_wait_completion with read_status

2017-03-09 Thread Andrew Banman
UV4 does not employ a software-timeout as in previous generations so a new wait_completion routine without this logic is required. Certain completion statuses require the AUX status bit in addition to ERROR and BUSY. Add the read_status routine to construct the full completion status. Use

[PATCH 2/6] x86/platform/uv/BAU: Add payload descriptor qualifier

2017-03-09 Thread Andrew Banman
On UV4, the destination agent verifies each message by checking the descriptor qualifier field of the message payload. Messages without this field set to 0x534749 will cause a hub error to assert. Split bau_message_payload into uv1_2_3 and uv4 versions to account for the different payload formats.

[PATCH 4/6] x86/platform/uv/BAU: Add status mmr location fields to bau_control

2017-03-09 Thread Andrew Banman
The location of the ERROR and BUSY status bits depends on the descriptor index, i.e. the CPU, of the message. Since this index does not change, there is no need to calculate the mmr and index location during message processing. The less work we do in the hot path the better. Add status_mmr and

[PATCH 3/6] x86/platform/uv/BAU: Cleanup bau_operations declaration and instances

2017-03-09 Thread Andrew Banman
Move the bau_operations declaration after bau struct declarations so the bau structs can be referenced when adding new functions to bau_operations. That way we avoid forward declarations of the bau structs. Likewise, move uv*_bau_ops structs down to avoid forward declarations of new functions

[PATCH 1/6] x86/platform/uv/BAU: Add uv_bau_version enumerated constants

2017-03-09 Thread Andrew Banman
Define enumerated constants for each UV hub version and replace magic numbers with the appropriate constant. Signed-off-by: Andrew Banman --- arch/x86/include/asm/uv/uv_bau.h | 7 +++ arch/x86/platform/uv/tlb_uv.c| 16 2 files changed, 15

[PATCH 2/4] staging: speakup:indentation should use tabs

2017-03-09 Thread Arushi Singhal
Indentation should always use tabs and never spaces. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/i18n.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/i18n.c b/drivers/staging/speakup/i18n.c index

[PATCH 5/6] x86/platform/uv/BAU: Add wait_completion to bau_operations

2017-03-09 Thread Andrew Banman
Remove the present wait_completion routine and add a function pointer by the same name to the bau_operations struct. Rather than switching on the UV hub version during message processing, set the architecture-specific uv*_wait_completion during initialization. The uv123_bau_ops struct must be

[PATCH 19/19] pinctrl: sunxi: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The sunxi pinctrl driver currently implement an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT

[PATCH 05/19] gpio: 104-dio-48e: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The 104-dio-48e gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT

[PATCH 18/19] pinctrl: sirf: atlas7: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The sirf atlas7 pinctrl drivers currently implement an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT

Re: Kernel panic on Lenovo X60 with tracing enabled

2017-03-09 Thread Steven Rostedt
On Thu, 9 Mar 2017 10:16:02 -0600 Josh Poimboeuf wrote: > On Thu, Mar 09, 2017 at 09:36:30AM -0500, Steven Rostedt wrote: > > On Thu, 9 Mar 2017 13:12:28 +0100 > > Paul Menzel wrote: > > > > > Dear Steven, dear Ingo, > > > > > > > > > Hopefully, I

[PATCH v3 4/7] perf annotate: More exactly grep -v in symbol__disassemble()

2017-03-09 Thread Taeung Song
To remove the first line containing file name and file format as below, $ objdump -l -d -S -C /home/taeung/a.out | head -2 /home/taeung/a.out: file format elf64-x86-64 currently perf-annotate use objdump with grep -v "file name". But it cause a side effect eliminating

[PATCH v3 2/7] perf annotate: Avoid division by zero when calculating percent

2017-03-09 Thread Taeung Song
Currently perf-annotate with --print-line can print -nan(0x8) because of division by zero when calculating percent. So if a sum of samples is zero, skip calculating percent. Before: $ perf annotate --stdio -l Sorted summary for file /home/taeung/workspace/a.out

Re: [PATCH] audit: log module name on delete_module

2017-03-09 Thread Richard Guy Briggs
On 2017-03-09 16:15, peter enderborg wrote: > On 03/09/2017 03:08 PM, Richard Guy Briggs wrote: > > Record the module name of a delete_module call. > > > > See: https://github.com/linux-audit/audit-kernel/issues/37 > > > > Signed-off-by: Richard Guy Briggs > > --- > >

Re: [PATCH] dma: xilinx: Make Xilinx VDMA support ARC

2017-03-09 Thread Mike Looijmans
On 06-03-17 13:27, Ramiro Oliveira wrote: Add option in Kconfig to use Xilinx VDMA in ARC processors. Signed-off-by: Ramiro Oliveira --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig

[PATCH 15/19] mfd: tc6393xb: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The tc6393xb mfd driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT

Re: [v3 3/5] coresight: add support for debug module

2017-03-09 Thread Suzuki K Poulose
On 03/03/17 06:00, Leo Yan wrote: Coresight includes debug module and usually the module connects with CPU debug logic. ARMv8 architecture reference manual (ARM DDI 0487A.k) has description for related info in "Part H: External Debug". Chapter H7 "The Sample-based Profiling Extension"

[PATCH 12/19] i2c: mux: pca954x: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The pca954x i2c mux driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT

Re: [RFC 2/2] hwmon: powernv: Hwmon driver for OCC inband power and temperature sensors

2017-03-09 Thread Shilpasri G Bhat
Hi Guenter, On 03/09/2017 05:40 PM, Guenter Roeck wrote: > On Thu, Mar 09, 2017 at 05:19:15PM +0530, Shilpasri G Bhat wrote: >> Add support to read power and temperature sensors from OCC inband >> sensors which are copied to main memory by OCC. >> > > Is this supposed to be an alternative to the

Re: [PATCH] staging: rtl8192u: fix spacing around if statements

2017-03-09 Thread Greg Kroah-Hartman
On Thu, Mar 02, 2017 at 11:16:23PM +0100, Robin Krahl wrote: > Corrects the spacing around two if statements to fix these checkpatch.pl > errors: > > ERROR: space required before the open brace '{' > ERROR: space prohibited after that open parenthesis '(' > > Signed-off-by: Robin Krahl

Re: [PATCH 0/6] Enable parallel page migration

2017-03-09 Thread David Nellans
On 03/09/2017 09:09 AM, Mel Gorman wrote: > I didn't look into the patches in detail except to get a general feel > for how it works and I'm not convinced that it's a good idea at all. > > I accept that memory bandwidth utilisation may be higher as a result but > consider the impact. THP

[PATCH v3 5/7] perf annotate: Get correct line numbers matched with addr

2017-03-09 Thread Taeung Song
Currently perf-annotate show wrong line numbers. For example, Actual source code is as below ... 21 }; 22 23 unsigned int limited_wgt; 24 25 unsigned int get_cond_maxprice(int wgt) 26 { ... However, the output of perf-annotate is as below. 4 Disassembly of section .text: 6

Re: [v3 2/5] coresight: refactor with function of_coresight_get_cpu

2017-03-09 Thread Suzuki K Poulose
On 09/03/17 11:01, Suzuki K Poulose wrote: On 03/03/17 06:00, Leo Yan wrote: This is refactor to add function of_coresight_get_cpu(), so it's used to retrieve CPU id for coresight component. Finally can use it as a common function for multiple places. Suggested-by: Mathieu Poirier

[PATCH 0/2] coresight: Allow sharing of STM

2017-03-09 Thread Suzuki K Poulose
This series fixes the coresight generic layer to handle the reference counting for the STM source properly, to allow multiple applications to share the STM. Without this series, the STM is disabled when the first user closes its connection, causing trace data losses. Suzuki K Poulose (2):

FUNDS TRANSFER,

2017-03-09 Thread BAR JEANPIERRE MENSAH
-- I am a lawyer in Republic of Togo and I will like you to stand as the appointed heir to my deceased client, who had a deposit of $8.4 Million with a bank here in Togo. He died in 2007 with his family members without any registered next of kin and the funds now has an open beneficiary

[PATCH 11/19] gpio: zx: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The zx gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels, it

[PATCH 04/19] powerpc: mpc52xx_gpt: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The mpc52xx_gpt code currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

Re: [RFC PATCH net] net: Work around lockdep limitation in sockets that use sockets

2017-03-09 Thread David Miller
From: David Howells Date: Thu, 09 Mar 2017 07:51:34 + > David Miller wrote: > >> I guess this is fine, but I think you can use one of the two "sk_padding" >> bits in struct sock instead of making the structure larger. > > It shouldn't make the

[PATCH] cpufreq: User/admin documentation update and consolidation

2017-03-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The user/admin documentation of cpufreq is badly outdated. It conains stale and/or inaccurate information along with things that are not particularly useful. Also, some of the important pieces are missing from it. For this reason, add a new

Re: [PATCH v2 5/7] xen/9pfs: send requests to the backend

2017-03-09 Thread Boris Ostrovsky
On 03/08/2017 06:58 PM, Stefano Stabellini wrote: > Implement struct p9_trans_module create and close functions by looking > at the available Xen 9pfs frontend-backend connections. We don't expect > many frontend-backend connections, thus walking a list is OK. > > Send requests to the backend by

Re: [PATCH 00/17] fs, btrfs refcount conversions

2017-03-09 Thread David Sterba
On Fri, Mar 03, 2017 at 10:55:09AM +0200, Elena Reshetova wrote: > Now when new refcount_t type and API are finally merged > (see include/linux/refcount.h), the following > patches convert various refcounters in the btrfs filesystem from atomic_t > to refcount_t. By doing this we prevent

[PATCH 02/19] gpio: altera: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The altera gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

Re: [PATCH] staging: media: Remove parentheses from return arguments

2017-03-09 Thread Greg KH
On Fri, Mar 03, 2017 at 10:31:39PM +0530, simran singhal wrote: > The sematic patch used for this is: > @@ > identifier i; > constant c; > @@ > return > - ( > \(i\|-i\|i(...)\|c\) > - ) > ; > > Signed-off-by: simran singhal > Acked-by: Julia Lawall

[PATCH 09/19] gpio: pl061: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The pl061 gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

Re: [PATCH 1/7] staging: media: Remove unnecessary typecast of c90 int constant

2017-03-09 Thread Greg KH
On Fri, Mar 03, 2017 at 01:21:56AM +0530, simran singhal wrote: > This patch removes unnecessary typecast of c90 int constant. > > WARNING: Unnecessary typecast of c90 int constant > > Signed-off-by: simran singhal > --- > drivers/staging/media/atomisp/i2c/gc2235.c |

different xxx_bit() function prototypes in bitops for x86 vs generic

2017-03-09 Thread Joakim Tjernlund
Building virtualbox external kernel modules warns about different types, example: include/asm-generic/bitops/le.h; set_bit_le(int nr, const void *addr) vs arch/x86/include/asm/bitops.h: set_bit(long nr, volatile unsigned long *addr) This difference is causes complaints, changing

Re: [Regression?] 1ea0ce4069 ("selinux: allow changing labels for cgroupfs") stops Android from booting

2017-03-09 Thread Greg KH
On Mon, Feb 27, 2017 at 04:23:28PM -0500, Stephen Smalley wrote: > On Mon, 2017-02-27 at 12:48 -0800, Nick Kralevich wrote: > > On Mon, Feb 27, 2017 at 11:53 AM, Stephen Smalley > > wrote: > > > > > > > > > > > I can reproduce it on angler (with a back-port of just that > >

Re: [PATCH 1/2] i2c: do not leave semaphore armed when copying properties fails

2017-03-09 Thread Dmitry Torokhov
Hi Wolfram, > On Wed, Mar 08, 2017 at 10:41:01AM -0800, Dmitry Torokhov wrote: > > We should not leave i2c_register_board_info() early, without unlocking the > > __i2c_board_lock. > > > > Fixes: b0c1e95ab44f ("i2c: copy device properties when using ...") > > Signed-off-by: Dmitry Torokhov

Re: [GIT pull] CPU hotplug updates for 4.9

2017-03-09 Thread Bart Van Assche
On Thu, 2017-03-09 at 11:22 +0100, Thomas Gleixner wrote: > > In contrast with previous tests this morning I have been able to reproduce > > this hang with kernel v4.10. So it's not a kernel v4.10 regression. But the > > hang did not occur in a test with kernel v4.9.7. I assume this means that > >

Re: [PATCH 00/17] fs, btrfs refcount conversions

2017-03-09 Thread David Sterba
On Tue, Mar 07, 2017 at 03:49:52PM +0800, Qu Wenruo wrote: > >>> If the patches pass all tests on your side, could you please take them in > >>> and > >> propagate further? > >>> I will continue with other kernel subsystems. > >> > >> The patchset itself looks like a common cleanup, while I did

Re: RCU used on incoming CPU before rcu_cpu_starting() called

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 04:12:55PM +0100, Peter Zijlstra wrote: > On Thu, Mar 09, 2017 at 02:08:23PM +0100, Thomas Gleixner wrote: > > On Wed, 8 Mar 2017, Paul E. McKenney wrote: > > > [ 30.694013] lockdep_rcu_suspicious+0xe7/0x120 > > > [ 30.694013] get_work_pool+0x82/0x90 > > > [

Re: [PATCH RESEND] drm: dw_hdmi: Don't rely on the status of the bridge for updating HPD

2017-03-09 Thread Romain Perier
Hello, Le 09/03/2017 à 15:28, Jose Abreu a écrit : > Hi Romain, > > > On 08-03-2017 08:15, Romain Perier wrote: >> Currently, the irq handler that monitores changes for HPD anx RX_SENSE >> relies on the status of the bridge for updating the status of the HPD. >> The update is done only when the

Re: Kernel panic on Lenovo X60 with tracing enabled

2017-03-09 Thread Josh Poimboeuf
On Thu, Mar 09, 2017 at 09:36:30AM -0500, Steven Rostedt wrote: > On Thu, 9 Mar 2017 13:12:28 +0100 > Paul Menzel wrote: > > > Dear Steven, dear Ingo, > > > > > > Hopefully, I am contacting the right people for my issue. > > > > Suspending a system with Linux 4.9.13

Re: [PATCH 1/6] staging: speakup: Add blank line after function/struct/union/enum declarations

2017-03-09 Thread Greg KH
On Thu, Mar 09, 2017 at 07:33:50PM +0530, Arushi Singhal wrote: > > > On Thu, Mar 9, 2017 at 6:55 PM, Greg KH wrote: > > On Sat, Mar 04, 2017 at 01:47:04AM +0530, Arushi Singhal wrote: > > This patch fixes the warnings reported by checkpatch.pl > > for

Re: [block] BUG: KASAN: use-after-free in rb_erase+0x1431/0x1970

2017-03-09 Thread Jens Axboe
On 03/09/2017 08:16 AM, Mike Galbraith wrote: > Greetings, > > Building master.today with kasan enabled (because I saw the same when > trying out kasan on rt), the below fell out. > > Config is enterprise based (tune for maximum build time), plus PREEMPT. > > [5.335444] >

[PATCH 01/19] Coccinelle: locks: identify callers of spin_lock{,_irq,_irqsave}() in irqchip implementations

2017-03-09 Thread Julia Cartwright
On PREEMPT_RT, the spinlock_t type becomes an object which sleeps under contention. The codepaths used to support scheduling (irq dispatching, arch code, the scheduler, timers) therefore must make use of the raw_spin_lock{,_irq,_irqsave}() variations which preserve the non-sleeping spinlock

[PATCH 4/4] staging: speakup: Placed Logical on the previous line

2017-03-09 Thread Arushi Singhal
Placed Logical continuations on the previous line as reported by checkpatch.pl. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/speakup/main.c

[PATCH 1/4] staging: speakup: Comparison to NULL could be written

2017-03-09 Thread Arushi Singhal
Fixed coding style for null comparisons in speakup driver to be more consistant with the rest of the kernel coding style. Signed-off-by: Arushi Singhal --- changes in v2 - fixed coding style error and upto the coding style. ---

[PATCH 06/19] gpio: ath79: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The ath79 gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

Re: [intel-sgx-kernel-dev] SGX notes from KS/LPC

2017-03-09 Thread Andy Lutomirski
On Wed, Mar 8, 2017 at 10:03 PM, Kai Huang wrote: > === Virtualization considerations === At some point, someone will need to > decide what restrictions if any KVM should impose on its guests' use of SGX. > For example, should KVM limit the set of SGXLEPUBKEYHASH values that

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Peter Zijlstra
On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > The v4.11-rc1 kernel emits the following splat in some configurations: > > [ 43.681891] BUG: using smp_processor_id() in preemptible [] code: > kworker/3:1/49 > [ 43.682511] caller is debug_smp_processor_id+0x17/0x20

Re: RCU used on incoming CPU before rcu_cpu_starting() called

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 02:08:23PM +0100, Thomas Gleixner wrote: > On Wed, 8 Mar 2017, Paul E. McKenney wrote: > > [ 30.694013] lockdep_rcu_suspicious+0xe7/0x120 > > [ 30.694013] get_work_pool+0x82/0x90 > > [ 30.694013] __queue_work+0x70/0x5f0 > > [ 30.694013] queue_work_on+0x33/0x70 >

[PATCH 2/2] coresight: Fix reference count for software sources

2017-03-09 Thread Suzuki K Poulose
For software sources (i.e STM), there could be multiple agents generating the trace data, unlike the ETMs. So we need to properly do the accounting for the active number of users to disable the device when the last user goes away. Right now, the reference counting is broken for sources as we skip

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-09 Thread Akshay Bhat
Hi Wolfgang, On 03/09/2017 09:45 AM, Wolfgang Grandegger wrote: > Hello Akshay, > > Am 09.03.2017 um 13:34 schrieb Akshay Bhat: >> >> Hi Wolfgang, >> >> Good question. I have not worked with MPC251x but the HI-311x performs >> much better because HI-3110 features: >> 8 message FIFO (as opposed

[PATCH] cpufreq: intel_pstate: Drop redundant wrapper function

2017-03-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki intel_pstate_hwp_set_policy() is a wrapper around intel_pstate_hwp_set(), but the only value it adds is to check hwp_active before calling the latter and one of its two callers has already checked hwp_active before that happens, so in that code

[PATCH 1/2] coresight: Disable the path only when the source is disabled

2017-03-09 Thread Suzuki K Poulose
With a coresight tracing session, the components along the path from the source to sink are disabled after the source is disabled. However, if the source was not actually disabled due to active users, we should not disable the components in the path. Cc: Mathieu Poirier

Re: [PATCH v2 6/7] xen/9pfs: receive responses

2017-03-09 Thread Boris Ostrovsky
On 03/08/2017 06:58 PM, Stefano Stabellini wrote: > Upon receiving a notification from the backend, schedule the > p9_xen_response work_struct. p9_xen_response checks if any responses are > available, if so, it reads them one by one, calling p9_client_cb to send > them up to the 9p layer

Re: [PATCH] cpufreq: User/admin documentation update and consolidation

2017-03-09 Thread Rafael J. Wysocki
+linux-doc (sorry for omitting it in the first place) On Thursday, March 09, 2017 04:28:32 PM Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The user/admin documentation of cpufreq is badly outdated. It > conains stale and/or inaccurate information along

[tip:WIP.sched/core 8/11] htmldocs: include/linux/wait.h:584: warning: No description found for parameter 'wq'

2017-03-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 0605ab6fd5aa0c78133fc6611fa5e4f17e46c396 commit: c98f1694cb0c48b8f100596e4b2d54b82b5af37b [8/11] sched/wait: Re-adjust macro line continuation backslashes in reproduce: make htmldocs All warnings (new

[PATCH] staging: speakup: fix "Alignment match open parenthesis"

2017-03-09 Thread Arushi Singhal
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: Arushi Singhal --- drivers/staging/speakup/i18n.c | 2 +- drivers/staging/speakup/kobjects.c | 40 +++--- 2 files changed, 21

[PATCH] security/Kconfig: further restrict HARDENED_USERCOPY

2017-03-09 Thread Tycho Andersen
It doesn't make sense to have HARDENED_USERCOPY when either /dev/kmem is enabled or /dev/mem can be used to read kernel memory. v2: add !MMU depend as well Signed-off-by: Tycho Andersen CC: Kees Cook CC: "Serge E. Hallyn" CC: James

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-09 Thread Wolfgang Grandegger
Hello, doing a quick review... I realized a few issues... Am 17.01.2017 um 20:22 schrieb Akshay Bhat: This patch adds support for the Holt HI-311x CAN controller. The HI311x CAN controller is capable of transmitting and receiving standard data frames, extended data frames and remote frames.

[PATCH v3 1/7] perf annotate: Use build-id dir when reading link name

2017-03-09 Thread Taeung Song
In dso__disassemble_filename() when reading link name from a build-id file, it is failed each time because a build-id file gotten from dso__build_id_filename() is not symbolic link. So use build-id directory path instead of a build-id file name. For example, if build-id file name gotten from

[PATCH v3 3/7] perf annotate: Fix missing setting nr samples on source_line

2017-03-09 Thread Taeung Song
If using --show-total-period with -l, disasm__calc_percent() use a 'samples' array of source_line. But samples[evidx].nr is always zero so print 0 values as below. Before: $ perf annotate --stdio -l --show-total-period ... 0 :400816: push %rbp 0 :400817:

Re: [PATCH] [media] v4l2-dv-timings: Introduce v4l2_calc_fps()

2017-03-09 Thread Hans Verkuil
On 09/03/17 16:15, Jose Abreu wrote: > Hi Hans, > > > Thanks for the review! > > > On 09-03-2017 12:29, Hans Verkuil wrote: >> On 07/03/17 17:48, Jose Abreu wrote: >>> HDMI Receivers receive video modes which, according to >>> CEA specification, can have different frames per second >>> (fps)

Re: [PATCH] i2c: exynos5: Avoid transaction timeouts due TRANSFER_DONE_AUTO not set

2017-03-09 Thread Wolfram Sang
On Thu, Mar 09, 2017 at 11:05:33AM -0300, Javier Martinez Canillas wrote: > After commit 7999eecb7e56 ("i2c: exynos5: fix arbitration lost handling"), > some I2C transactions are failing because the TRANSFER_DONE_AUTO field is > not set in the I2C_TRANS_STATUS register so the i2c->status value is

Re: [PATCHv2 4/5] mfd: altr_a10sr: Add Arria10 DevKit Reset Controller

2017-03-09 Thread Thor Thayer
Hi Lee, On 02/28/2017 08:42 AM, Philipp Zabel wrote: On Wed, 2017-02-22 at 11:10 -0600, thor.tha...@linux.intel.com wrote: From: Thor Thayer Add Peripheral PHY Reset Controller to the Arria10 Development Kit System Resource Chip's MFD. Signed-off-by: Thor Thayer

Re: [PATCH] ASoC: es8328: Remove extra blank lines

2017-03-09 Thread Romain Perier
Hello, Le 25/02/2017 à 11:42, Narcisa Ana Maria Vasile a écrit : > This was reported by checkpatch.pl > > Signed-off-by: Narcisa Ana Maria Vasile > --- > sound/soc/codecs/es8328.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/sound/soc/codecs/es8328.c

Re: [RFC PATCH, -v2] sched/wait: Introduce new, more compact wait_event*() primitives

2017-03-09 Thread Peter Zijlstra
Here; I rewrote that so that my brain doesn't go wtf, every time I look at it ;-) Hope it does the same for you. --- include/linux/wait.h | 31 +--- kernel/sched/wait.c | 140 +-- 2 files changed, 127 insertions(+), 44 deletions(-)

Re: [patch 0/3] speakup: support 16bit unicode screen reading

2017-03-09 Thread Greg Kroah-Hartman
On Sat, Mar 04, 2017 at 03:01:54PM +0100, Samuel Thibault wrote: > Hello, > > This patch series adds 16bit unicode support to speakup, through three > patches: > > - extend synth buffer to 16bit unicode characters > - convert screen reading to 16bit characters > - add unicode variant of

Re: [RFC PATCH v2 12/32] x86: Add early boot support when running with SEV active

2017-03-09 Thread Borislav Petkov
On Thu, Mar 09, 2017 at 05:13:33PM +0100, Paolo Bonzini wrote: > This is not how you check if running under a hypervisor; you should > check the HYPERVISOR bit, i.e. bit 31 of cpuid(1).ecx. This in turn > tells you if leaf 0x4000 is valid. Ah, good point, I already do that in the microcode

[PATCH 0/4] staging: speakup: checkpatch guided cleanups

2017-03-09 Thread Arushi Singhal
Improve readability by fixing multiple checkpatch.pl issues in speakup driver. Arushi Singhal (4): staging: speakup: Comparison to NULL could be written staging: speakup:indentation should use tabs staging: speakup: Alignment match open parenthesis staging: speakup: Placed Logical on the

[PATCHv3 0/6] x86/platform/uv/BAU: UV4 message completion and initialization updates

2017-03-09 Thread Andrew Banman
The following patch series adds the necessary functionality to make the BAU on UV4 operational. The purpose of these patches is to implement the correct message completion logic on UV4. Also included is a bug fix to add a field to the INTD payload. This is needed to verify the source of each

[PATCH 10/19] gpio: ws16c48: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The ws16c48 gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT

Re: [PATCH 1/3] ata: add Palmchip BK3710 PATA controller driver

2017-03-09 Thread Sergei Shtylyov
On 03/09/2017 04:01 PM, Bartlomiej Zolnierkiewicz wrote: Add Palmchip BK3710 PATA controller driver. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/Kconfig | 9 ++ drivers/ata/Makefile | 1 + drivers/ata/pata_bk3710.c | 395

[PATCH 03/19] alpha: marvel: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The alpha/marvel code currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

[PATCH 3/4] staging: speakup: Alignment match open parenthesis

2017-03-09 Thread Arushi Singhal
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: Arushi Singhal --- changes in v2 - Aligned the lines which are not aligned in previous patch. --- drivers/staging/speakup/i18n.c | 2 +-

Re: RCU used on incoming CPU before rcu_cpu_starting() called

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 07:29:26AM -0800, Paul E. McKenney wrote: > On Thu, Mar 09, 2017 at 04:12:55PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 09, 2017 at 02:08:23PM +0100, Thomas Gleixner wrote: > > > On Wed, 8 Mar 2017, Paul E. McKenney wrote: > > > > [ 30.694013]

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Sergei Shtylyov
On 03/09/2017 03:24 PM, Sergei Shtylyov wrote: diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index 023480b75244..60a1f23890cd 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c @@ -744,7 +744,7

Re: [PATCH 1/2] staging: media: Clean up tests if NULL returned on failure

2017-03-09 Thread Greg KH
On Sat, Mar 04, 2017 at 12:25:18AM +0530, simran singhal wrote: > Some functions like kmalloc/kzalloc return NULL on failure. > When NULL represents failure, !x is commonly used. > > This was done using Coccinelle: > @@ > expression *e; > identifier l1; > @@ > > e =

Re: [PATCH] fs/9p: Compare qid.path in v9fs_test_inode

2017-03-09 Thread Latchesar Ionkov
Reviewed-by: Latchesar Ionkov On Tue, Feb 21, 2017 at 6:06 PM, Tuomas Tynkkynen wrote: > Commit fd2421f54423 ("fs/9p: When doing inode lookup compare qid details > and inode mode bits.") transformed v9fs_qid_iget() to use iget5_locked() > instead of

[PATCH v1] usb: gadget: udc: atmel: Remove an unused local variable

2017-03-09 Thread Romain Izard
The local variable ept_cfg is not used anymore in usba_ep_enable. Use ep->ept_cfg in the debug function to remove a warning when building with dynamic debug enabled. Signed-off-by: Romain Izard Fixes: 741d2558bf0a ("usb: gadget: udc: atmel: Update endpoint allocation

[PATCH v3 0/7] perf annotate: Fixes & Introduce --source-only and new source code view

2017-03-09 Thread Taeung Song
Hi, Currently perf-annotate have several problems, limitaions and needs regaring line numbers and source code view. - Wrong line numbers on perf-annotate (both stdio and TUI) - Wrong sum of overhead(percent) matching source lines - Limitaions because of a dependence of 'objdump -S' - A

Re: v4.10: kernel stack frame pointer .. has bad value (null)

2017-03-09 Thread Peter Zijlstra
On Wed, Mar 08, 2017 at 10:22:53PM +0100, Pavel Machek wrote: > > Well, I have fast CPUs, but most of the time they just compile > stuff. Especially bisect is compile-heavy. I suspect going back to > gcc-3.2 would bring me bigger advantages than CPU upgrade... > But note that 3.2 compiles a

[GIT PULL] Block fixes for 4.11-rc2

2017-03-09 Thread Jens Axboe
Hi Linus, Sending this a bit sooner than I otherwise would have, as a fix in the merge window had some unfortunate issues and side effects for some folks. This pull request contains: - Fixes from Jan for the bdi registration/unregistration. These have been tested by the various parties

[PATCH] staging: ks7010: removed code in comments.

2017-03-09 Thread Arushi Singhal
Commenting Code Is a Bad Idea. Comments are their to explain the code and how the code achieves its goal and as codes in the comments does not explain what the code is doing so there is no use of commenting them. So in this patch codes in the comments are removed. Signed-off-by: Arushi Singhal

[net-next v2 09/10] dpaa_eth: enable multiple Tx traffic classes

2017-03-09 Thread Madalin Bucur
From: Camelia Groza Implement the setup_tc ndo to configure prioritised Tx traffic classes. Priorities range from 0 (lowest) to 3 (highest). The driver assigns NR_CPUS queues to each traffic class. Signed-off-by: Camelia Groza Signed-off-by:

Hello my dear friend

2017-03-09 Thread Mr Ami Bahi
Hello my dear friend My name is Mr. Ami Bahi Aman a banker working with the United Bank of Africa UBA Burkinafaso. I have decided to seek a confidential co-operation with you in the execution of the deal described here-under for our both mutual benefit and I hope you will keep it a top secret

Re: [RFC PATCH v2 12/32] x86: Add early boot support when running with SEV active

2017-03-09 Thread Paolo Bonzini
On 09/03/2017 15:07, Borislav Petkov wrote: > + /* Check if running under a hypervisor */ > + eax = 0x4000; > + ecx = 0; > + native_cpuid(, , , ); This is not how you check if running under a hypervisor; you should check the HYPERVISOR bit, i.e. bit 31 of cpuid(1).ecx. This

[PATCH 16/19] pinctrl: bcm: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The bcm pinctrl drivers currently implement an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

Re: [PATCH 2/2] blk-mq: start to freeze queue just after setting dying

2017-03-09 Thread Bart Van Assche
On Thu, 2017-03-09 at 21:02 +0800, Ming Lei wrote: > Before commit 780db2071a(blk-mq: decouble blk-mq freezing > from generic bypassing), the dying flag is checked before > entering queue, and Tejun converts the checking into .mq_freeze_depth, > and assumes the counter is increased just after

[PATCH v1] Revert "clocksource/drivers/tcb_clksrc: Use 32 bit tcb as sched_clock"

2017-03-09 Thread Romain Izard
This reverts commit 7b9f1d16e6d1 ("clocksource/drivers/tcb_clksrc: Use 32 bit tcb as sched_clock"). In the current state, the kernel warns against a late registration of the new sched_clock, the printk clock resets after only a few minutes, and it seems that scheduling can be affected as well.

Re: [PATCH] ahci: qoriq: correct the sata ecc setting error

2017-03-09 Thread Tejun Heo
On Thu, Mar 09, 2017 at 05:13:29PM +0800, Yuantian Tang wrote: > Sata ecc is controlled by only 1 bit which is 24bit in big-endian > in ecc register. So only setting 24bit to disable sata ecc prevents > other bits from being overwritten in ecc register. > > Signed-off-by: Tang Yuantian

Re: Dell Inspiron 5558/0VNM2T hangs at resume from suspend when USB 3 is enabled

2017-03-09 Thread Diego Viola
On Thu, Mar 9, 2017 at 11:11 AM, Diego Viola wrote: > On Wed, Mar 8, 2017 at 5:40 PM, Diego Viola wrote: >> Hi Greg, >> >> On Wed, Mar 8, 2017 at 5:15 PM, Greg KH wrote: >>> On Wed, Mar 08, 2017 at 03:49:19PM -0300, Diego

  1   2   3   4   5   6   7   8   9   10   >