Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-06 Thread Mark Brown
On Thu, Nov 05, 2015 at 12:04:00PM -0600, Andrew F. Davis wrote: > On 11/05/2015 04:14 AM, Mark Brown wrote: > >That sounds like a bug to me, it'll have broken a bunch of existing > >devices. > Most OF drivers have the OF MODALIAS. That's nice but not relevant to non-OF devices. > 'platform_uev

Re: [PATCH v3 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 04:39:21PM +0800, Shunqian Zheng wrote: > + SOC_ENUM("Anti-pop", rk3036_codec_antipop_enum), As discussed this shouldn't be an enum. signature.asc Description: PGP signature

Re: [PATCH v2 00/12] KVM: x86: add support for VMX TSC scaling

2015-11-06 Thread Paolo Bonzini
On 20/10/2015 09:39, Haozhong Zhang wrote: > This patchset adds support for VMX TSC scaling feature which is > available on Intel Skylake CPU. The specification of VMX TSC scaling > can be found at > http://www.intel.com/content/www/us/en/processors/timestamp-counter-scaling-virtualization-white-

Re: "compatible" and "model" properties in .dts for ARC boards

2015-11-06 Thread Jonas Gorski
On 06.11.2015 09:59, Arnd Bergmann wrote: > On Friday 06 November 2015 04:45:24 Vineet Gupta wrote: >>> >>> During OpenWRT upsreaming process one interesting topic was raised. >>> See in the middle of >>> https://lists.openwrt.org/pipermail/openwrt-devel/2015-November/036959.html >>> >>> In Device

Re: [PATCH] decnet: remove macro-local declarations

2015-11-06 Thread Julia Lawall
> > Would it be preferable to remove the macro entirely and inline the for > > loop header? > > Could you show me an example of how this would look exactly? One possible solution is below. I moved the initialization of the nh pointer inside the loop to reduce the size of the loop header. One cou

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Michal Hocko
On Thu 05-11-15 17:52:00, Johannes Weiner wrote: > On Thu, Nov 05, 2015 at 03:55:22PM -0500, Johannes Weiner wrote: > > On Thu, Nov 05, 2015 at 03:40:02PM +0100, Michal Hocko wrote: > > > This would be true if they moved on to the new cgroup API intentionally. > > > The reality is more complicated

Re: [PATCH 2/2] drm/imx: Remove the primary plane created by create_primary_plane()

2015-11-06 Thread Liu Ying
On Fri, Nov 06, 2015 at 11:05:48AM +0100, Philipp Zabel wrote: > Am Mittwoch, den 04.11.2015, 18:15 +0800 schrieb Liu Ying: > > Since we are using ipu_plane_init() to add one primary plane for each > > IPU CRTC, it's unnecessary to create the safe one by using the helper > > create_primary_plane().

[PATCH] dmaengine: pl330: Fix race in residue reporting

2015-11-06 Thread Sjoerd Simons
When a transfer completes there is a small window between the descriptor being unset as the current active one in the thread and it being marked as done. This causes the residue to be incorrectly set when pl330_tx_status is run in that window. Practically this caused issue for me with audio playbac

RE: [PATCH 2/2] ASoC: codecs: Add da7218 codec driver

2015-11-06 Thread Opensource [Adam Thomson]
On November 5, 2015 15:28, Mark Brown wrote: > > +/* ALC */ > > +static void da7218_alc_calib(struct snd_soc_codec *codec) > > +{ > > + struct da7218_priv *da7218 = snd_soc_codec_get_drvdata(codec); > > + u8 calib_ctrl; > > + int i = 0; > > + bool calibrated = false; > > + > > + /* Bypas

[PATCH] GPU-DRM: Delete unnecessary checks before drm_property_unreference_blob()

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 12:03:46 +0100 The drm_property_unreference_blob() function tests whether its argument is NULL and then returns immediately. Thus the tests around the calls are not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus

Re: [PATCH 2/2] ASoC: codecs: Add da7218 codec driver

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 11:11:38AM +, Opensource [Adam Thomson] wrote: > On November 5, 2015 15:28, Mark Brown wrote: > > > +static int da7218_mic_lvl_det_sw_put(struct snd_kcontrol *kcontrol, > > > + struct snd_ctl_elem_value *ucontrol) > > > +{ > > Why is this a

Re: [patch 3/3] vmstat: Create our own workqueue

2015-11-06 Thread Tetsuo Handa
Christoph Lameter wrote: > On Sat, 31 Oct 2015, Tetsuo Handa wrote: > > > Then, you need to update below description (or drop it) because > > patch 3/3 alone will not guarantee that the counters are up to date. > > The vmstat system does not guarantee that the counters are up to date > always. Th

Re: [PATCH] hpet: Delete an unnecessary check before unregister_sysctl_table()

2015-11-06 Thread Clemens Ladisch
SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 5 Nov 2015 21:32:42 +0100 > > The unregister_sysctl_table() function tests whether its argument is NULL > and then returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle soft

Re: [PATCH v3 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-06 Thread Shunqian Zheng
Hi Mark, On 2015年11月06日 18:45, Mark Brown wrote: On Fri, Nov 06, 2015 at 04:39:21PM +0800, Shunqian Zheng wrote: + SOC_ENUM("Anti-pop", rk3036_codec_antipop_enum), As discussed this shouldn't be an enum. Sure, I'll write the .get/.put/.info() for this. Here is the preview of it. Do you

[PATCH v5 0/5] Introduce usb charger framework to deal with the usb gadget power negotation

2015-11-06 Thread Baolin Wang
Currently the Linux kernel does not provide any standard integration of this feature that integrates the USB subsystem with the system power regulation provided by PMICs meaning that either vendors must add this in their kernels or USB gadget devices based on Linux (such as mobile phones) may not b

[PATCH v5 3/5] gadget: Support for the usb charger framework

2015-11-06 Thread Baolin Wang
For supporting the usb charger, it adds the usb_charger_init() and usb_charger_exit() functions for usb charger initialization and exit. Introduce a callback 'get_charger_type' which will implemented by user for usb gadget operations to get the usb charger type. Signed-off-by: Baolin Wang --- d

[PATCH v5 2/5] gadget: Introduce the usb charger framework

2015-11-06 Thread Baolin Wang
This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system with suitable hardware. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from the

[PATCH v5 1/5] gadget: Introduce the notifier functions

2015-11-06 Thread Baolin Wang
The usb charger framework is based on usb gadget. The usb charger need to be notified the state changing of usb gadget to confirm the usb charger state. Thus this patch adds a notifier mechanism for usb gadget to report a event to usb charger when the usb gadget state is changed. Signed-off-by: B

[PATCH v5 5/5] power: wm831x_power: Support USB charger current limit management

2015-11-06 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others. Signed-off-

[PATCH v5 4/5] gadget: Integrate with the usb gadget supporting for usb charger

2015-11-06 Thread Baolin Wang
When the usb gadget supporting for usb charger is ready, the usb charger should get the type by the 'get_charger_type' callback which is implemented by the usb gadget operations, and get the usb charger pointer from struct 'usb_gadget'. Signed-off-by: Baolin Wang --- drivers/usb/gadget/charger.c

[PATCH v2 0/3] Support more sample rates, let the rates normal work

2015-11-06 Thread Caesar Wang
That's seem the moment rockchip-codec driver other than 44100 and 48000 do not work. Says the (max98090, rt5640). As the chromeos reported issue:(https://chromium.googlesource.com/chromiumos/third_party/kernel/+/v3.14) For detail: In that bug we want to add 32000 to sound/soc

Re: [PATCH v2] h8300: cleanup startup and remove module code.

2015-11-06 Thread Daniel Lezcano
On 11/06/2015 08:03 AM, Yoshinori Sato wrote: h8300's clocksource driver update. Changes for v1 - Drop non-initialize changes. - Private data static allocation. - Avoid magic number. - Use request_irq. Hi Yoshinori, thanks for the changes. Unfortunately, they don't apply. You should base you

[PATCH v2 1/3] ASoC: rockchip: i2s: change bclk and lrck according to sample rates

2015-11-06 Thread Caesar Wang
This patch sets the dividers autonomously. when i2s works on master mode, and sample rates changed. We need to change bclk and lrck at the same time for cpu internal side. As the input source clock to the module is MCLK_I2S, and by the divider of the module, the clock generator generates SCLK and

[PATCH v2 2/3] ASoC: rockchip-max98090: Allow more sample rates

2015-11-06 Thread Caesar Wang
The MAX98090 audio codec support sample rates from 8 to 96 kHz as the dai claim. Signed-off-by: Caesar Wang --- Changes in v2: - add the 64000 sample rates for max98090. sound/soc/rockchip/rockchip_max98090.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/rockchip/rockchi

Re: [GIT PULL] x86/mm changes for v4.4

2015-11-06 Thread Matt Fleming
On Thu, 05 Nov, at 01:33:10PM, Linus Torvalds wrote: > > And if this turns out to be due to EFI wanting those permissions, what > should we do? People have talked about running the EFI callbacks in > their own private page table setup, which sounds like the right idea, > but until that actually *h

[PATCH v2 3/3] ASoC: rockchip-rt5645: Allow more sample rates

2015-11-06 Thread Caesar Wang
The RT5645 audio codec support sample rates from 8 to 96 kHz as the dai claim. Signed-off-by: Caesar Wang --- Changes in v2: - add the 64000 sample rate for rt5645. sound/soc/rockchip/rockchip_rt5645.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/rockchip/rockchip_rt564

Re: [PATCH v5 3/6] iommu: add ARM short descriptor page table allocator

2015-11-06 Thread Will Deacon
On Fri, Nov 06, 2015 at 04:42:52PM +0800, Yong Wu wrote: > On Fri, 2015-10-09 at 10:23 +0800, Yong Wu wrote: > > This patch is for ARM Short Descriptor Format. > > > > Signed-off-by: Yong Wu > > --- > > Hi Will, Robin, >Is there any comment about this patch? >As our project request, We a

Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO

2015-11-06 Thread Jason A. Donenfeld
On Fri, Nov 6, 2015 at 5:58 AM, Herbert Xu wrote: > I don't see anything fundamentally wrong with your idea. After > all what you're describing is the basis of GSO, i.e., letting > data stay in the form of super-packets for as long as we can. > > Of course there's going to be a lot of niggly bits

Re: [PATCH] decnet: remove macro-local declarations

2015-11-06 Thread walter harms
+1 I like this more since it is much more obvious what is done. more over we can remove a macro with only 2 users. re, wh Am 06.11.2015 11:57, schrieb Julia Lawall: >>> Would it be preferable to remove the macro entirely and inline the for >>> loop header? >> >> Could you show me an example o

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Jiang Liu
On 2015/11/6 18:37, Tomasz Nowicki wrote: > On 06.11.2015 09:52, Jiang Liu wrote: >> On 2015/11/6 2:19, Lorenzo Pieralisi wrote: >>> On Thu, Nov 05, 2015 at 03:21:34PM +0100, Tomasz Nowicki wrote: On 14.10.2015 08:29, Jiang Liu wrote: >>> >>> [...] >>> > +static void acpi_pci_root_validate

Re: [PATCH 6/7] regulator: hisilicon: Add hi655x pmic voltage regulator driver

2015-11-06 Thread kbuild test robot
Hi Chen, [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/Chen-Feng/Add-Support-for-Hi6220-PMIC-Hi6553-MFD-Core/20151105-215603 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie

Re: [PATCH v3 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 07:35:11PM +0800, Shunqian Zheng wrote: > Sure, I'll write the .get/.put/.info() for this. > Here is the preview of it. > Do you think the following is good to go? Yes, that looks sane. signature.asc Description: PGP signature

Re: GSO with udp_tunnel_xmit_skb

2015-11-06 Thread Jason A. Donenfeld
Hi Tom, On Fri, Nov 6, 2015 at 8:19 AM, Tom Herbert wrote: > Is this about UFO or GSO (in email subject)? UFO should operate > independently encapsulation or inner packet setting. I suppose this is about UFO. Specifically -- let's say I have a list of 500 skbs, which have their data in place bu

Re: [PATCH] decnet: remove macro-local declarations

2015-11-06 Thread Julia Lawall
On Fri, 6 Nov 2015, walter harms wrote: > +1 > > I like this more since it is much more obvious what is done. > > more over we can remove a macro with only 2 users. It's not to bad because it turns out to be pretty concise. But I don't agree about the 2 users. There are 2 users for this speci

RE: [PATCH 2/2] ASoC: codecs: Add da7218 codec driver

2015-11-06 Thread Opensource [Adam Thomson]
On November 6, 2015 11:22, Mark Brown wrote: > > > > +static int da7218_mic_lvl_det_sw_put(struct snd_kcontrol *kcontrol, > > > > +struct snd_ctl_elem_value > > > > *ucontrol) > > > > +{ > > > > Why is this a user visible control? > > > I can envisage in a sy

Re: [PATCH 2/2] ASoC: codecs: Add da7218 codec driver

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 11:53:00AM +, Opensource [Adam Thomson] wrote: > On November 6, 2015 11:22, Mark Brown wrote: > > > I can envisage in a system you may want to choose which capture channels > > > can > > > trigger level detection (if any), and this may change depending on the > > > us

Re: [PATCH v11 5/5] xen/arm: account for stolen ticks

2015-11-06 Thread Mark Rutland
On Fri, Nov 06, 2015 at 11:41:49AM +, David Vrabel wrote: > On 06/11/15 11:39, Stefano Stabellini wrote: > > On Thu, 5 Nov 2015, Mark Rutland wrote: > >>> static void xen_percpu_init(void) > >>> { > >>> struct vcpu_register_vcpu_info info; > >>> @@ -104,6 +120,8 @@ static void xen_percpu_in

Re: [PATCH v3 1/3] ASoC: rockchip: i2s: add 8 channels capture support

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 09:38:09AM +0800, Sugar Zhang wrote: > + /* refine capture channels */ > + if (!of_property_read_u32(node, "rockchip,capture-channels", &val)) { > + if (val >= 2 && val <= 8) > + rockchip_i2s_dai.capture.channels_max = val; > +

Re: [PATCH v11 1/5] xen: move xen_setup_runstate_info and get_runstate_snapshot to drivers/xen/time.c

2015-11-06 Thread Mark Rutland
On Fri, Nov 06, 2015 at 11:11:40AM +, Stefano Stabellini wrote: > On Thu, 5 Nov 2015, Mark Rutland wrote: > > Hi, > > > > > +static u64 get64(const u64 *p) > > > +{ > > > + u64 ret; > > > + > > > + if (BITS_PER_LONG < 64) { > > > + u32 *p32 = (u32 *)p; > > > + u32 h, l; > > > +

Re: [PATCH v3 3/3] ASoC: rockchip: i2s: share tx/rx lrck when symmetric_rates enabled

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 09:38:11AM +0800, Sugar Zhang wrote: > we share lrck_tx to lrck_rx only if when both i2s symmetric_rates and > dai_link symmetric_rates enabled. This looks good but seems to depend on patch 1 so I can't apply it yet. signature.asc Description: PGP signature

[PATCH 00/13] High performance balancing logic for big.LITTLE

2015-11-06 Thread Arseniy Krasnov
Prologue The patch set introduces an extension to the default Linux CPU scheduler (CFS). The main purpose of the extension is utilization of a big.LITTLE CPU for maximum performance. Such solution may be useful for users of OdroidXU-3 board (supporting 8 cores) who

[PATCH 09/13] hperf_hmp: one way balancing function.

2015-11-06 Thread Arseniy Krasnov
Almost identical functions which push/pull task from/to current CPU to/from another cluster. Called when balancing between clusters is broken and we need to fix it. Signed-off-by: Tarek Dakhran Signed-off-by: Sergey Dyasly Signed-off-by: Dmitriy Safonov Signed-off-by: Arseniy Krasnov S

[PATCH 01/13] hperf_hmp: add new config for arm and arm64.

2015-11-06 Thread Arseniy Krasnov
New config option which enables new scheduler logic: HPERF_HMP. Also adds the following options: 'HPERF_HMP_DEBUG': enables extra runtime checks of balancing parameteres. 'HMP_FAST_CPU_MASK': CPU mask of A15 cluster(in hex string). 'HMP_SLOW_CPU_MASK': CPU mask of A7 cluster(in hex string).

[PATCH 11/13] hperf_hmp: task CPU selection logic.

2015-11-06 Thread Arseniy Krasnov
Adds new runqueue selection logic. If task is newly woken(fork or exec) or it is not WF_SYNC wakeup, idlest CPU from both clusters is selected. Else, default wake up logic is used('want_affine'). If it fails, idlest CPU from both clusters is selected. Signed-off-by: Tarek Dakhran Signed-o

[PATCH 13/13] hperf_hmp: cpufreq routines.

2015-11-06 Thread Arseniy Krasnov
Adds CPU frequency change notifier in fair scheduling class. Every time when governor changes frequency, it calls callback from this patch. Frequency of each CPU is used for imbalance calculation. Signed-off-by: Tarek Dakhran Signed-off-by: Sergey Dyasly Signed-off-by: Dmitriy Safonov S

[PATCH 12/13] hperf_hmp: rest of logic.

2015-11-06 Thread Arseniy Krasnov
Inserts call to main logic from 'load_balance', balance parameters calculation during enqueue/dequeue task from runqueue and affinity mask change callback for fair scheduling class. Signed-off-by: Tarek Dakhran Signed-off-by: Sergey Dyasly Signed-off-by: Dmitriy Safonov Signed-off-by: A

[PATCH 03/13] hperf_hmp: add sched domains initialization.

2015-11-06 Thread Arseniy Krasnov
Attaching CPU clusters as 'sched_group' to HMP domains. Each HMP domain has two pointers to A15 and A7 scheduling groups(struct sched_group). Signed-off-by: Tarek Dakhran Signed-off-by: Sergey Dyasly Signed-off-by: Dmitriy Safonov Signed-off-by: Arseniy Krasnov Signed-off-by: Ilya Maxi

[PATCH 08/13] hperf_hmp: swap tasks function.

2015-11-06 Thread Arseniy Krasnov
'swap_tasks' performs migration between current CPU and CPU from another cluster. It scans two runqueues looking for tasks using 'druntime' metric. When both tasks are found it pulls task from another cluster, and push task from the current CPU. Signed-off-by: Tarek Dakhran Signed-off-by:

[PATCH 07/13] hperf_hmp: migration auxiliary functions.

2015-11-06 Thread Arseniy Krasnov
Adds functions used for migration: scanning every runqueue from another cluster for migration process, searching task to migrate from runqueue mentioned above and function to move task from one CPU to another. Signed-off-by: Tarek Dakhran Signed-off-by: Sergey Dyasly Signed-off-by: Dmitr

[PATCH 10/13] hperf_hmp: idle pull function.

2015-11-06 Thread Arseniy Krasnov
HMP idle pull is triggered when CPU becomes idle. It tries to pull task from another cluster when it is overloaded. Also A7 can't pull alone task from A15, but A15 can do that with A7 core. Task for migration is chosen in the same way as for other HMP migration cases - using 'druntime' metr

[PATCH 06/13] hperf_hmp: is_hmp_imbalance introduced.

2015-11-06 Thread Arseniy Krasnov
'is_hmp_imbalance' function calculates imbalance between clusters, four cases are possible: balancing from/to one of clusters, task swap(when clusters are balanced) or skip rebalance. Function calculates load difference between two cluster(cluster load / cluster power) and threshold when ba

[PATCH 05/13] hperf_hmp: introduce druntime metric.

2015-11-06 Thread Arseniy Krasnov
This patch adds special per-task metric to look for candidate for migration between HMP domains(clusters). 'druntime' grows up when task runs on A7 cluster, and goes down on A15 cluster. Also druntime is scaled according load on little cluster in order to align its value with big cluster's

[PATCH 04/13] hperf_hmp: scheduler initialization routines.

2015-11-06 Thread Arseniy Krasnov
Adds new fields to 'rq' structure and routine called during fair class setup, which initializes some HMP scheduler variables: big and little cluster masks. They are read from kernel config(if set), else default values are used. Signed-off-by: Tarek Dakhran Signed-off-by: Sergey Dyasly Si

[PATCH 02/13] hperf_hmp: introduce hew domain flag.

2015-11-06 Thread Arseniy Krasnov
New scheduler domain type: HMP. Each big.LITTLE cluster is detected by scheduler as HMP domain. HPERF_HMP logic works between two HMP domains, the default CFS logic, in turn, works inside the HMP domain. Signed-off-by: Tarek Dakhran Signed-off-by: Sergey Dyasly Signed-off-by: Dmitriy Saf

Re: [PATCH RESEND 0/4] SMP support for Broadcom NSP

2015-11-06 Thread Kapil Hali
On 11/5/2015 3:04 PM, Russell King - ARM Linux wrote: > On Thu, Nov 05, 2015 at 12:51:17AM -0500, Kapil Hali wrote: >> Hi, >> >> This series adds SMP support for Broadcom's Northstar Plus SoC. >> >> There are similar SMP enablement methods for many ARMv7 bsed SoCs. >> BCM NSP SoC, has a typical s

Re: [PATCH v2 3/3] livepatch: Cleanup module page permission changes

2015-11-06 Thread Josh Poimboeuf
On Fri, Nov 06, 2015 at 11:40:55AM +0100, Petr Mladek wrote: > On Thu 2015-11-05 15:18:05, Josh Poimboeuf wrote: > > Calling set_memory_rw() and set_memory_ro() for every iteration of the > > loop in klp_write_object_relocations() is messy, inefficient, and > > error-prone. > > > > Change all the

Re: [PATCH v5 5/5] power: wm831x_power: Support USB charger current limit management

2015-11-06 Thread kbuild test robot
Hi Baolin, [auto build test ERROR on v4.3-rc7] [also build test ERROR on next-20151106] url: https://github.com/0day-ci/linux/commits/Baolin-Wang/Introduce-usb-charger-framework-to-deal-with-the-usb-gadget-power-negotation/20151106-194008 config: i386-allmodconfig (attached as .config

Re: [PATCH RESEND 3/4] ARM: BCM: Add SMP support for Broadcom NSP

2015-11-06 Thread Kapil Hali
On 11/5/2015 3:14 PM, Linus Walleij wrote: > On Thu, Nov 5, 2015 at 6:51 AM, Kapil Hali wrote: > >> Add SMP support for Broadcom's Northstar Plus SoC, >> cpu enable method and pen_release procedures. This >> changes also consolidates iProc family's - BCM NSP >> and BCM Kona, SMP handling in a c

[PATCH] mmc: add ifdef around fault_create_debugfs_attr()

2015-11-06 Thread Adrien Schildknecht
FAIL_MMC_REQUEST can be used without FAULT_INJECTION_DEBUG_FS. In this case fault_create_debugfs_attr() will always return an error and lead to the deletion of the whole debugfs directory. This patch makes sure that FAULT_INJECTION_DEBUG_FS is enabled before attempting to create the debugfs atttri

[PATCH] usb: host: pci_quirks: fix memory leak, by adding iounmap

2015-11-06 Thread Saurabh Sengar
added iounmap inorder to free memory mapped to base before returning Signed-off-by: Saurabh Sengar --- drivers/usb/host/pci-quirks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index f940056..332f687 100644

Re: [RESEND PATCH 0/1] Fix the "hard LOCKUP" when running a heavy loading

2015-11-06 Thread Will Deacon
On Tue, Nov 03, 2015 at 11:00:20AM -0800, Doug Anderson wrote: > Hi, Hey Doug, > When CPUs are hard locked up, they are often found at: > > v7_coherent_kern_range+0x58/0x74 > or > v7wbi_flush_user_tlb_range+0x30/0x38 > > That made me think that an errata might be the root cause of our hard

Re: [PATCH v2 5/5] ARM: dts: AM4372: add entry for qspi mmap region

2015-11-06 Thread Vignesh R
On 11/06/2015 10:44 AM, Felipe Balbi wrote: > > Hi, > > Rob Herring writes: >> On Tue, Nov 03, 2015 at 03:36:14PM +0530, Vignesh R wrote: >>> Add qspi memory mapped region entries for AM43xx based SoCs. Also, >>> update the binding documents for the controller to document this change. >>> >>>

[RESEND PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-11-06 Thread Sjoerd Simons
When doing the initial setup both the hclk and the aclk need to be enabled otherwise the board will simply hang. This only occurs when building the vop driver as a module, when its built-in the initial setup happens to run before the clock framework shuts of unused clocks (including the aclk). Whi

Re: [RFC] iommu: arm-smmu: correct reference count

2015-11-06 Thread Will Deacon
On Wed, Nov 04, 2015 at 10:48:28AM +0800, Peng Fan wrote: > On Tue, Nov 03, 2015 at 01:17:34PM +, Will Deacon wrote: > >On Tue, Nov 03, 2015 at 08:59:17PM +0800, Peng Fan wrote: > >> iommu_group_alloc will initialize the reference count for group to 1. > >> iommu_group_add_device also increase

[PATCH 1/8] block/genhd.c: Add error handling

2015-11-06 Thread Vishnu Pratap Singh
This patch adds error handling for blk_register_region(), register_disk(), add_disk(), disk_alloc_events() & disk_add_events(). add_disk() & register_disk() functions error handling is very much needed as this is used mainly by many modules like mmc, zram, mtd, scsi etc. But there is no error hand

Re: [PATCH RESEND 0/4] SMP support for Broadcom NSP

2015-11-06 Thread Kapil Hali
On 11/6/2015 1:55 AM, Hauke Mehrtens wrote: > On 11/05/2015 10:34 AM, Russell King - ARM Linux wrote: >> On Thu, Nov 05, 2015 at 12:51:17AM -0500, Kapil Hali wrote: >>> Hi, >>> >>> This series adds SMP support for Broadcom's Northstar Plus SoC. >>> >>> There are similar SMP enablement methods for

[PATCH 2/8] mmc: handle add_disk() return value

2015-11-06 Thread Vishnu Pratap Singh
This patch handles add_disk() return value. Earlier add_disk() function doesn't handle error cases, now it is added, so the callers of this function should also handle it. Verfied on X86 based ubuntu machine. This patch depends on [PATCH 1/8] block/genhd.c: Add error handling Signed-off-by: Vish

[PATCH 3/8] block/floppy.c: handle blk_register_region() return value

2015-11-06 Thread Vishnu Pratap Singh
This patch handles blk_register_region() return value. Earlier blk_register_region() function doesn't handle error cases, now it is added, so the callers of this function should also handle it. Verfied on X86 based ubuntu machine. This patch depends on [PATCH 1/8] block/genhd.c: Add error handling

Re: [PATCH] arm64: remove redundant FRAME_POINTER kconfig option

2015-11-06 Thread Will Deacon
On Wed, Nov 04, 2015 at 09:37:51AM -0800, Yang Shi wrote: > FRAME_POINTER is defined in lib/Kconfig.debug, it is unnecessary to redefine > it in arch/arm64/Kconfig.debug. It might be worth noting that this adds a dependency on DEBUG_KERNEL for building with frame pointers. I'm ok with that (it app

Re: [PATCH 11/13] hperf_hmp: task CPU selection logic.

2015-11-06 Thread kbuild test robot
Hi Arseniy, [auto build test WARNING on tip/sched/core] [also build test WARNING on v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/Arseniy-Krasnov/High-performance-balancing-logic-for-big-LITTLE/20151106-200901 config: x86_64-randconfig-x018-11051832 (attached as .config

[PATCH 4/8] block/loop.c: handle add_disk() & blk_register_region() return value

2015-11-06 Thread Vishnu Pratap Singh
This patch handles blk_register_region() & add_disk() return value. Earlier these function doesn't handle error cases, now it is added, so the callers of this function should also handle it. Verfied on X86 based ubuntu machine. This patch depends on [PATCH 1/8] block/genhd.c: Add error handling S

[PATCH 5/8] zram: handle add_disk() & blk_register_region() return value

2015-11-06 Thread Vishnu Pratap Singh
This patch handles blk_register_region() & add_disk() return value. Earlier these function doesn't handle error cases, now it is added, so the callers of this function should also handle it. Verfied on X86 based ubuntu machine. This patch depends on [PATCH 1/8] block/genhd.c: Add error handling S

Re: [PATCH v5 1/5] gadget: Introduce the notifier functions

2015-11-06 Thread kbuild test robot
Hi Baolin, [auto build test WARNING on v4.3-rc7] [also build test WARNING on next-20151106] url: https://github.com/0day-ci/linux/commits/Baolin-Wang/Introduce-usb-charger-framework-to-deal-with-the-usb-gadget-power-negotation/20151106-194008 reproduce: make htmldocs All warnings (new ones

[PATCH 6/8] md/md.c: handle blk_register_region() return value

2015-11-06 Thread Vishnu Pratap Singh
This patch handles blk_register_region() return value. Earlier blk_register_region() function doesn't handle error cases, now it is added, so the callers of this function should also handle it. Verfied on X86 based ubuntu machine. This patch depends on [PATCH 1/8] block/genhd.c: Add error handling

[PATCH 7/8] cdrom/gdrom.c: handle add_disk() return value

2015-11-06 Thread Vishnu Pratap Singh
This patch handles add_disk() return value. Earlier add_disk() function doesn't handle error cases, now it is added, so the callers of this function should also handle it. Verfied on X86 based ubuntu machine. This patch depends on [PATCH 1/8] block/genhd.c: Add error handling Signed-off-by: Vish

Re: [GIT PULL] x86/mm changes for v4.4

2015-11-06 Thread Matt Fleming
On Fri, 06 Nov, at 07:55:50AM, Ingo Molnar wrote: > > 3) We should fix the EFI permission problem without relying on the firmware: > it > appears we could just mark everything R-X optimistically, and if a write > fault > happens (it's pretty rare in fact, only triggers when we write t

[PATCH 8/8] ide/ide-probe.c: handle blk_register_region() return value

2015-11-06 Thread Vishnu Pratap Singh
This patch handles blk_register_region() return value. Earlier blk_register_region() function doesn't handle error cases, now it is added, so the callers of this function should also handle it. Verfied on X86 based ubuntu machine. This patch depends on [PATCH 1/8] block/genhd.c: Add error handling

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Tomasz Nowicki
On 06.11.2015 12:46, Jiang Liu wrote: On 2015/11/6 18:37, Tomasz Nowicki wrote: On 06.11.2015 09:52, Jiang Liu wrote: On 2015/11/6 2:19, Lorenzo Pieralisi wrote: On Thu, Nov 05, 2015 at 03:21:34PM +0100, Tomasz Nowicki wrote: On 14.10.2015 08:29, Jiang Liu wrote: [...] +static void acpi_p

Re: [PATCH v2 00/12] KVM: x86: add support for VMX TSC scaling

2015-11-06 Thread Haozhong Zhang
On 11/06/15 11:49, Paolo Bonzini wrote: > > > On 20/10/2015 09:39, Haozhong Zhang wrote: > > This patchset adds support for VMX TSC scaling feature which is > > available on Intel Skylake CPU. The specification of VMX TSC scaling > > can be found at > > http://www.intel.com/content/www/us/en/proc

[PATCH] GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 13:38:22 +0100 The pwm_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/gp

Re: linux-next: Tree for Nov 6

2015-11-06 Thread Christian Borntraeger
Am 06.11.2015 um 04:24 schrieb Stephen Rothwell: > Merging access_once/linux-next (fc7f9754db6c s390/dma: Allow per device dma > ops) Stephen, can you rename that branch to borntraeger/linux-next ? It used to carry the access_once reworks, but it will in general hold things that I work on. Tha

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-06 Thread Pavel Machek
On Fri 2015-11-06 11:25:09, Michel Dänzer wrote: > On 06.11.2015 05:23, Pavel Machek wrote: > > Hi! > > > The flickering would vanish completely if that's the reason for the issue > you are seeing. > >>> > Try setting ref_div_min and ref_div_max to 2 in > radeon_compute_pll_av

Re: [PATCH] GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread Jani Nikula
On Fri, 06 Nov 2015, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 6 Nov 2015 13:38:22 +0100 > > The pwm_put() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. The compiler doesn't need it, but IMO it's useful

Re: [PATCH] arm64: remove redundant FRAME_POINTER kconfig option

2015-11-06 Thread Mark Rutland
On Fri, Nov 06, 2015 at 12:30:09PM +, Will Deacon wrote: > On Wed, Nov 04, 2015 at 09:37:51AM -0800, Yang Shi wrote: > > FRAME_POINTER is defined in lib/Kconfig.debug, it is unnecessary to redefine > > it in arch/arm64/Kconfig.debug. > > It might be worth noting that this adds a dependency on

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Lorenzo Pieralisi
On Fri, Nov 06, 2015 at 04:52:47PM +0800, Jiang Liu wrote: [...] > >>> +int acpi_pci_probe_root_resources(struct acpi_pci_root_info *info) > >>> +{ > >>> + int ret; > >>> + struct list_head *list = &info->resources; > >>> + struct acpi_device *device = info->bridge; > >>> + struct resource_entry

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Michal Hocko
On Thu 05-11-15 17:32:51, Johannes Weiner wrote: > On Thu, Nov 05, 2015 at 05:28:03PM +0100, Michal Hocko wrote: [...] > > Yes, that part is clear and Johannes made it clear that the kmem tcp > > part is disabled by default. Or are you considering also all the slab > > usage by the networking code

Re: [PATCH 3/8] block/floppy.c: handle blk_register_region() return value

2015-11-06 Thread kbuild test robot
Hi Vishnu, [auto build test ERROR on ide/master] [also build test ERROR on v4.3] [cannot apply to block/for-next next-20151106] url: https://github.com/0day-ci/linux/commits/Vishnu-Pratap-Singh/block-genhd-c-Add-error-handling/20151106-204249 base: https://git.kernel.org/pub/scm/linux

Re: GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread SF Markus Elfring
>> The pwm_put() function tests whether its argument is NULL and then >> returns immediately. Thus the test around the call is not needed. > > The compiler doesn't need it, but IMO it's useful documentation for humans. How do you think about to extend the explicit documentation for the affected p

Re: [patch 3/3] vmstat: Create our own workqueue

2015-11-06 Thread Christoph Lameter
On Fri, 6 Nov 2015, Tetsuo Handa wrote: > So, if you refer to the blocking of the execution of vmstat updates, > description for patch 3/3 sould be updated to something like below? Ok that is much better. > -- > Since __GFP_WAIT memory allocations do not call schedule() > when there is n

Re: [PATCH v2 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-11-06 Thread Maxime Coquelin
2015-10-22 14:35 GMT+02:00 Linus Walleij : > On Tue, Oct 20, 2015 at 6:32 PM, Maxime Coquelin > wrote: >> 2015-10-20 12:06 GMT+02:00 Daniel Thompson : >>> On 17/10/15 18:23, Maxime Coquelin wrote: > >>> I suggesting that, like with the clock driver, there is no need to the >>> STM32F429_PAXX_FUNC_

Re: [PATCH] mm: slab: Only move management objects off-slab for sizes larger than KMALLOC_MIN_SIZE

2015-11-06 Thread Geert Uytterhoeven
On Thu, Nov 5, 2015 at 5:08 PM, Catalin Marinas wrote: > From fda8f306b6941f4ddbefcbcfaa59fedef4a679a3 Mon Sep 17 00:00:00 2001 > From: Catalin Marinas > Date: Thu, 5 Nov 2015 11:14:48 + > Subject: [PATCH] mm: slab: Only move management objects off-slab for sizes > larger than KMALLOC_MIN_SI

Re: [PATCH 07/13] hperf_hmp: migration auxiliary functions.

2015-11-06 Thread kbuild test robot
Hi Arseniy, [auto build test WARNING on tip/sched/core] [also build test WARNING on v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/Arseniy-Krasnov/High-performance-balancing-logic-for-big-LITTLE/20151106-200901 reproduce: make htmldocs All warnings (new ones prefixed by

Re: Use-after-free in ep_remove_wait_queue

2015-11-06 Thread Dmitry Vyukov
On Mon, Oct 12, 2015 at 2:17 PM, Dmitry Vyukov wrote: > On Mon, Oct 12, 2015 at 2:14 PM, Eric Dumazet wrote: >> On Mon, 2015-10-12 at 14:02 +0200, Michal Kubecek wrote: >> >>> Probably the issue discussed in >>> >>> http://thread.gmane.org/gmane.linux.kernel/2057497/ >>> >>> and previous relate

Re: [GIT PULL] x86/mm changes for v4.4

2015-11-06 Thread Matt Fleming
On Thu, 05 Nov, at 11:05:35PM, Andy Lutomirski wrote: > > Admittedly, we might need to use a certain amount of care to avoid > interesting conflicts with the vmap mechanism. We might need to vmap > all of the EFI stuff, and possibly even all the top-level entries that > contain EFI stuff (i.e. ex

Re: [PATCH v5 3/5] gadget: Support for the usb charger framework

2015-11-06 Thread kbuild test robot
Hi Baolin, [auto build test WARNING on v4.3-rc7] [also build test WARNING on next-20151106] url: https://github.com/0day-ci/linux/commits/Baolin-Wang/Introduce-usb-charger-framework-to-deal-with-the-usb-gadget-power-negotation/20151106-194008 reproduce: make htmldocs All warnings (new ones

Re: GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread Jani Nikula
On Fri, 06 Nov 2015, SF Markus Elfring wrote: >>> The pwm_put() function tests whether its argument is NULL and then >>> returns immediately. Thus the test around the call is not needed. >> >> The compiler doesn't need it, but IMO it's useful documentation for humans. > > How do you think about t

Re: [PATCH] perf, tools: Add better errors to annotate

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 05, 2015 at 07:06:07PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > When the browser fails to annotate it is difficult for users to find > out what went wrong. > > Add some errors for objdump failures that are displayed in the UI. > > Note it would be event better to handle th

RE: [PATCH 2/2] ASoC: codecs: Add da7218 codec driver

2015-11-06 Thread Opensource [Adam Thomson]
On November 6, 2015 11:55, Mark Brown wrote: > > > > I can envisage in a system you may want to choose which capture > > > > channels can > > > > trigger level detection (if any), and this may change depending on the > > > > use-case > > > > at the time, so having it as a control makes sense to

Re: [PATCH v11 5/5] xen/arm: account for stolen ticks

2015-11-06 Thread Vitaly Kuznetsov
David Vrabel writes: > On 06/11/15 11:39, Stefano Stabellini wrote: >> On Thu, 5 Nov 2015, Mark Rutland wrote: static void xen_percpu_init(void) { struct vcpu_register_vcpu_info info; @@ -104,6 +120,8 @@ static void xen_percpu_init(void) BUG_ON(err); per_c

Re: [PATCH] perf symbols/KCORE: Rebuild rbtree when adjusting symbols for kcore

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu: > In dso__split_kallsyms_for_kcore(), current code adjusts symbol's > address but only reinsert it into rbtree if the symbol belongs to > another map. However, the expression for adjusting symbol (pos->start -= > curr_map->start - curr_ma

<    1   2   3   4   5   6   7   8   9   10   >