Re: [PATCH] sched: Optimize pick_next_task for idle_sched_class too

2017-02-23 Thread Pavan Kondeti
Hi Peter, > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > index 49ce1cb..51ca21e 100644 > --- a/kernel/sched/core.c > +++ b/kernel/sched/core.c > @@ -3321,15 +3321,14 @@ static inline void schedule_debug(struct task_struct > *prev) > static inline struct task_struct * > pick_next_tas

[PATCH] usbtv: add a new usbid

2017-02-23 Thread Lubomir Rintel
From: Icenowy Zheng A new usbid of UTV007 is found in a newly bought device. The usbid is 1f71:3301. The ID on the chip is: UTV007 A89029.1 1520L18K1 Both video and audio is tested with the modified usbtv driver. Reviewed-by: Lubomir Rintel Signed-off-by: Icenowy Zheng Signed-off-by: Lubomi

Re: [PATCH 2/2] mm/cgroup: delay soft limit data allocation

2017-02-23 Thread Laurent Dufour
On 23/02/2017 02:16, Balbir Singh wrote: > On Wed, Feb 22, 2017 at 04:58:11PM +0100, Laurent Dufour wrote: >> Until a soft limit is set to a cgroup, the soft limit data are useless >> so delay this allocation when a limit is set. >> >> Suggested-by: Michal Hocko >> Signed-off-by: Laurent Dufour >

[PATCH v2 3/7] clk: tegra: correct afi parent

2017-02-23 Thread Peter De Schrijver
The parent for afi is actually mselect, not clk_m. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra-periph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/tegra/clk-tegra-periph.c b/drivers/clk/tegra/clk-tegra-periph.c index 19b00b7..c9e795b 10

[PATCH v2 6/7] clk: tegra: correct tegra210_pll_fixed_mdiv_cfg rate calculation

2017-02-23 Thread Peter De Schrijver
Return the actually achieved rate in cfg->output_rate rather than just the requested rate. This is important to make clk_round_rate return the correct result. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[PATCH v2 2/7] clk: tegra: fix isp clock modelling

2017-02-23 Thread Peter De Schrijver
The 2 isp clocks (ispa and ispb) share a mux/divider control. So model this as 1 mux/divider clock and child gate clocks. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-id.h | 1 + drivers/clk/tegra/clk-tegra-periph.c | 11 +-- drivers/clk/tegra/clk-tegra2

[PATCH v2 4/7] clk: tegra: remove non-existing pll_m_out1 clock

2017-02-23 Thread Peter De Schrijver
This clock doesn't actually exist, so remove it. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c index 7bda8ba..b7ef8a7 100644 --- a/drivers/clk/tegr

[PATCH v2 5/7] clk: tegra: don't warn for PLL defaults unnecessarily

2017-02-23 Thread Peter De Schrijver
If the PLL is on, only warn if the defaults are not yet set. Otherwise be silent. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/cl

[PATCH v2 1/7] clk: tegra: fix pll_a1 iddq register, add pll_a1

2017-02-23 Thread Peter De Schrijver
pll_a1 was using CLK_RST_CONTROLLER_PLLA1_MISC_0 for IDDQ control rather than the correct register CLK_RST_CONTROLLER_PLLA1_MISC_1. Also add pll_a1 to the set of clocks defined for Tegra210. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 3 ++- 1 file changed, 2 inserti

[PATCH v2 0/7] Tegra210 clock bug fixes

2017-02-23 Thread Peter De Schrijver
A number of bug fixes for the Tegra210 clock implementation. Changelog: v2: add better description for 'remove non-existing pll_m_out1 clock' Peter De Schrijver (7): clk: tegra: fix pll_a1 iddq register, add pll_a1 clk: tegra: fix isp clock modelling clk: tegra: correct afi parent clk: t

[PATCH v2 7/7] clk: tegra: fix type for m field

2017-02-23 Thread Peter De Schrijver
When used as part of fractional ndiv calculations, the current range is not enough because the denominator of the fraction is multiplied with m. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/tegra/clk

[PATCH] qla2xxx: fix spelling mistake: "seperator" -> "separator"

2017-02-23 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in pr_err message Signed-off-by: Colin Ian King --- drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c index c2f8c35

Re: [PATCH v4 03/17] x86/mpx, x86/insn: Relocate insn util functions to a new insn-kernel

2017-02-23 Thread kbuild test robot
Hi Ricardo, [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.10 next-20170223] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ricardo-Neri

Re: [PATCH 2/5] KVM: add KVM request variants without barrier

