Re: [PATCH 2/2] tpm: replace dynamically allocated bios_dir with a static array

2016-10-01 Thread Jason Gunthorpe
On Sat, Oct 01, 2016 at 03:41:17PM +0300, Jarkko Sakkinen wrote: > - bin_file = > + chip->bios_dir[cnt] = > securityfs_create_file("binary_bios_measurements", > -S_IRUSR | S_IRGRP, tpm_dir, > +S_IRUSR | S_IRGRP, chip-

Re: [PATCH v5 1/9] sched: Extend scheduler's asym packing

2016-10-01 Thread Nilay Vaish
On 1 October 2016 at 06:45, Srinivas Pandruvada wrote: > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > index e86c4a5..08135ca 100644 > --- a/kernel/sched/core.c > +++ b/kernel/sched/core.c > @@ -6237,7 +6237,25 @@ static void init_sched_groups_capacity(int cpu, struct > sched_domain *s

RTC batt_status always okay

2016-10-01 Thread Peter Miller
Hi everybody, can anyone tell me why the batt_status in /proc/drivers/rtc always returns okay? I measured the RTC battery voltage and it is beyond dead (0.0004V). I tested it on an IBM R51 and Lenovo R61 laptop. It even returns okay, when I boot without RTC battery at all. Thanks in advance

Re: [RFC PATCH v3 2/2] usb: typec: Type-C Port Controller Interface driver (tcpci)

2016-10-01 Thread Guenter Roeck
On Fri, Sep 30, 2016 at 5:12 PM, Jun Li wrote: [ ... ] >> >> >> + err = devm_request_threaded_irq(tcpci->dev, client->irq, NULL, >> >> + tcpci_irq, >> >> + IRQF_TRIGGER_FALLING, >> > >> > IRQF_ONESHOT is required, and do we need the irq trigger to be >> > IR

Re: [RFC] arm64: Enforce observed order for spinlock and data

2016-10-01 Thread bdegraaf
On 2016-09-30 15:32, Mark Rutland wrote: On Fri, Sep 30, 2016 at 01:40:57PM -0400, Brent DeGraaf wrote: Prior spinlock code solely used load-acquire and store-release semantics to ensure ordering of the spinlock lock and the area it protects. However, store-release semantics and ordinary stores

Re: [PATCH v5 2/2] iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8

2016-10-01 Thread Jonathan Cameron
On 28/09/16 19:00, William Breathitt Gray wrote: > The ACCES 104-QUAD-8 is a general purpose quadrature encoder > counter/interface board. The 104-QUAD-8 is capable of monitoring the > outputs of eight encoders via four on-board LSI/CSI LS7266R1 24-bit > dual-axis quadrature counter chips. Core fun

Re: [PATCH v5 1/2] iio: Implement counter channel type and info constants

2016-10-01 Thread Jonathan Cameron
On 28/09/16 18:59, William Breathitt Gray wrote: > Quadrature encoders, such as rotary encoders and linear encoders, are > devices which are capable of encoding the relative position and > direction of motion of a shaft. This patch introduces several IIO > constants for supporting quadrature encode

Re: [RFC] arm64: Enforce observed order for spinlock and data

2016-10-01 Thread bdegraaf
On 2016-09-30 15:05, Peter Zijlstra wrote: On Fri, Sep 30, 2016 at 01:40:57PM -0400, Brent DeGraaf wrote: Prior spinlock code solely used load-acquire and store-release semantics to ensure ordering of the spinlock lock and the area it protects. However, store-release semantics and ordinary store

Re: [RFC] arm64: Enforce observed order for spinlock and data

2016-10-01 Thread bdegraaf
On 2016-09-30 14:43, Robin Murphy wrote: +* so LSE needs an explicit barrier here as well. Without this, the +* changed contents of the area protected by the spinlock could be +* observed prior to the lock. What is that last sentence supposed to mean? If the lock is fre

Re: [PATCH V4 05/10] dmaengine: qcom_hidma: make pending_tre_count atomic

2016-10-01 Thread Sinan Kaya
On 10/1/2016 2:19 AM, Vinod Koul wrote: >> Making it atomic so that it can be updated from multiple contexts. > How is it multiple contexts? It's either existing context of MSI, not both! > I was trying to mean multiple processor contexts here. The driver allocates 11 MSI interrupts. Each MSI int

Re: [PATCH V4 04/10] dmaengine: qcom_hidma: configure DMA and MSI for OF

2016-10-01 Thread Sinan Kaya
On 10/1/2016 2:17 AM, Vinod Koul wrote: > On Wed, Sep 28, 2016 at 10:12:41PM -0400, Sinan Kaya wrote: >> Configure the DMA bindings for the device tree based firmware. >> >> Signed-off-by: Sinan Kaya >> --- >> drivers/dma/qcom/hidma_mgmt.c | 5 - >> 1 file changed, 4 insertions(+), 1 deletion

Re: [PATCH 1/2] net/mlx5e: shut up maybe-uninitialized warning

2016-10-01 Thread Or Gerlitz
On Fri, Sep 30, 2016 at 7:17 PM, Arnd Bergmann wrote: > Build-testing this driver with -Wmaybe-uninitialized gives a new > false-positive > warning that I can't really explain: > > drivers/net/ethernet/mellanox/mlx5/core/en_tc.c: In function > 'mlx5e_configure_flower': > drivers/net/ethernet/mel

[PATCH 15/15] md-cluster: Delete unnecessary braces in unlock_all_bitmaps()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 16:15:55 +0200 Do not use curly brackets at one source code place where a single statement should be sufficient. Signed-off-by: Markus Elfring --- drivers/md/md-cluster.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drive

[PATCH 13/15] md-cluster: Less function calls in join() after error detection

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 15:40:32 +0200 A few resource release functions were called in some cases by the join() function during error handling even if the passed data structure member contained a null pointer. * Adjust jump targets according to the Linux coding style conventio

[PATCH 14/15] md-cluster: Less function calls in lockres_init() after error detection

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 16:01:05 +0200 The kfree() function was called in up to three cases by the lockres_init() function during error handling even if the passed data structure member (or variable) contained a null pointer. Adjust jump targets according to the Linux coding s

[PATCH 12/15] md-cluster: Rename a jump label in area_resyncing()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 14:38:12 +0200 Adjust a jump label according to the Linux coding style convention Signed-off-by: Markus Elfring --- drivers/md/md-cluster.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/md-cluster.c b/drivers/md/md

[PATCH 11/15] md-cluster: Delete four error messages for a failed memory allocation

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 13:46:20 +0200 Omit extra messages for a memory allocation failure in three functions. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- drivers/md/md-cluster.c | 16

[PATCH 10/15] md-cluster: Delete an unnecessary variable initialisation in lockres_init()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 13:07:52 +0200 The local variable "res" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/md/md-cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH 09/15] md-cluster: Improve another size determination in lockres_init()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 13:02:18 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mark

[PATCH 08/15] md-cluster: Improve determination of sizes in read_resync_info()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 12:52:58 +0200 Replace the specification of data structures by either a pointer dereference or a variable name as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convent

[PATCH 07/15] md-cluster: Improve another size determination in process_suspend_info()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 12:42:50 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mark

[PATCH 06/15] md-cluster: Rename a jump label in recv_daemon()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 12:36:30 +0200 Adjust a jump label according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/md/md-cluster.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/md-cluster.c b/drivers/md/m

[PATCH 05/15] md-cluster: Improve another size determination in recv_daemon()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 12:28:19 +0200 Replace the specification of a data structure by a variable name as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer. Signed-off-by: Markus Elfring --- drivers/md/md-cluster.c | 2 +- 1 fi

[PATCH 04/15] md-cluster: Improve another size determination in __sendmsg()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 12:21:48 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mark

[PATCH 03/15] md-cluster: Improve another size determination in join()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 11:42:47 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mark

[PATCH 02/15] md-cluster: Improve another size determination in resync_info_update()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 11:37:24 +0200 Replace the specification of a data structure by a variable name as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer. Signed-off-by: Markus Elfring --- drivers/md/md-cluster.c | 2 +- 1 fi

[PATCH 01/15] md-cluster: Use kcalloc() in lock_all_bitmaps()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 11:18:40 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kcalloc". This issue was detected by using the Coccinelle softwa

[PATCH 00/15] md-cluster: Fine-tuning for ten function implementations

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 16:38:17 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (15): Use kcalloc() in lock_all_bitmaps() Improve another size determination in resync_info_update() Improve another size determinat

[PATCH 2/2] slub: move synchronize_sched out of slab_mutex on shrink

2016-10-01 Thread Vladimir Davydov
synchronize_sched() is a heavy operation and calling it per each cache owned by a memory cgroup being destroyed may take quite some time. What is worse, it's currently called under the slab_mutex, stalling all works doing cache creation/destruction. Actually, there isn't much point in calling sync

[PATCH 1/2] mm: memcontrol: use special workqueue for creating per-memcg caches

2016-10-01 Thread Vladimir Davydov
Creating a lot of cgroups at the same time might stall all worker threads with kmem cache creation works, because kmem cache creation is done with the slab_mutex held. To prevent that from happening, let's use a special workqueue for kmem cache creation with max in-flight work items equal to 1. Li

Re: [PATCHv4 00/57] perf c2c: Add new tool to analyze cacheline contention on NUMA systems

2016-10-01 Thread Joe Mario
On 09/29/2016 05:19 AM, Peter Zijlstra wrote: What I want is a tool that maps memop events (any PEBS memops) back to a 'type::member' form and sorts on that. That doesn't rely on the PEBS 'Data Linear Address' field, as that is useless for dynamically allocated bits. Instead it would use the I

Re: [PATCH 0/2] Clean up handling of event log files

2016-10-01 Thread Jarkko Sakkinen
Please ignore this version. I was going to do a '--dry-run'. Sorry :( Doing resend later on once I've tested the changes. /Jarkko On Sat, Oct 01, 2016 at 03:41:15PM +0300, Jarkko Sakkinen wrote: > Meld a common function for opening measurements files and keep the > dentries in a static array. >

[PATCH 1/2] tpm: define a generic open() method for ascii & bios measurements

2016-10-01 Thread Jarkko Sakkinen
From: Nayna Jain open() method for event log ascii and binary bios measurements file operations are very similar. This patch refactors the code into a single open() call by passing seq_operations as i_node->private data. Suggested-by: Jason Gunthorpe Signed-off-by: Nayna Jain Reviewed-by: Jark

[PATCH 2/2] tpm: replace dynamically allocated bios_dir with a static array

2016-10-01 Thread Jarkko Sakkinen
This commit is based on a commit by Nayna Jain. Replaced dynamically allocated bios_dir with a static array as the size is always constant. Suggested-by: Jason Gunthorpe Signed-off-by: Nayna Jain Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 9 +++--- drivers/char/tpm/t

[PATCH 0/2] Clean up handling of event log files

2016-10-01 Thread Jarkko Sakkinen
Meld a common function for opening measurements files and keep the dentries in a static array. Jarkko Sakkinen (1): tpm: replace dynamically allocated bios_dir with a static array Nayna Jain (1): tpm: define a generic open() method for ascii & bios measurements drivers/char/tpm/tpm-chip.c

Re: [PATCH 5/6] ARM: davinci: enable the LCDC DRM driver in defconfig

2016-10-01 Thread Sekhar Nori
On Thursday 29 September 2016 10:01 PM, Bartosz Golaszewski wrote: > With the device tree changes for tilcdc in place, we can now enable > the driver by default in the davinci_all defconfig file. > > Signed-off-by: Bartosz Golaszewski Applied to v4.10/defconfig branch of my tree. Adjusted the su

[PATCH v2 5/6] arm: dts: imx7-colibri: Use pwm polarity control

2016-10-01 Thread Bhuvanchandra DV
Configure PWM polarity control. Signed-off-by: Bhuvanchandra DV --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index a9cc657..2af5e3e 100644 --- a/arch/arm/boot

[PATCH v2 0/6] Support PWM polarity control

2016-10-01 Thread Bhuvanchandra DV
Changes since v2: - Picked the stalled patchset[1] from Lothar Wassmann which adds the basic support for polarity control on imx-pwm driver and adds backward compatibility support for devices which does not have polarity control feature. Changes since Lothars v6: - Squash Lukasz patch[2]. [

[PATCH v2 1/6] pwm: print error messages with pr_err() instead of pr_debug()

2016-10-01 Thread Bhuvanchandra DV
From: Lothar Wassmann Make the messages that are printed in case of fatal errors actually visible to the user without having to recompile the driver with debugging enabled. Signed-off-by: Lothar Waßmann Signed-off-by: Bhuvanchandra DV --- drivers/pwm/core.c | 4 ++-- 1 file changed, 2 inserti

[PATCH v2 2/6] pwm: core: make the PWM_POLARITY flag in DTB optional

2016-10-01 Thread Bhuvanchandra DV
From: Lothar Wassmann Change the pwm chip driver registration, so that a chip driver that supports polarity inversion can still be used with DTBs that don't provide the 'PWM_POLARITY' flag. This is done to provide polarity inversion support for the pwm-imx driver without having to modify all exi

[PATCH v5 4/9] x86: Enable Intel Turbo Boost Max Technology 3.0

2016-10-01 Thread Srinivas Pandruvada
From: Tim Chen On platforms supporting Intel Turbo Boost Max Technology 3.0, the maximum turbo frequencies of some cores in a CPU package may be higher than for the other cores in the same package. In that case, better performance (and possibly lower energy consumption as well) can be achieved b

[PATCH v5 3/9] x86/topology: Define x86's arch_update_cpu_topology

2016-10-01 Thread Srinivas Pandruvada
From: Tim Chen The scheduler calls arch_update_cpu_topology() to check whether the scheduler domains have to be rebuilt. So far x86 has no requirement for this, but the upcoming ITMT support makes this necessary. Request the rebuild when the x86 internal update flag is set. Suggested-by: Morte

[PATCH v2 3/6] pwm: imx: support output polarity inversion

2016-10-01 Thread Bhuvanchandra DV
From: Lothar Wassmann The i.MX pwm unit on i.MX27 and newer SoCs provides a configurable output polarity. This patch adds support to utilize this feature where available. Signed-off-by: Lothar Waßmann Signed-off-by: Lukasz Majewski Signed-off-by: Bhuvanchandra DV Acked-by: Shawn Guo Reviewed

[PATCH v2 4/6] arm: dts: imx7: Update #pwm-cells for PWM polarity control

2016-10-01 Thread Bhuvanchandra DV
Update #pwm-cells to 3 in order to support PWM signal polarity control. Signed-off-by: Bhuvanchandra DV Acked-by: Rob Herring --- arch/arm/boot/dts/imx7s.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi

[PATCH v5 7/9] acpi: bus: Enable HWP CPPC objects

2016-10-01 Thread Srinivas Pandruvada
Need to set platform wide _OSC bits to enable CPPC and CPPC version 2. If platform supports CPPC, then BIOS exposes CPPC tables. The primary reason to enable CPPC support is to get the maximum performance of each CPU to check and enable Intel Turbo Boost Max Technology 3.0 (ITMT). Signed-off-by:

[PATCH v5 8/9] acpi: bus: Set _OSC for diverse core support

2016-10-01 Thread Srinivas Pandruvada
Set the OSC_SB_CPC_DIVERSE_HIGH_SUPPORT (bit 12) to enable diverse core support. This is required to inform BIOS the support of Intel Turbo Boost Max Technology 3.0 feature. Signed-off-by: Srinivas Pandruvada --- drivers/acpi/bus.c | 3 +++ include/linux/acpi.h | 1 + 2 files changed, 4 inser

[PATCH v5 6/9] x86/sched: Add SD_ASYM_PACKING flags to x86 ITMT CPU

2016-10-01 Thread Srinivas Pandruvada
From: Tim Chen Some Intel cores in a package can be boosted to a higher turbo frequency with ITMT 3.0 technology. The scheduler can use the asymmetric packing feature to move tasks to the more capable cores. If ITMT is enabled, add SD_ASYM_PACKING flag to the thread and core sched domains to ena

[PATCH v5 1/9] sched: Extend scheduler's asym packing

2016-10-01 Thread Srinivas Pandruvada
From: Tim Chen We generalize the scheduler's asym packing to provide an ordering of the cpu beyond just the cpu number. This allows the use of the ASYM_PACKING scheduler machinery to move loads to preferred CPU in a sched domain. The preference is defined with the cpu priority given by arch_asym

[PATCH v5 5/9] x86/sysctl: Add sysctl for ITMT scheduling feature

2016-10-01 Thread Srinivas Pandruvada
From: Tim Chen Intel Turbo Boost Max Technology 3.0 (ITMT) feature allows some cores to be boosted to higher turbo frequency than others. Add /proc/sys/kernel/sched_itmt_enabled so operator can enable/disable scheduling of tasks that favor cores with higher turbo boost frequency potential. By d

[PATCH v5 9/9] cpufreq: intel_pstate: Use CPPC to get max performance

2016-10-01 Thread Srinivas Pandruvada
From: "Rafael J. Wysocki" This change uses acpi cppc_lib interface to get CPPC performance limits and calls scheduler interface to update per cpu highest priority. If there is a difference in highest performance of each CPUs, call scheduler interface to enable ITMT feature for only one time. Her

[PATCH v5 2/9] x86/topology: Provide topology_num_packages()

2016-10-01 Thread Srinivas Pandruvada
From: Tim Chen Returns number of cpu packages discovered. This information is needed to determine the size of the platform and decide if the Intel Turbo Boost Max Technology 3.0 (ITMT) feature should be turned on by default. The ITMT feature is more effective on single socket client like system

[PATCH v5 0/9] Support Intel® Turbo Boost Max Technology 3.0

2016-10-01 Thread Srinivas Pandruvada
v5: - Simplify intel_pstate for enabling ITMT feature - Put x86_sched_itmt_flags related functions under proper CONFIG_SCHED_MC/SMT flags - Comment to note that rebuild_sched_domain is not needed after updating CPU priorities. - Define sysctl_sched_itmt_enabled to 0 when ITMT is not used in arch/x8

Re: [PATCH] iio: Declare event_attrs field of iio_info structure as const

2016-10-01 Thread Bhumika Goyal
On Sat, Oct 1, 2016 at 4:39 PM, Jonathan Cameron wrote: > On 01/10/16 10:57, Bhumika Goyal wrote: >> The event_attrs field of iio_info structure is only initialized once >> whenever an object of iio_info is created. After that this field >> is never modified again anywhere in the kernel. So, decla

Re: [PATCH v4 0/2] Avoid selftests on some Asus models

2016-10-01 Thread Marcos Paulo de Souza
ping? On Sun, Sep 25, 2016 at 10:25:42AM -0300, Marcos Paulo de Souza wrote: > Hi guys, > > this is my forth iteration in this patch. I hope now this address all problems > and, at least, most Asus models affect by this problem. > > All models affected by this problem: > A455LD > K401LB > K501LB

Re: [PATCH] iio: Declare event_attrs field of iio_info structure as const

2016-10-01 Thread Jonathan Cameron
On 01/10/16 10:57, Bhumika Goyal wrote: > The event_attrs field of iio_info structure is only initialized once > whenever an object of iio_info is created. After that this field > is never modified again anywhere in the kernel. So, declare event_attrs > field of iio_info as a const struct attribute

Re: [PATCH 1/3] proc: Stop reporting eip and esp in /proc/PID/stat

2016-10-01 Thread Jann Horn
On Fri, Sep 30, 2016 at 07:01:13PM -0700, Andy Lutomirski wrote: > On an unrelated note, can we please lock down all the silly historical > *userspace* info leaks in /proc? Nasty ones include: net, cmdline (at > the very least, only argv[0] should be visible if the reader lacks > ptrace access). >

[PATCH] tools lib traceevent: Fix kbuffer_read_at_offset()

2016-10-01 Thread Namhyung Kim
When it's called with an offset less than or equal to the first event, it'll return a garbage value since the data is not initialized. Cc: Steven Rostedt Signed-off-by: Namhyung Kim --- tools/lib/traceevent/kbuffer-parse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lib/traceevent

[PATCH] iio: Declare event_attrs field of iio_info structure as const

2016-10-01 Thread Bhumika Goyal
The event_attrs field of iio_info structure is only initialized once whenever an object of iio_info is created. After that this field is never modified again anywhere in the kernel. So, declare event_attrs field of iio_info as a const struct attribute_group. Checked for occurences throughout the ke

[PATCH] Staging: fbtft: Fix bug in fbtft-core

2016-10-01 Thread Ksenija Stanojevic
Commit 367e8560e8d7a62d96e9b1d644028a3816e04206 introduced a bug in fbtft-core where fps is always 0, this is because variable update_time is not assigned correctly. Signed-off-by: Ksenija Stanojevic --- drivers/staging/fbtft/fbtft-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 4/6] ARM: dts: da850-lcdk: add support for 1024x768 resolution

2016-10-01 Thread Sekhar Nori
On Friday 30 September 2016 07:18 PM, Bartosz Golaszewski wrote: > 2016-09-30 14:49 GMT+02:00 Karl Beldan : >> On Fri, Sep 30, 2016 at 11:37:57AM +0200, Bartosz Golaszewski wrote: >>> 2016-09-29 20:58 GMT+02:00 Karl Beldan : Hi, On Thu, Sep 29, 2016 at 06:31:53PM +0200, Bartosz Golas

Re: [PATCH v2] drm: tilcdc: add a da850-specific compatible string

2016-10-01 Thread Sekhar Nori
On Friday 30 September 2016 07:22 PM, Bartosz Golaszewski wrote: > Due to some potential tweaks for the da850 LCDC (for example: the > required memory bandwith settings) we need a separate compatible > for the IP present on the da850 boards. > > Suggested-by: Sekhar Nori > Signed-off-by: Bartosz

Re: [PATCH] mtd: mtk: avoid warning in mtk_ecc_encode

2016-10-01 Thread Boris Brezillon
On Fri, 30 Sep 2016 19:25:17 +0200 Arnd Bergmann wrote: > On Friday 30 September 2016, Boris Brezillon wrote: > > > + /* copy into possibly unaligned OOB region with actual length */ > > > + memcpy(data + bytes, eccdata, len); > > > > Is it better than > > > > for (i = 0; i <

Re: [PATCH 6/6] ARM: da850: adjust memory settings for tilcdc

2016-10-01 Thread Sekhar Nori
On Saturday 01 October 2016 12:49 AM, Peter Ujfalusi wrote: > On 09/30/2016 06:06 PM, Bartosz Golaszewski wrote: >> 2016-09-30 14:59 GMT+02:00 Peter Ujfalusi : >>> On 09/29/16 19:31, Bartosz Golaszewski wrote: Default memory settings of da850 do not meet the throughput/latency requirement

Re: [PATCH] rxrpc: split up rxrpc_send_call_packet()

2016-10-01 Thread David Howells
Arnd Bergmann wrote: > Yes, good idea. We could probably share the part of the two functions that > sets the contents of the msg and pkt variables by moving it into a third > function, but I'm not sure if that actually improves readability or just > reduces the number of lines. And the ACK-sendi

Re: [PATCH 2/2] hid: input: add HID_QUIRK_REUSE_AXES and fix dragonrise

2016-10-01 Thread Vladislav Naumov
I fetched `dev/aratiu/fix-dragonrise-gamepad` branch from https://github.com/10ne1/linux at commit a7dd8e2 "hid: hid-dr: add input mapping for axis selection" and built 32-bit kernel (default debian config). 0079:0011 DragonRise Inc. Gamepad works properly, both axis and all buttons. TEST PASSED.

[PATCH v3] net: hns: mark symbols static where possible

2016-10-01 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:76:21: warning: no previous prototype for 'hns_ae_get_handle' [-Wmissing-prototypes] drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:274:6: warning: no previous prototype for 'hns_ae_stop' [-W

Is Your Email Still Working?

2016-10-01 Thread FDF
Congrats!you have been selected for a donation Email( fferan...@gmail.com ) for more details. REPLY FOR MORE DETAILS. Regards Olivier Xavier.

[PATCH 9/9] md/dm-table: Delete an unwanted space in dm_table_get_integrity_disk()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 09:24:56 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Markus Elfring --- drivers/md/dm-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH 8/9] md/dm-table: Delete an unwanted space in high()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 09:04:06 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: space prohibited after that '-' (ctx:WxW) Thus fix the affected source code place. Signed-off-by: Markus Elfring --- drivers/md/dm-table.c | 2 +- 1 file ch

[PATCH 7/9] md/dm-table: Adjust one function call together with a variable assignment

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 08:53:37 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code place. Signed-off-by: Markus Elfring --- drivers/md/dm-table.c | 3 ++- 1 file chang

[PATCH 6/9] md/dm-table: Combine substrings for ten messages

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 08:39:58 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines Thus fix the affected source code places. Signed-off-by: Markus Elfring --- drivers/md/dm-table.c | 32 ++

[PATCH 5/9] md/dm-table: Move an assignment for the variable "end" in dm_split_args()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 07:51:55 +0200 Move the assignment for the local variable "end" behind the source code for the initial two condition checks by this function. Signed-off-by: Markus Elfring --- drivers/md/dm-table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(

[PATCH 4/9] md/dm-table: Delete an unnecessary variable initialisation in dm_split_args()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 07:37:27 +0200 The local variable "argv" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/md/dm-table.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 3/9] md/dm-table: Delete an unnecessary variable initialisation in dm_table_register_integrity()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 07:25:43 +0200 The local variable "template_disk" is reassigned by a statement at the beginning. Thus omit the explicit initialisation. Signed-off-by: Markus Elfring --- drivers/md/dm-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 2/9] md/dm-table: Reduce the scope for a variable in dm_table_verify_integrity()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 07:10:43 +0200 Move the definition for the variable "template_disk" into an if branch so that an extra initialisation can be avoided at the beginning by this refactoring. Signed-off-by: Markus Elfring --- drivers/md/dm-table.c | 5 ++--- 1 file change

Re: [PATCH v4 2/5] driver core: Functional dependencies tracking support

2016-10-01 Thread Lukas Wunner
On Thu, Sep 29, 2016 at 02:38:04AM +0200, Rafael J. Wysocki wrote: > +static int device_reorder_to_tail(struct device *dev, void *not_used) > +{ > + struct device_link *link; > + > + /* > + * Devices that have not been registered yet will be put to the ends > + * of the lists duri

[PATCH 1/9] md/dm-table: Use kmalloc_array() in realloc_argv()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 06:47:16 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software.

[PATCH 0/9] md/dm-table: Fine-tuning for several function implementations

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 09:35:43 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (9): Use kmalloc_array() in realloc_argv() Reduce the scope for a variable in dm_table_verify_integrity() Delete an unnecessary variabl

[GIT PULL] SCSI fixes for 4.8-rc8

2016-10-01 Thread James Bottomley
One final fix before 4.8: there's a memory leak triggered by turning scsi mq off due to the fact that we assume on host release that the already running hosts weren't mq based because that's the state of the global flag (even though they were), so fix it by tracking this on a per host host basis.

Re: [PATCH] net: Use ns_capable_noaudit() when determining net sysctl permissions

2016-10-01 Thread David Miller
From: Dmitry Torokhov Date: Fri, 30 Sep 2016 15:24:31 -0700 > From: Tyler Hicks > > The capability check should not be audited since it is only being used > to determine the inode permissions. A failed check does not indicate a > violation of security policy but, when an LSM is enabled, a denia

Re: [PATCH 0/2] Moving runnable code from Documentation (last 2 patches)

2016-10-01 Thread Jonathan Corbet
On Fri, 30 Sep 2016 07:57:51 -0600 Shuah Khan wrote: > > This patch series contains the last 2 patches to complete moving runnable > > code from Documentation to selftests, samples, and tools. > > > > The first patch moves blackfin gptimers-example to samples and removes > > CONFIG_BUILD_DOCSRC.

<    1   2