2017-02-23 Thread Paolo Bonzini
On 16/02/2017 17:04, Radim Krčmář wrote: > + > +static inline void __kvm_request_clear(unsigned req, struct kvm_vcpu *vcpu) > +{ > + test_bit(req, &vcpu->requests); > } Are you sure? :) Paolo > static inline bool kvm_request_test_and_clear(unsigned req, struct kvm_vcpu > *vcpu) > { > -

Re: [PATCH 4/5] KVM: add __kvm_request_needs_mb

2017-02-23 Thread Paolo Bonzini
On 16/02/2017 17:04, Radim Krčmář wrote: > A macro to optimize requests that do not need a memory barrier because > they have no dependencies. An architecture can implement a function > that says which requests do not need memory barriers when handling them. > > Signed-off-by: Radim Krčmář I wo

Re: [PATCH v3 01/18] drivers/fsi: Add empty fsi bus definitions

2017-02-23 Thread Geert Uytterhoeven
Hi Chris, Jeremy, On Wed, Feb 1, 2017 at 5:53 PM, Christopher Bostic wrote: > From: Jeremy Kerr > > This change adds the initial (empty) fsi bus definition, and introduces > drivers/fsi/. > > Signed-off-by: Jeremy Kerr > Signed-off-by: Chris Bostic > --- /dev/null > +++ b/drivers/fsi/Kconfig

Re: [PATCH V2 1/3] arm64: dts: Add basic DT to support Spreadtrum's SP9860G

2017-02-23 Thread Sudeep Holla
Hi Chunyan, On 23/02/17 06:20, Chunyan Zhang wrote: [...] >>> I noticed Juno use the 2), would you suggest that way? >> >> It is better to describe the HW component themselves rather than where >> they are in the topology - the address of the component will make sure >> the names are unique. So

[PATCH] s390/dasd: fix spelling mistake: "supportet" -> "supported"

2017-02-23 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in literal string Signed-off-by: Colin Ian King --- drivers/s390/block/dasd_eckd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index 0f17137..0b38217 100

Re: [RFC PATCH] mm/vmscan: fix high cpu usage of kswapd if there

2017-02-23 Thread Michal Hocko
On Wed 22-02-17 15:16:57, Johannes Weiner wrote: [...] > And a follow-up: once it gives up, when should kswapd return to work? > We used to reset NR_PAGES_SCANNED whenever a page gets freed. But > that's a branch in a common allocator path, just to recover kswapd - a > latency tool, not a necessity

Re: [PATCH v5 3/3] [media] s5p-mfc: Check and set 'v4l2_pix_format:field' field in try_fmt

2017-02-23 Thread Andrzej Hajda
On 22.02.2017 14:10, Thibault Saunier wrote: > Hello, > > On 02/22/2017 06:29 AM, Andrzej Hajda wrote: >> On 21.02.2017 20:20, Thibault Saunier wrote: >>> It is required by the standard that the field order is set by the >>> driver. >>> >>> Signed-off-by: Thibault Saunier >>> >>> --- >>> >>> Chang

Re: [PATCH] uapi: fix linux/rds.h userspace compilation errors

2017-02-23 Thread Sergei Shtylyov
Hello! On 2/23/2017 4:13 AM, Dmitry V. Levin wrote: Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:198:2: error: unknown type name 'u8' u8 rx_traces; /usr/include/linux/rds.h:199:2: error: unknown type name 'u

Re: [PATCH 1/2] crypto: vmx - Use skcipher for cbc fallback

2017-02-23 Thread Herbert Xu
Paulo Flabiano Smorigo wrote: > >fallback = > - crypto_alloc_blkcipher(alg, 0, CRYPTO_ALG_NEED_FALLBACK); > + crypto_alloc_skcipher(alg, 0, CRYPTO_ALG_NEED_FALLBACK); You need to add CRYPTO_ALG_ASYNC to the mask in order to ensure that you get a sync algorithm. Thanks

[PATCH] IB/iser: fix spelling mistake: "unexepected" -> "unexpected"

2017-02-23 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in iser_err error message Signed-off-by: Colin Ian King --- drivers/infiniband/ulp/iser/iser_initiator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/ulp/iser/iser_initiator.c b/drivers/infiniband/u

[PATCH v2] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h userspace compilation errors

2017-02-23 Thread Dmitry V. Levin
Include in uapi/linux/seg6.h to fix the following linux/seg6.h userspace compilation error: /usr/include/linux/seg6.h:31:18: error: array type has incomplete element type 'struct in6_addr' struct in6_addr segments[0]; Include in uapi/linux/seg6_iptunnel.h to fix the following linux/seg6_iptu

[PATCH] mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages"

2017-02-23 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in NS_ERR error message Signed-off-by: Colin Ian King --- drivers/mtd/nand/nandsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c index c847426..cef818f 100644 --

Re: [PATCH 1/2] [1/2] mmc: sdhci-cadence: Fix writing PHY delay

2017-02-23 Thread Masahiro Yamada
Hi. 2017-02-16 22:06 GMT+09:00 Piotr Sroka : > Add polling for ACK to be sure that data are written to PHY register. > > Signed-off-by: Piotr Sroka > --- > drivers/mmc/host/sdhci-cadence.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/sdhci-cad

[PATCH v2] uapi: fix linux/rds.h userspace compilation errors

2017-02-23 Thread Dmitry V. Levin
Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:198:2: error: unknown type name 'u8' u8 rx_traces; /usr/include/linux/rds.h:199:2: error: unknown type name 'u8' u8 rx_trace_pos[RDS_MSG_RX_DGRAM_TRACE_MAX]; /usr/i

Re: [PATCH 4/6] [media] tw5864: improve subscribe event handling

2017-02-23 Thread Andrey Utkin
Hi Gustavo, Thanks for the patches, and sorry for delay. Acked-by: Andrey Utkin

Re: Re: [PATCH] Input: evdev: fix queueing of SYN_DROPPED event for EVIOCG[type] IOCTL case

2017-02-23 Thread David Herrmann
Hi On Tue, Jan 31, 2017 at 5:09 PM, Aniroop Mathur wrote: > On Sun, Jan 22, 2017 at 6:45 PM, David Herrmann wrote: >> On Thu, Nov 24, 2016 at 9:11 PM, Aniroop Mathur wrote: >>> continue; >>> } else if (head != i) { >>> /* move entr

[PATCH v3 2/2] perf: kretprobes: offset from reloc_sym if kernel supports it

2017-02-23 Thread Naveen N. Rao
We indicate support for accepting sym+offset with kretprobes through a line in ftrace README. Parse the same to identify support and choose the appropriate format for kprobe_events. Signed-off-by: Naveen N. Rao --- tools/perf/util/probe-event.c | 49 --- t

[PATCH v3 1/2] perf: probe: generalize probe event file open routine

2017-02-23 Thread Naveen N. Rao
...into a generic function for opening trace files. Signed-off-by: Naveen N. Rao --- tools/perf/util/probe-file.c | 20 +++- tools/perf/util/probe-file.h | 1 + 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/tools/perf/util/probe-file.c b/tools/perf/util/probe-f

RE: [PATCH 0/9] tools subsystem refcounter conversions

2017-02-23 Thread Reshetova, Elena
> Em Wed, Feb 22, 2017 at 08:23:29PM -0300, Arnaldo Carvalho de Melo > escreveu: > > Em Tue, Feb 21, 2017 at 12:39:35PM -0300, Arnaldo Carvalho de Melo > escreveu: > > > Em Tue, Feb 21, 2017 at 05:34:54PM +0200, Elena Reshetova escreveu: > > > > Now when new refcount_t type and API are finally merg

Re: netfilter: nft_ct: add zone id set support

2017-02-23 Thread Florian Westphal
Geert Uytterhoeven wrote: > On Wed, Feb 22, 2017 at 8:02 PM, Linux Kernel Mailing List > wrote: > > Web: > > https://git.kernel.org/torvalds/c/edee4f1e92458299505ff007733f676b00c516a1 > > Commit: edee4f1e92458299505ff007733f676b00c516a1 > > Parent: 5c178d81b69f08ca3195427a6ea9a46d

Re: netfilter: nft_ct: add zone id set support

2017-02-23 Thread Pablo Neira Ayuso
On Thu, Feb 23, 2017 at 12:34:35PM +0100, Florian Westphal wrote: > Geert Uytterhoeven wrote: > > On Wed, Feb 22, 2017 at 8:02 PM, Linux Kernel Mailing List > > wrote: > > > Web: > > > https://git.kernel.org/torvalds/c/edee4f1e92458299505ff007733f676b00c516a1 > > > Commit: edee4f1e924

Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT blocks

2017-02-23 Thread Chao Yu
On 2017/2/14 10:06, Jaegeuk Kim wrote: > This patches adds bitmaps to represent empty or full NAT blocks containing > free nid entries. > > If we can find valid crc|cp_ver in the last block of checkpoint pack, we'll > use these bitmaps when building free nids. In order to avoid checkpointing > bur

Re: [PATCH 3/3] f2fs: avoid reading NAT page by get_node_info

2017-02-23 Thread Chao Yu
On 2017/2/14 10:06, Jaegeuk Kim wrote: > We've not seen this buggy case for a long time, so it's time to avoid this > unnecessary get_node_info() call which reading NAT page to cache nat entry. > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/node.c | 11 +-- > 1 file changed, 5 insertions

Re: [PATCH 2/2] [2/2] mmc: sdhci-cadence: Update PHY delay configuration

2017-02-23 Thread Masahiro Yamada
Hi. 2017-02-17 23:12 GMT+09:00 Piotr Sroka : >> -Original Message- >> From: Ulf Hansson [mailto:ulf.hans...@linaro.org] >> Sent: 16 February, 2017 4:10 PM >> Subject: Re: [PATCH 2/2] [2/2] mmc: sdhci-cadence: Update PHY delay >> configuration >> >> On 16 February 2017 at 14:06, Piotr Sroka

Re: netfilter: nft_ct: add zone id set support

2017-02-23 Thread Florian Westphal
Pablo Neira Ayuso wrote: > On Thu, Feb 23, 2017 at 12:34:35PM +0100, Florian Westphal wrote: > > Yes, Dan reported this and a patch is queued at > > http://patchwork.ozlabs.org/patch/727573/ > > > > Pablo, any reason why this is still waiting? > > I just flushing out my nf.git tree via pull requ

Re: [PATCH] s390/dasd: fix spelling mistake: "supportet" -> "supported"

2017-02-23 Thread Martin Schwidefsky
On Thu, 23 Feb 2017 11:06:09 + Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in literal string > > Signed-off-by: Colin Ian King > --- > drivers/s390/block/dasd_eckd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/s390/bl

Re: [PATCH 3/6] [media] solo6x10: improve subscribe event handling

2017-02-23 Thread Andrey Utkin
Hi Gustavo, Thanks for the patches, and sorry for delay. Acked-by: Andrey Utkin

Re: [PATCH] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h userspace compilation errors

2017-02-23 Thread Sergei Shtylyov
On 2/23/2017 4:13 AM, Dmitry V. Levin wrote: Include in uapi/linux/seg6.h to fix the following linux/seg6.h userspace compilation error: /usr/include/linux/seg6.h:31:18: error: array type has incomplete element type 'struct in6_addr' struct in6_addr segments[0]; Include in uapi/linux/seg6

Re: [PATCH] iommu: iova: Consolidate code for adding new node to iovad domain rbtree

2017-02-23 Thread Robin Murphy
On 23/02/17 08:17, Marek Szyprowski wrote: > This patch consolidates almost the same code used in iova_insert_rbtree() > and __alloc_and_insert_iova_range() functions. There is no functional change. > > Signed-off-by: Marek Szyprowski > --- > drivers/iommu/iova.c | 85 > +++-

Re: [PATCH] i2c: thunderx: Replace pci_enable_msix()

2017-02-23 Thread Wolfram Sang
On Tue, Feb 21, 2017 at 02:07:50PM +0100, Jan Glauber wrote: > Using pci_alloc_irq_vectors() instead of the deprecated > pci_enable_msix() allows to remove the msix_entry from > struct octeon_i2c and thus to get rid of the config symbol check. > > Signed-off-by: Jan Glauber Applied to for-next (

Re: [PATCH 2/2] f2fs: fix the case when there is no free segment to allocate for CURSEG_WARM_NODE

2017-02-23 Thread Chao Yu
On 2017/2/18 2:39, Jaegeuk Kim wrote: > Hi Yunlong, > > I already started to test this since a couple of days ago. :) > > http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev-test&id=908b5f463c82eaf972b149a26bb310f5e25064fd Hi, Jaegeuk, Could you send this patch into maili

Re: crypto/cavium MSI-X fixups

2017-02-23 Thread Herbert Xu
On Wed, Feb 15, 2017 at 08:18:40AM +0100, Christoph Hellwig wrote: > Hi George, > > your commit "crypto: cavium - Add Support for Octeon-tx CPT Engine" > add a new caller to pci_enable_msix. This API has long been deprecated > so this series switches it to use pci_alloc_irq_vectors instead. > >

Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration

2017-02-23 Thread Rafael J. Wysocki
On Wednesday, February 22, 2017 10:55:04 PM Alex Shi wrote: > > > > Its not hard; spinlock_t ends up being a mutex, and this is ran from the > > idle thread. What thread do you think we ought to run when we block > > idle? > > > > Straight right. > Thanks for explanations! :) I overlooked that,

Re: [PATCH v1] mfd: intel_soc_pmic: Fix a mess with compilation units

2017-02-23 Thread kbuild test robot
Hi Andy, [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.10 next-20170223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/mfd-intel_soc_pmic-Fix

Re: [BUG] msr-trace.h:42 suspicious rcu_dereference_check() usage!

2017-02-23 Thread Jiri Olsa
On Mon, Nov 21, 2016 at 10:28:50AM +0100, Peter Zijlstra wrote: > On Mon, Nov 21, 2016 at 01:53:43AM +0100, Jiri Olsa wrote: > > hi, > > Jan hit following output when msr tracepoints are enabled on amd server: > > > > [ 91.585653] === > > [ 91.589840] [ INFO: suspic

Re: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for rk3328

2017-02-23 Thread David.Wu
Hi Rafael, Sorry not to include your email address in the email list. And thank Heiko. I will resend the patch. 在 2017/2/21 23:06, Heiko Stuebner 写道: Am Montag, 20. Februar 2017, 10:08:05 CET schrieb David Wu: From: "david.wu" This adds the necessary data for handling io voltage domains on t

[RESEND PATCH] PM / AVS: rockchip-io: add io selectors and supplies for rk3328

2017-02-23 Thread David Wu
From: "david.wu" This adds the necessary data for handling io voltage domains on the rk3328. As interesting tidbit, the rk3328 only contains one iodomain area in the regular General Register Files (GRF). Signed-off-by: david.wu Reviewed-by: Heiko Stuebner --- .../bindings/power/rockchip-io-do

Re: [PATCH 3/3] Input: qt1070 - Add OF device ID table

2017-02-23 Thread Javier Martinez Canillas
Hello Dmitry, On 02/23/2017 05:27 AM, Dmitry Torokhov wrote: > On Thu, Feb 23, 2017 at 12:25:24AM -0800, Dmitry Torokhov wrote: >> On Tue, Feb 21, 2017 at 03:12:54PM -0300, Javier Martinez Canillas wrote: >>> The driver doesn't have a struct of_device_id table but supported devices >>> are registe

[PATCH 1/5] clk: tegra: add cec clock

2017-02-23 Thread Peter De Schrijver
This clock is used to clock the HDMI CEC interface. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-id.h | 1 + drivers/clk/tegra/clk-tegra-periph.c| 1 + drivers/clk/tegra/clk-tegra114.c| 1 + drivers/clk/tegra/clk-tegra124.c

[PATCH 0/5] Add missing Tegra210 clocks

2017-02-23 Thread Peter De Schrijver
This series adds a number of clocks which were missing from the Tegra210 clock definition. It applies on top of the 'Tegra210 clock bug fixes' series posted earlier. Peter De Schrijver (5): clk: tegra: add cec clock clk: tegra: define Tegra210 DMIC sync clocks clk: tegra: define Tegra210 DMI

[PATCH 3/5] clk: tegra: define Tegra210 DMIC clocks

2017-02-23 Thread Peter De Schrijver
Tegra210 has 3 inputs for Digital Microphones (DMICs). Provide the required clocks for them. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-id.h | 5 - drivers/clk/tegra/clk-tegra-periph.c | 21 + drivers/clk/tegra/clk-tegra210.c | 3 +++ 3 fi

[PATCH 2/5] clk: tegra: define Tegra210 DMIC sync clocks

2017-02-23 Thread Peter De Schrijver
Tegra210 has 3 DMIC inputs which can be clocked from the recovered clock of several other audio inputs (eg. i2s0, i2s1, ...). To model this, we add a 3 new clocks similar to the audio* clocks which handle the same function for the i2s and spdif clocks. Signed-off-by: Peter De Schrijver --- drive

[PATCH 5/5] clk: tegra: add aclk

2017-02-23 Thread Peter De Schrijver
This clock clocks the ADSP cortex-A9. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 10 ++ include/dt-bindings/clock/tegra210-car.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra21

[PATCH 4/5] clk: tegra: add super clk mux/div

2017-02-23 Thread Peter De Schrijver
Add a super clock type which implements both mux and divider. This is used for aclk. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-super.c | 87 +-- drivers/clk/tegra/clk.h | 7 +++- 2 files changed, 89 insertions(+), 5 deletions(-) d

Re: [PATCH 2/3] Input: synaptics_i2c - Add OF device ID table

2017-02-23 Thread Javier Martinez Canillas
Hello Dmitry, On 02/23/2017 05:31 AM, Dmitry Torokhov wrote: > On Tue, Feb 21, 2017 at 03:12:53PM -0300, Javier Martinez Canillas wrote: >> The driver doesn't have a struct of_device_id table but supported devices >> are registered via Device Trees. This is working on the assumption that a >> I2C

net/rds/ib.c:115:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoi

2017-02-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bc49a7831b1137ce1c2dda1c57e3631655f5d2ae commit: be2f76eacc278c272f26d46e4168efe5a55f5383 RDS: IB: Add vector spreading for cqs date: 7 weeks ago coccinelle warnings: (new ones prefixed by >>) >> net/rd

[PATCH] RDS: IB: fix ifnullfree.cocci warnings

2017-02-23 Thread kbuild test robot
net/rds/ib.c:115:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values. NULL check before some freeing functions is not needed. Based on check

Re: [PATCH v20 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2017-02-23 Thread Horng-Shyang Liao
On Thu, 2017-02-23 at 09:40 +0530, Jassi Brar wrote: > On Wed, Feb 22, 2017 at 8:42 AM, Horng-Shyang Liao > wrote: > > On Thu, 2017-02-16 at 21:02 +0530, Jassi Brar wrote: > >> On Mon, Feb 6, 2017 at 11:07 AM, Horng-Shyang Liao > >> wrote: > >> > Hi Jassi, > >> > > >> > On Wed, 2017-02-01 at 10

Re: [RFC] perf/sdt: Directly record SDT event with 'perf record'

2017-02-23 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 23, 2017 at 01:43:38PM +0530, Ravi Bangoria escreveu: > Thanks Arnaldo, > > I'm working on this but it's taking bit longer time. Will post out a patch > within > few days. Take your time and thanks for giving consideration to my observations, Regards, - Arnaldo > Ravi > > On Mon

Re: [PATCH 0/9] tools subsystem refcounter conversions

2017-02-23 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 23, 2017 at 11:39:10AM +, Reshetova, Elena escreveu: > > Em Wed, Feb 22, 2017 at 08:23:29PM -0300, Arnaldo Carvalho de Melo > > escreveu: > > > Em Tue, Feb 21, 2017 at 12:39:35PM -0300, Arnaldo Carvalho de Melo > > escreveu: > > > > Em Tue, Feb 21, 2017 at 05:34:54PM +0200, Elena Re

Re: [PATCH] Add HS400 enhanced strobe support

2017-02-23 Thread Masahiro Yamada
Hi. 2017-02-15 22:50 GMT+09:00 Piotr Sroka : > Add support for HS400ES mode to Cadence SDHCI driver. > > Signed-off-by: Piotr Sroka Next time, please add "mmc: sdhci-cadence" to the patch subject. This will clarify which driver is being touched. > +static void sdhci_cdns_hs400_enhanced_stro

Crypto Update for 4.11

2017-02-23 Thread Herbert Xu
Hi Linus: Here is the crypto update for 4.11: API: - Try to catch hash output overrun in testmgr. - Introduce walksize attribute for batched walking. - Make crypto_xor() and crypto_inc() alignment agnostic. Algorithms: - Add time-invariant AES algorithm. - Add standalone CBCMAC algorithm. Dr

Re: [PATCH V2 RESEND] firmware: simplify defining and handling FW_OPT_FALLBACK

2017-02-23 Thread Rafał Miłecki
On 02/21/2017 06:10 PM, Luis R. Rodriguez wrote: On Wed, Feb 15, 2017 at 04:05:13PM +0100, Rafał Miłecki wrote: From: Rafał Miłecki I found handling of FW_OPT_FALLBACK a bit complex. It was defined using another option and their values were dependent on kernel config. It was also non-trivial

Re: [PATCH 3/9] tools: convert comm_str.refcnt from atomic_t to refcount_t

2017-02-23 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 23, 2017 at 09:16:07AM +, Reshetova, Elena escreveu: > > Em Wed, Feb 22, 2017 at 07:20:45PM -0300, Arnaldo Carvalho de Melo > > > > make: *** [install-bin] Error 2 > > > > make: Leaving directory '/home/acme/git/linux/tools/perf' > > > > [acme@jouet linux]$ > > > > 3) not test buil

[PATCH 2/2] staging: bcm2835-audio: Removed braces of single statement blocks

2017-02-23 Thread Abhijit Naik
bcm2835-vchiq.c: fixing WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Abhijit Naik --- drivers/staging/bcm2835-audio/bcm2835-vchiq.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c b/dri

RE: [PATCH 1/9] tools: convert cgroup_sel.refcnt from atomic_t to refcount_t

2017-02-23 Thread Reshetova, Elena
> Em Wed, Feb 22, 2017 at 04:10:59PM +, Reshetova, Elena escreveu: > > > Em Wed, Feb 22, 2017 at 02:29:18PM +, Reshetova, Elena escreveu: > > > > > Em Tue, Feb 21, 2017 at 05:34:55PM +0200, Elena Reshetova escreveu: > > > > > > refcount_t type and corresponding API should be > > > > > > use

[PATCH] net: stmmac: unify registers dumps methods

2017-02-23 Thread Corentin Labbe
The stmmac driver have two methods for registers dumps: via ethtool and at init (if NETIF_MSG_HW is enabled). It is better to keep only one method, ethtool, since the other was ugly. This patch convert all dump_regs() function from "printing regs" to "fill the reg_space used by ethtool". Signed-

[PATCH] staging: speakup: synth: Fix checkpatch warning

2017-02-23 Thread Man Choy
Signed-off-by: Man Choy --- drivers/staging/speakup/synth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c index a61c02b..1cd38e7 100644 --- a/drivers/staging/speakup/synth.c +++ b/drivers/staging/speakup/synth

Re: [PATCH v6 2/9] doc: DT: venus: binding document for Qualcomm video driver

2017-02-23 Thread Rob Herring
On Thu, Feb 23, 2017 at 7:08 AM, Stanimir Varbanov wrote: > > > On 02/22/2017 04:17 PM, Rob Herring wrote: >> On Wed, Feb 22, 2017 at 3:25 AM, Stanimir Varbanov >> wrote: >>> Hi Rob, >>> >>> On 02/22/2017 02:09 AM, Rob Herring wrote: On Tue, Feb 07, 2017 at 03:10:17PM +0200, Stanimir Varbano

Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration

2017-02-23 Thread Mike Galbraith
On Thu, 2017-02-23 at 13:15 +0100, Rafael J. Wysocki wrote: > On Wednesday, February 22, 2017 10:55:04 PM Alex Shi wrote: > > > > > > Its not hard; spinlock_t ends up being a mutex, and this is ran > > > from the > > > idle thread. What thread do you think we ought to run when we > > > block > > >

Re: [PATCH v6 2/9] doc: DT: venus: binding document for Qualcomm video driver

2017-02-23 Thread Stanimir Varbanov
On 02/22/2017 04:17 PM, Rob Herring wrote: > On Wed, Feb 22, 2017 at 3:25 AM, Stanimir Varbanov > wrote: >> Hi Rob, >> >> On 02/22/2017 02:09 AM, Rob Herring wrote: >>> On Tue, Feb 07, 2017 at 03:10:17PM +0200, Stanimir Varbanov wrote: Add binding document for Venus video encoder/decoder dr

RE: [PATCH 1/2] [1/2] mmc: sdhci-cadence: Fix writing PHY delay

2017-02-23 Thread Piotr Sroka
> -Original Message- > From: Masahiro Yamada [mailto:yamada.masah...@socionext.com] > Sent: 23 February, 2017 12:29 PM > Subject: Re: [PATCH 1/2] [1/2] mmc: sdhci-cadence: Fix writing PHY delay > > Hi. > > > -static void sdhci_cdns_write_phy_reg(struct sdhci_cdns_priv *priv, > > +static

Re: [PATCH 1/1] ARM: dts: BCM953012HR: Initial Checkin

2017-02-23 Thread Rob Herring
On Wed, Feb 22, 2017 at 3:14 PM, Steve Lin wrote: > Initial version of DTS to support Broadcom BCM953012HR Northstar > HR platform, similar to, but not the same as existing 953012K. > > Signed-off-by: Steve Lin > --- > arch/arm/boot/dts/Makefile| 1 + > arch/arm/boot/dts/bcm953012hr.dt

[PATCH 1/2] staging: bcm2835-audi: Removed return statement from void functions

2017-02-23 Thread Abhijit Naik
bcm2835-vchiq.c: fixing WARNING: void function return statements are not generally useful Signed-off-by: Abhijit Naik --- drivers/staging/bcm2835-audio/bcm2835-vchiq.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c b/drivers/staging/bcm2835-a

[PATCH] x86: Implement __WARN using UD0

2017-02-23 Thread Peter Zijlstra
By using "UD0" for WARNs we remove the function call and its possible __FILE__ and __LINE__ immediate arguments from the instruction stream. Total image size will not change much, what we win in the instruction stream we'll loose because of the __bug_table entries. Still, saves on I$ footprint an

[PATCH 1/3] drm/tinydrm: mipi-dbi: Silence: ‘cmd’ may be used uninitialized

2017-02-23 Thread Noralf Trønnes
Fix this warning: drivers/gpu/drm/tinydrm/mipi-dbi.c: In function ‘mipi_dbi_debugfs_command_write’: drivers/gpu/drm/tinydrm/mipi-dbi.c:905:8: warning: ‘cmd’ may be used uninitialized in this function [-Wmaybe-uninitialized] ret = mipi_dbi_command_buf(mipi, cmd, parameters, i); ^

[PATCH 0/3] drm/tinydrm: Fix compiler warnings

2017-02-23 Thread Noralf Trønnes
Dave pulled tinydrm yesterday which triggered some compiler warnings: Dave Airlie: drivers/gpu/drm/tinydrm/mipi-dbi.c: In function ‘mipi_dbi_debugfs_command_write’: drivers/gpu/drm/tinydrm/mipi-dbi.c:905:8: warning: ‘cmd’ may be used uninitialized in this function [-Wmaybe-uninitialized] ret =

[PATCH 3/3] drm/tinydrm: helpers: Properly fix backlight dependency

2017-02-23 Thread Noralf Trønnes
BACKLIGHT_CLASS_DEVICE was selected in the last version of the tinydrm patchset to fix the backlight dependency, but the ifdef CONFIG_BACKLIGHT_CLASS_DEVICE was forgotten. Fix that. Signed-off-by: Noralf Trønnes --- include/drm/tinydrm/tinydrm-helpers.h | 19 --- 1 file changed,

[PATCH 2/3] drm/tinydrm: mipi-dbi: Fix field width specifier warning

2017-02-23 Thread Noralf Trønnes
This warning is seen on 64-bit builds in functions: 'mipi_dbi_typec1_command': 'mipi_dbi_typec3_command_read': 'mipi_dbi_typec3_command': >> drivers/gpu/drm/tinydrm/mipi-dbi.c:65:20: warning: field width specifier '*' >> expects argument of type 'int', but argument 5 has type 'size_t {ak

Re: [PATCH] MAINTAINERS: update firmware loader entry

2017-02-23 Thread Ming Lei
On Thu, Feb 23, 2017 at 1:48 PM, Greg Kroah-Hartman wrote: > On Thu, Feb 23, 2017 at 09:29:26AM +0800, Ming Lei wrote: >> This email of 'ming@canonical.com' isn't valid any more, >> please remove the entry. >> >> Signed-off-by: Ming Lei >> --- >> MAINTAINERS | 1 - >> 1 file changed, 1 delet

Re: [GIT pull] x86/timers for 4.10

2017-02-23 Thread Mike Galbraith
On Thu, 2017-02-23 at 11:26 +0100, Borislav Petkov wrote: > On Thu, Feb 23, 2017 at 09:20:06AM +0100, Mike Galbraith wrote: > > --- a/arch/x86/kernel/tsc_sync.c > > +++ b/arch/x86/kernel/tsc_sync.c > > @@ -294,7 +294,7 @@ void check_tsc_sync_source(int cpu) > > > >> > if (!boot_cpu_has(X86

RE: [PATCH 1/4] fs, afs: convert afs_cell.usage from atomic_t to refcount_t

2017-02-23 Thread Reshetova, Elena
> On Wed, Feb 22, 2017 at 9:29 AM, David Howells > wrote: > > Reshetova, Elena wrote: > > > >> Thank you very much David for testing the patches! > >> I guess for this one and other two patches it means that if we want to do > the atomic_t --> refcount_t conversions, > >> we need to do +1 on the

Re: [PATCH] staging: speakup: synth: Fix checkpatch warning

2017-02-23 Thread Joe Perches
On Thu, 2017-02-23 at 21:15 +0800, Man Choy wrote: [] > diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c [] > @@ -407,7 +407,7 @@ static int do_synth_init(struct spk_synth *in_synth) > if (!spk_quiet_boot) > synth_printf("%s found\n", synth->long_na

[PATCH v4] x86/mce: Don't participate in rendezvous process once nmi_shootdown_cpus() was made

2017-02-23 Thread Xunlei Pang
We met an issue for kdump: after kdump kernel boots up, and there comes a broadcasted mce in first kernel, the other cpus remaining in first kernel will enter the old mce handler of first kernel, then timeout and panic due to MCE synchronization, finally reset the kdump cpus. This patch lets cpus

[PATCH v2 2/2] mm/cgroup: delay soft limit data allocation

2017-02-23 Thread Laurent Dufour
Until a soft limit is set to a cgroup, the soft limit data are useless so delay this allocation when a limit is set. Suggested-by: Michal Hocko Signed-off-by: Laurent Dufour --- mm/memcontrol.c | 67 - 1 file changed, 52 insertions(+), 15

Re: [PATCH v4 0/6] genirq/gpio: Add driver for ThunderX and OCTEON-TX SoCs

2017-02-23 Thread Linus Walleij
On Thu, Feb 16, 2017 at 2:01 AM, David Daney wrote: > The ThunderX/OCTEON-TX GPIO hardware looks like a PCIe device, with > the interrupt signal from each GPIO line being routed to a dedicated > MSI-X. This interrupt routing requires that we add some custom > processing to the beginning of the M

[PATCH v2 0/2] mm/cgroup soft limit data allocation

2017-02-23 Thread Laurent Dufour
The first patch of this series is fixing a panic occurring when soft limit data allocation is using soft limit data. The second patch, as suggested by Michal Hocko, is pushing forward by delaying the soft limit data allocation when a soft limit is set. V1->V2: - move sanity pointer checks to the

[PATCH v2 1/2] mm/cgroup: avoid panic when init with low memory

2017-02-23 Thread Laurent Dufour
The system may panic when initialisation is done when almost all the memory is assigned to the huge pages using the kernel command line parameter hugepage=. Panic may occur like this: [0.082289] Unable to handle kernel paging request for data at address 0x [0.082338] Faulting

Re: [RFC/PATCH] of: Mark property::value as const

2017-02-23 Thread Rob Herring
On Mon, Feb 13, 2017 at 8:50 PM, Stephen Boyd wrote: > The 'blob' we pass into populate_properties() is marked as const, > but we cast that const away when we assign the result of > fdt_getprop_by_offset() to pp->value. Let's mark value as const > instead, so that code can't mistakenly write to th

Re: [Outreachy kernel] Re: [PATCH v2] staging: wilc1000: renames struct tstrRSSI and its members u8Index, u8Full

2017-02-23 Thread Julia Lawall
On Thu, 23 Feb 2017, 'Arend Van Spriel' via outreachy-kernel wrote: > On 23-2-2017 8:08, Julia Lawall wrote: > >> Thanks for the feedback Arend, I really appreciate it. I've decided to go > >> with > >> these changes in my follow-up patch request: > >> > >> - rename tstrRSSI to 'rssi_history_bu

Re: Crosstool/kbuild-all toolchain updates

2017-02-23 Thread Stafford Horne
On Sun, Feb 19, 2017 at 11:49:23AM -0600, Segher Boessenkool wrote: > Hi! > > On Sun, Feb 19, 2017 at 09:26:37PM +0800, Fengguang Wu wrote: > > An uptodate crosstool and reasonable active maintainer would be very > > welcome. I'll sure be a heavy user. In the past year when crosstool is > > not up

Re: [PATCH 1/1] ARM: dts: BCM953012HR: Initial Checkin

2017-02-23 Thread Steve Lin
* Resending in plaintext - forgot to disable html in my mail client - apologies if you receive 2 copies * Rafal & Rob, I will spin a v2 with the cleanups Rob suggested and the uart/nand changes Rafal suggested. Thanks! Rafal, to answer your question about having similar partitions on both flash

Re: [PATCH v4 5/6] gpio: Add gpio driver support for ThunderX and OCTEON-TX

2017-02-23 Thread Linus Walleij
On Thu, Feb 16, 2017 at 2:01 AM, David Daney wrote: > Cavium ThunderX and OCTEON-TX are arm64 based SoCs. Add driver for > the on-chip GPIO pins. > > Signed-off-by: David Daney Hm due to an API change in the upstream kernel you will still have to respin this driver, but I'm sure you will fix i

Re: [PATCH v5 2/3] [media] s5p-mfc: Set colorspace in VIDIO_{G,TRY}_FMT if DEFAULT provided

2017-02-23 Thread Andrzej Hajda
On 21.02.2017 20:20, Thibault Saunier wrote: > The media documentation says that the V4L2_COLORSPACE_SMPTE170M colorspace > should be used for SDTV and V4L2_COLORSPACE_REC709 for HDTV but the driver > didn't set the colorimetry when userspace provided > V4L2_COLORSPACE_DEFAULT. > > Use 576p display

Re: [PATCH] sched: Optimize pick_next_task for idle_sched_class too

2017-02-23 Thread Peter Zijlstra
On Thu, Feb 23, 2017 at 04:04:22PM +0530, Pavan Kondeti wrote: > Hi Peter, > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > index 49ce1cb..51ca21e 100644 > > --- a/kernel/sched/core.c > > +++ b/kernel/sched/core.c > > @@ -3321,15 +3321,14 @@ static inline void schedule_debug(struct

Re: [PATCH 1/1] ARM: dts: BCM953012HR: Initial Checkin

2017-02-23 Thread Rafał Miłecki
On 23 February 2017 at 14:38, Steve Lin wrote: > * Resending in plaintext - forgot to disable html in my mail client - > apologies if you receive 2 copies * > > Rafal & Rob, > > I will spin a v2 with the cleanups Rob suggested and the uart/nand > changes Rafal suggested. Thanks! > > Rafal, to ans

Re: 9908859acaa9 cpuidle/menu: add per CPU PM QoS resume latency consideration

2017-02-23 Thread Alex Shi
On 02/23/2017 08:15 PM, Rafael J. Wysocki wrote: > On Wednesday, February 22, 2017 10:55:04 PM Alex Shi wrote: >>> >>> Its not hard; spinlock_t ends up being a mutex, and this is ran from the >>> idle thread. What thread do you think we ought to run when we block >>> idle? >>> >> >> Straight righ

<    1   2   3   4   5   6   7   >