Re: [PATCH V1 5/5] spmi: pmic-arb: use irq_chip callback to set spmi irq wakeup capability

2017-07-06 Thread kgunda
On 2017-07-06 12:16, Stephen Boyd wrote: On 07/03, Kiran Gunda wrote: diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c index 5285245..2d2e39c 100644 --- a/drivers/spmi/spmi-pmic-arb.c +++ b/drivers/spmi/spmi-pmic-arb.c @@ -621,6 +621,19 @@ static int

lib/list_debug.o: warning: objtool: __list_del_entry_valid()+0x9f: unreachable instruction

2017-07-06 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9b51f04424e17051a89ab32d892ca66b2a104825 commit: baa41469a7b992c1e3db2a39854219cc7442e48f objtool: Implement stack validation 2.0 date: 6 days ago config: x86_64-randconfig-in0-07061049 (attached as

[PATCH] drm/bridge: dw_hdmi: add cec notifier support

2017-07-06 Thread Neil Armstrong
From: Russell King Add CEC notifier support to the HDMI bridge driver, so that the CEC part of the IP can receive its physical address. Tested-by: Neil Armstrong Acked-by: Neil Armstrong Acked-by: Hans Verkuil Signed-off-by: Russell King Signed-off-by: Neil Armstrong ---

[PATCH 1/2] printk: Unconditionally unregister boot consoles if in init section

2017-07-06 Thread Matt Redfearn
Commit 4c30c6f566c0 ("kernel/printk: do not turn off bootconsole in printk_late_init() if keep_bootcon") added a check on keep_bootcon to ensure that boot consoles were kept around until the real console is registered. This can lead to problems if the boot console data and code are in the init

[PATCH 2/2] serial: earlycon: Make early_con as __initdata

2017-07-06 Thread Matt Redfearn
All early console drivers that may be registered as the earlycon are marked __init to be placed in the init section. The drivers' code and data are freed during free_initmem_default() but the early console is not unregistered in printk_late_init() as the init_section_intersects() test fails. This

Re: [linux-sunxi] Re: [PATCH 6/6] net: stmmac: revert "support future possible different internal phy mode"

2017-07-06 Thread Chen-Yu Tsai
Hi Corentin, On Thu, Jul 6, 2017 at 5:45 PM, David Miller wrote: > From: Corentin Labbe > Date: Thu, 6 Jul 2017 10:51:47 +0200 > >> On Sun, Jul 02, 2017 at 02:31:59PM +0200, Corentin Labbe wrote: >>> Since internal phy-mode is reserved for non-xMII protocol we cannot use >>> it with dwmac-sun8i

Re: v4l2-fwnode: status, plans for merge, any branch to merge against?

2017-07-06 Thread Pavel Machek
Hi! > > > > > I expect to have most of them in during the next merge window. > > > > > > > > So git://linuxtv.org/media_tree.git branch master is the right one to > > > > work one? > > > > > > I also pushed the rebased ccp2 branch there: > > > > > >

Re: [PATCH] sctp: set the value of flowi6_oif to sk_bound_dev_if to make sctp_v6_get_dst to find the correct route entry.

2017-07-06 Thread David Miller
From: Zheng Li Date: Thu, 6 Jul 2017 15:00:09 +0800 > From: Zheng Li > > if there are several same route entries with different outgoing net device, > application's socket specifies the oif through setsockopt with > SO_BINDTODEVICE, sctpv6 should choose the route entry whose outgoing net >

Re: [PATCH v2 02/10] cpufreq: provide data for frequency-invariant load-tracking support

2017-07-06 Thread Viresh Kumar
On 06-07-17, 10:49, Dietmar Eggemann wrote: > A frequency-invariant load-tracking solution based on cpufreq transition > notifier will not work for future fast frequency switching policies. > That is why a different solution is presented with this patch. > > Let cpufreq call the function

Re: [PATCH] ptp: dte: Use LL suffix for 64-bit constants

2017-07-06 Thread David Miller
From: Geert Uytterhoeven Date: Thu, 6 Jul 2017 10:34:54 +0200 > With gcc 4.1.2: > > drivers/ptp/ptp_dte.c: In function ‘dte_write_nco_delta’: > drivers/ptp/ptp_dte.c:105: warning: integer constant is too large for > ‘long’ type > drivers/ptp/ptp_dte.c:112: warning: integer

Re: [PATCH v2 04/10] arm: wire cpufreq input data for frequency-invariant accounting up to the arch

2017-07-06 Thread Viresh Kumar
On 06-07-17, 10:49, Dietmar Eggemann wrote: > Define arch_set_freq_scale to be the arch_topology "driver" function > topology_set_freq_scale() to let FIE work correctly. > > Cc: Russell King > Cc: Juri Lelli > Signed-off-by: Dietmar Eggemann > --- > arch/arm/include/asm/topology.h | 5 + >

Re: [PATCH] drm/bridge: dw_hdmi: add cec notifier support

2017-07-06 Thread Jose Abreu
Hi Neil, On 06-07-2017 11:33, Neil Armstrong wrote: > From: Russell King > > Add CEC notifier support to the HDMI bridge driver, so that the CEC > part of the IP can receive its physical address. > > Tested-by: Neil Armstrong > Acked-by: Neil Armstrong > Acked-by: Hans Verkuil >

Re: [PATCH v2] nvme-rdma: remove race conditions from IB signalling

2017-07-06 Thread Marta Rybczynska
> On Wed, Jun 21, 2017 at 05:14:41PM +0200, Marta Rybczynska wrote: >> I do not see this one in nvme-4.13. Can we get it in, please? >> We're seeing the races in our setup and this patch fixes it. > > I've added it. Note that your mail was whitespace damaged, so I had > to apply it manually. I

Re: [PATCH v2 03/10] drivers base/arch_topology: frequency-invariant load-tracking support

2017-07-06 Thread Viresh Kumar
On 06-07-17, 10:49, Dietmar Eggemann wrote: > Implements an arch-specific frequency-scaling function > topology_get_freq_scale() which provides the following frequency > scaling factor: > > current_freq(cpu) << SCHED_CAPACITY_SHIFT / max_supported_freq(cpu) > > One possible consumer of this is

Re: [PATCH v2 05/10] arm: wire frequency-invariant accounting support up to the task scheduler

2017-07-06 Thread Viresh Kumar
On 06-07-17, 10:49, Dietmar Eggemann wrote: > Commit dfbca41f3479 ("sched: Optimize freq invariant accounting") > changed the wiring which now has to be done by associating > arch_scale_freq_capacity with the actual implementation provided > by the architecture. > > Define

Re: [PATCH v2 06/10] arm: wire cpu-invariant accounting support up to the task scheduler

2017-07-06 Thread Viresh Kumar
On 06-07-17, 10:49, Dietmar Eggemann wrote: > Commit 8cd5601c5060 ("sched/fair: Convert arch_scale_cpu_capacity() from > weak function to #define") changed the wiring which now has to be done > by associating arch_scale_cpu_capacity with the actual implementation > provided by the architecture. >

[PATCH v2 0/1]

2017-07-06 Thread Claudio Imbrenda
This patch adds a few lines to the KVM common code to fire a KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event carries four environment variables: KVM_VM_CREATED indicates how many times a new VM has been created. It is useful for example to trigger specific

[PATCH v2 1/1] KVM: trigger uevents when starting or stopping a VM

2017-07-06 Thread Claudio Imbrenda
This patch adds a few lines to the KVM common code to fire a KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event carries four environment variables: KVM_VM_CREATED indicates how many times a new VM has been created. It is useful for example to trigger specific

Re: [PATCH v2 07/10] arm64: wire cpufreq input data for frequency-invariant accounting up to the arch

2017-07-06 Thread Viresh Kumar
On 06-07-17, 10:49, Dietmar Eggemann wrote: > Define arch_set_freq_scale to be the arch_topology "driver" function > topology_set_freq_scale() to let FIE work correctly. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Juri Lelli > Signed-off-by: Dietmar Eggemann > --- >

Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-07-06 Thread Tetsuo Handa
Michal Hocko wrote: > On Sat 01-07-17 20:43:56, Tetsuo Handa wrote: > > Michal Hocko wrote: > [...] > > > It is really hard to pursue this half solution when there is no clear > > > indication it helps in your testing. So could you try to test with only > > > this patch on top of the current

Re: [PATCH v2 09/10] arm64: wire cpu-invariant accounting support up to the task scheduler

2017-07-06 Thread Viresh Kumar
On 06-07-17, 10:49, Dietmar Eggemann wrote: > Commit 8cd5601c5060 ("sched/fair: Convert arch_scale_cpu_capacity() from > weak function to #define") changed the wiring which now has to be done > by associating arch_scale_cpu_capacity with the actual implementation > provided by the architecture. >

Re: [PATCH V1 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-06 Thread kgunda
On 2017-07-06 12:29, Stephen Boyd wrote: On 07/03, Kiran Gunda wrote: From: David Collins Add support for version 5 of the SPMI PMIC arbiter. It utilizes different offsets for registers than those found on version 3. Also, the procedure to determine if writing and IRQ access is allowed for a

Re: [PATCH v2 08/10] arm64: wire frequency-invariant accounting support up to the task scheduler

2017-07-06 Thread Viresh Kumar
On 06-07-17, 10:49, Dietmar Eggemann wrote: > Commit dfbca41f3479 ("sched: Optimize freq invariant accounting") > changed the wiring which now has to be done by associating > arch_scale_freq_capacity with the actual implementation provided > by the architecture. > > Define

writeback error handling fixes (pile #1)

2017-07-06 Thread Jeff Layton
The following changes since commit c86daad2c25bfd4a33d48b7691afaa96d9c5ab46: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2017-05-26 16:45:13 -0700) are available in the git repository at:

Re: [PATCH 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-06 Thread Hans Verkuil
On 07/06/17 12:27, Neil Armstrong wrote: > The Amlogic SoC embeds a standalone CEC controller, this patch adds a driver > for such controller. > The controller does not need HPD to be active, and could support up to max > 5 logical addresses, but only 1 is handled since the Suspend firmware can >

Re: [PATCH 12/18] drivers: s390: Move static and inline before return type

2017-07-06 Thread Joe Perches
On Thu, 2017-07-06 at 12:29 +0200, Heiko Carstens wrote: > On Wed, Jul 05, 2017 at 01:02:21PM -0700, Joe Perches wrote: > > Make the code like the rest of the kernel. [] > > diff --git a/drivers/s390/net/qeth_l3_main.c > > b/drivers/s390/net/qeth_l3_main.cqq [] > > @@ -2408,7 +2408,7 @@ static

Re: [PATCH v2 10/10] drivers base/arch_topology: inline cpu- and frequency-invariant accounting

2017-07-06 Thread Viresh Kumar
Sure this patch looks pretty useful, but ... On 06-07-17, 10:49, Dietmar Eggemann wrote: > diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c > index 63fb3f945d21..b4481cff14bf 100644 > --- a/drivers/base/arch_topology.c > +++ b/drivers/base/arch_topology.c > @@ -22,12 +22,7

Re: [PATCH v2 01/10] drivers base/arch_topology: free cpumask cpus_to_visit

2017-07-06 Thread Juri Lelli
Hi Viresh, On 06/07/17 15:52, Viresh Kumar wrote: > On 06-07-17, 10:49, Dietmar Eggemann wrote: [...] > > static void parsing_done_workfn(struct work_struct *work) > > { > > + free_cpumask_var(cpus_to_visit); > > cpufreq_unregister_notifier(_cpu_capacity_notifier, > >

[PATCH v7 0/3] ADV748x HDMI/Analog video receiver

2017-07-06 Thread Kieran Bingham
From: Kieran Bingham This is a driver for the Analog Devices ADV748x device, and follows on from a previous posting by Niklas Söderlund [0] of an earlier incarnation of this driver, and earlier versions posted by myself. ADV748x === The ADV7481 and ADV7482 support two video pipelines which

[PATCH v7 1/3] media: adv748x: Add adv7481, adv7482 bindings

2017-07-06 Thread Kieran Bingham
From: Kieran Bingham Create device tree bindings documentation for the ADV748x. The ADV748x supports both the ADV7481 and ADV7482 chips which provide analogue decoding and HDMI receiving capabilities Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- v6: - Clean up description

[PATCH v7 3/3] MAINTAINERS: Add ADV748x driver

2017-07-06 Thread Kieran Bingham
From: Kieran Bingham The ADV7481 is an integrated video decoder and combined HDMI/MHL receiver. Signed-off-by: Kieran Bingham Acked-by: Laurent Pinchart --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c4be6d4af7d2..741da59b133a 100644

[PATCH v7 2/3] media: i2c: adv748x: add adv748x driver

2017-07-06 Thread Kieran Bingham
From: Kieran Bingham Provide support for the ADV7481 and ADV7482. The driver is modelled with 4 subdevices to allow simultaneous streaming from the AFE (Analog front end) and HDMI inputs though two CSI TX entities. The HDMI entity is linked to the TXA CSI bus, whilst the AFE is linked to the

Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls

2017-07-06 Thread Daniel Vetter
On Thu, Jul 6, 2017 at 12:16 PM, Ville Syrjälä wrote: >> > + if (!dev->irq_enabled) >> > + return -EINVAL; >> > + >> > + crtc = drm_crtc_find(dev, get_seq->crtc_id); >> > + if (!crtc) >> > + return -ENOENT; >> > + >> > + pipe = drm_crtc_index(crtc); >> > + >> > +

[PATCH] f2fs: no need to create issue_discard_thread if it exists

2017-07-06 Thread Yunlong Song
Signed-off-by: Yunlong Song --- fs/f2fs/segment.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 4c246e3..b48d004 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -1417,6 +1417,8 @@ static int create_discard_cmd_control(struct

Re: [PATCH] drm/bridge: dw_hdmi: add cec notifier support

2017-07-06 Thread Russell King - ARM Linux
On Thu, Jul 06, 2017 at 12:33:06PM +0200, Neil Armstrong wrote: > From: Russell King > > Add CEC notifier support to the HDMI bridge driver, so that the CEC > part of the IP can receive its physical address. > > Tested-by: Neil Armstrong > Acked-by: Neil Armstrong > Acked-by: Hans Verkuil >

Re: [RFC PATCH 4/5] iommu/dma: Export non-static functions to use in modules

2017-07-06 Thread Robin Murphy
On 06/07/17 03:25, Tomasz Figa wrote: > On Thu, Jul 6, 2017 at 1:22 AM, Robin Murphy wrote: >> On 05/07/17 08:12, Tomasz Figa wrote: >>> There is nothing wrong in having a loadable module implementing DMA API, >>> for example to be used for sub-devices registered by the module. However, >>> most

Re: [PATCH v2 01/10] drivers base/arch_topology: free cpumask cpus_to_visit

2017-07-06 Thread Viresh Kumar
On 06-07-17, 11:59, Juri Lelli wrote: > On 06/07/17 15:52, Viresh Kumar wrote: > > CPU0 (big)CPU4 (LITTLE) > > > > if (cap_parsing_failed || > > cap_parsing_done) > > return 0; > > > >

Re: [PATCH v3 2/2] acpi/iort: numa: Add numa node mapping for smmuv3 devices

2017-07-06 Thread Robert Richter
On 04.07.17 11:07:59, Lorenzo Pieralisi wrote: > On Wed, Jun 28, 2017 at 07:47:50PM +0200, Robert Richter wrote: > > On 15.06.17 14:46:03, Lorenzo Pieralisi wrote: > > > On Thu, Jun 08, 2017 at 10:14:19AM +0530, Ganapatrao Kulkarni wrote: > > > > Add code to parse proximity domain in SMMUv3 IORT

Re: [PATCH] drm/bridge: dw_hdmi: add cec notifier support

2017-07-06 Thread Neil Armstrong
On 07/06/2017 12:43 PM, Jose Abreu wrote: > Hi Neil, > > > On 06-07-2017 11:33, Neil Armstrong wrote: >> From: Russell King >> >> Add CEC notifier support to the HDMI bridge driver, so that the CEC >> part of the IP can receive its physical address. >> >> Tested-by: Neil Armstrong >> Acked-by:

[PATCH] Add support of all Foxconn (105b) Broadcom devices

2017-07-06 Thread Dmitry Tunin
There is another device T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=105b ProdID=e066 Rev=01.12 S: Manufacturer=Broadcom Corp S: Product=BCM20702A0 S: SerialNumber=342387DAE35E C: #Ifs= 4 Cfg#= 1

Re: [PATCH] drm/bridge: dw_hdmi: add cec notifier support

2017-07-06 Thread Neil Armstrong
On 07/06/2017 01:05 PM, Russell King - ARM Linux wrote: > On Thu, Jul 06, 2017 at 12:33:06PM +0200, Neil Armstrong wrote: >> From: Russell King >> >> Add CEC notifier support to the HDMI bridge driver, so that the CEC >> part of the IP can receive its physical address. >> >> Tested-by: Neil

Re: [PATCH 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-06 Thread Neil Armstrong
On 07/06/2017 12:55 PM, Hans Verkuil wrote: > On 07/06/17 12:27, Neil Armstrong wrote: >> The Amlogic SoC embeds a standalone CEC controller, this patch adds a driver >> for such controller. >> The controller does not need HPD to be active, and could support up to max >> 5 logical addresses, but

Re: [PATCH v5 1/3] iio: adc: Add support for DLN2 ADC

2017-07-06 Thread Jonathan Cameron
On 5 July 2017 22:12:46 BST, Jack Andersen wrote: >This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. >ADC is the fourth and final component of the DLN2 for the kernel. > >Signed-off-by: Jack Andersen The remove order differs from opposite of probe due to use of devm after

[PATCH v2] Add support of all Foxconn (105b) Broadcom devices

2017-07-06 Thread Dmitry Tunin
There is another device T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=105b ProdID=e066 Rev=01.12 S: Manufacturer=Broadcom Corp S: Product=BCM20702A0 S: SerialNumber=342387DAE35E C: #Ifs= 4 Cfg#= 1

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-07-06 Thread Tom Lanyon
Sorry for the slow response - I've just had a chance to run some more tests. I tried to disable the SD card reader in the BIOS as suggested earlier in the thread, but that didn't seem to make a significant change. More inline below. On Tue, 2017-06-27 at 17:03 +0200, Rafael J. Wysocki wrote: > I

Re: [PATCH] Add support of all Foxconn (105b) Broadcom devices

2017-07-06 Thread Dmitry Tunin
I lost a line here. Sending v2. 2017-07-06 14:29 GMT+03:00 Dmitry Tunin : > There is another device > > T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=105b ProdID=e066 Rev=01.12 > S:

hotspot v1.0.0 available - a GUI for Linux perf

2017-07-06 Thread Milian Wolff
Hey all, I have the pleasure to finally announce the availability of hotspot v1.0.0. Hotspot is a GUI for Linux perf. Right now, it's a drop-in replacement for (parts of) `perf report`. It aims to be easier to use, but comes with powerful features to analyze the profiler data: - summary view

Re: [PATCH] scsi: sg: fix SG_DXFER_FROM_DEV transfers

2017-07-06 Thread Hannes Reinecke
On 07/05/2017 03:49 PM, Johannes Thumshirn wrote: > SG_DXFER_FROM_DEV transfers do not have a dxferp as we set it to NULL, > but must have a length bigger than 0. This fixes a regression introduced > by commit 28676d869bbb ("scsi: sg: check for valid direction before > starting the request") > >

Re: [PATCH] drm/bridge: dw_hdmi: add cec notifier support

2017-07-06 Thread Russell King - ARM Linux
On Thu, Jul 06, 2017 at 01:29:54PM +0200, Neil Armstrong wrote: > On 07/06/2017 01:05 PM, Russell King - ARM Linux wrote: > > On Thu, Jul 06, 2017 at 12:33:06PM +0200, Neil Armstrong wrote: > >> From: Russell King > >> > >> Add CEC notifier support to the HDMI bridge driver, so that the CEC > >>

Re: [PATCH] drm/bridge: dw_hdmi: add cec notifier support

2017-07-06 Thread Neil Armstrong
> > Well, from what I can see in 4.12, the cec-notifier stuff is rather > broken (tda998x has stopped working as its stuck with a physical > address of f.f.f.f) so I think the whole thing is rather moot right > now. I don't yet know what's going on with that, other than the > notifier stuff seems to not be working, despite being enabled in > the .config. > Indeed, I missed some parts of the thread, sorry for the confusion. Anyway, is it a showstopper to have this patch merged separately ? If you prefer re-posting a serie with this patch inside, no problem, but the Amlogic platform still needs this patch to have CEC working. Maybe it's because of fixes introduced in 4.13, but using next-20170706 and this patch, make things works perfectly. Neil

Re: [PATCH] drm/bridge: dw_hdmi: add cec notifier support

2017-07-06 Thread Russell King - ARM Linux
On Thu, Jul 06, 2017 at 12:45:55PM +0100, Russell King - ARM Linux wrote: > Well, from what I can see in 4.12, the cec-notifier stuff is rather > broken (tda998x has stopped working as its stuck with a physical > address of f.f.f.f) so I think the whole thing is rather moot right > now. I don't

[GIT PULL] writeback error handling fixes (pile #1)

2017-07-06 Thread Jeff Layton
On Thu, 2017-07-06 at 06:51 -0400, Jeff Layton wrote: > The following changes since commit c86daad2c25bfd4a33d48b7691afaa96d9c5ab46: > > Merge branch 'for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2017-05-26 16:45:13 > -0700) > > are available in the git

Re: [PATCH v2] irqchip/mips-gic: Add missing shared interrupt handler

2017-07-06 Thread Thomas Gleixner
On Thu, 6 Jul 2017, jrj...@gmail.com wrote: CC+ MIPS folks. There is a reason WHY I added them to my previous reply. > From: Jun-Ru Chang > > Commit b87281e7f205 ("irqchip/mips-gic: Remove device IRQ domain") > removes the device IRQ domain and uses gic_irq_domain_alloc() to > allocate the

Re: [RFC PATCH v2] userfaultfd: Add feature to request for a signal delivery

2017-07-06 Thread Mike Rapoport
On Wed, Jul 05, 2017 at 05:41:14PM -0700, prakash.sangappa wrote: > > > On 07/04/2017 11:28 AM, Mike Rapoport wrote: > >On Tue, Jun 27, 2017 at 09:08:40AM -0700, Prakash Sangappa wrote: > >>Applications like the database use hugetlbfs for performance reason. > >>Files on hugetlbfs filesystem are

Re: [PATCH] jprobes: Ensure that the probepoint is at function entry

2017-07-06 Thread Ingo Molnar
* Masami Hiramatsu wrote: > > Also, 'function_offset_within_entry' is way too long a name, and it's also > > a > > minomer I think. The purpose of this function is to enforce that the > > relative > > 'offset' of a new probe is at the standard function entry offset: i.e. 0 on > > most > >

[PATCH v4 01/14] drm/atomic: export drm_atomic_replace_property_blob

2017-07-06 Thread Peter Rosin
While at it, add some words in the kernel-doc about the 'replaced' arg and remove a faulty kernel-doc comment on the return value. Also remove a redundant return statement. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_atomic.c | 17 + include/drm/drm_atomic.h | 4

[PATCH v4 02/14] drm/atomic-helper: update lut props directly in ..._legacy_gamma_set

2017-07-06 Thread Peter Rosin
Do not waste cycles looking up the property id when we have the actual property already. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_atomic_helper.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c

[PATCH v4 05/14] drm: armada: remove dead empty functions

2017-07-06 Thread Peter Rosin
The redundant fb helpers .gamma_set and .gamma_get are no longer used. Remove the dead code. Signed-off-by: Peter Rosin --- drivers/gpu/drm/armada/armada_crtc.c | 10 -- drivers/gpu/drm/armada/armada_crtc.h | 2 -- drivers/gpu/drm/armada/armada_fbdev.c | 2 -- 3 files changed, 14

[PATCH v4 08/14] drm: gma500: remove dead code and pointless local lut storage

2017-07-06 Thread Peter Rosin
The redundant fb helpers .gamma_set and .gamma_get are no longer used. Remove the dead code and hook up the crtc .gamma_set to use the crtc gamma_store directly instead of duplicating that info locally. Signed-off-by: Peter Rosin --- drivers/gpu/drm/gma500/framebuffer.c | 22

[PATCH v4 07/14] drm: cirrus: remove dead code and pointless local lut storage

2017-07-06 Thread Peter Rosin
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code and hook up the crtc .gamma_set to use the crtc gamma_store directly instead of duplicating that info locally. Signed-off-by: Peter Rosin --- drivers/gpu/drm/cirrus/cirrus_drv.h | 8

[PATCH v4 10/14] drm: mgag200: remove dead code and pointless local lut storage

2017-07-06 Thread Peter Rosin
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code and hook up the crtc .gamma_set to use the crtc gamma_store directly instead of duplicating that info locally. Signed-off-by: Peter Rosin --- drivers/gpu/drm/mgag200/mgag200_drv.h | 5 ---

[PATCH v4 14/14] drm: remove unused and redundant callbacks

2017-07-06 Thread Peter Rosin
Drivers no longer have any need for these callbacks, and there are no users. Zap. Zap-zap-zzzap-p-pp-p. Signed-off-by: Peter Rosin --- include/drm/drm_crtc.h | 8 include/drm/drm_fb_helper.h | 32

[PATCH v4 12/14] drm: radeon: remove dead code and pointless local lut storage

2017-07-06 Thread Peter Rosin
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code and hook up the crtc .gamma_set to use the crtc gamma_store directly instead of duplicating that info locally. Signed-off-by: Peter Rosin --- drivers/gpu/drm/radeon/atombios_crtc.c | 1 -

[PATCH v4 13/14] drm: stm: remove dead code and pointless local lut storage

2017-07-06 Thread Peter Rosin
The redundant fb helper .load_lut is no longer used, and can not work right without also providing the fb helpers .gamma_set and .gamma_get thus rendering the code in this driver suspect. Just remove the dead code. Signed-off-by: Peter Rosin --- drivers/gpu/drm/stm/ltdc.c | 12

[PATCH v3 4/5] dmaengine: stm32-dma: Add support for STM32 DMAMUX

2017-07-06 Thread Pierre-Yves MORDRET
This patch adds support for STM32 DMAMUX. When the STM32 DMA controller is behind a STM32 DMAMUX the request line number has not to be handled by DMA but DMAMUX. Signed-off-by: M'boumba Cedric Madianga Signed-off-by: Pierre-Yves MORDRET --- Version history: V3: * None v2:

[PATCH v3 2/5] dmaengine: Add STM32 DMAMUX driver

2017-07-06 Thread Pierre-Yves MORDRET
This patch implements the STM32 DMAMUX driver. The DMAMUX request multiplexer allows routing a DMA request line between the peripherals and the DMA controllers of the product. The routing function is ensured by a programmable multi-channel DMA request line multiplexer. Each channel selects a

[PATCH v4 09/14] drm: i915: remove dead code and pointless local lut storage

2017-07-06 Thread Peter Rosin
The driver stores lut values from the fbdev interface, and is able to give them back, but does not appear to do anything with these lut values. The generic fb helpers have replaced this function, and may even have made the driver work for the C8 mode from the fbdev interface. But that is untested.

[PATCH v3 3/5] dt-bindings: stm32-dma: Add property to handle STM32 DMAMUX

2017-07-06 Thread Pierre-Yves MORDRET
This patch adds an optional property needed for STM32 DMA controller addressed via STM32 DMAMUX. Signed-off-by: M'boumba Cedric Madianga Signed-off-by: Pierre-Yves MORDRET --- Version history: v3: * None v2: * Typo fix --- ---

[PATCH v3 1/5] dt-bindings: Document the STM32 DMAMUX bindings

2017-07-06 Thread Pierre-Yves MORDRET
This patch adds the documentation of device tree bindings for the STM32 DMAMUX. Signed-off-by: M'boumba Cedric Madianga Signed-off-by: Pierre-Yves MORDRET --- Version history: v3: * change compatible to st,stm32h7-dmamux to be mode Soc specific * add verbosity in dma-cells

[PATCH v3 0/5] Add STM32 DMAMUX support

2017-07-06 Thread Pierre-Yves MORDRET
This patchset adds support for the STM32 DMA multiplexer. It allows to map any peripheral DMA request to any channel of the product DMAs. This IP has been introduced with STM32H7 SoC. --- Version history: v3: * change compatible to st,stm32h7-dmamux to be mode Soc specific *

[PATCH v3 5/5] ARM: configs: stm32: Add DMAMUX support in STM32 defconfig

2017-07-06 Thread Pierre-Yves MORDRET
This patch adds DMAMUX support in STM32 defconfig file Signed-off-by: M'boumba Cedric Madianga Signed-off-by: Pierre-Yves MORDRET --- Version history: v3: v2: * None --- --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 11/14] drm: nouveau: remove dead code and pointless local lut storage

2017-07-06 Thread Peter Rosin
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code and hook up the crtc .gamma_set to use the crtc gamma_store directly instead of duplicating that info locally. Signed-off-by: Peter Rosin --- drivers/gpu/drm/nouveau/dispnv04/crtc.c | 26

[PATCH v4 04/14] drm: amd: remove dead code and pointless local lut storage

2017-07-06 Thread Peter Rosin
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code and hook up the crtc .gamma_set to use the crtc gamma_store directly instead of duplicating that info locally. Signed-off-by: Peter Rosin --- drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 24

[PATCH v4 00/14] improve the fb_setcmap helper

2017-07-06 Thread Peter Rosin
Hi! While trying to get CLUT support for the atmel_hlcdc driver, and specifically for the emulated fbdev interface, I received some push-back that my feeble in-driver attempts should be solved by the core. This is my attempt to do it right. I have obviously not tested all of this with more than

[PATCH v4 06/14] drm: ast: remove dead code and pointless local lut storage

2017-07-06 Thread Peter Rosin
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code and hook up the crtc .gamma_set to use the crtc gamma_store directly instead of duplicating that info locally. Signed-off-by: Peter Rosin --- drivers/gpu/drm/ast/ast_drv.h | 1 -

Re: [RFC PATCH 1/5] base: dma-mapping: Export commonly used symbols

2017-07-06 Thread Arnd Bergmann
On Thu, Jul 6, 2017 at 10:36 AM, Tomasz Figa wrote: > On Thu, Jul 6, 2017 at 5:34 PM, Tomasz Figa wrote: >> On Thu, Jul 6, 2017 at 5:26 PM, Arnd Bergmann wrote: >>> On Thu, Jul 6, 2017 at 3:44 AM, Tomasz Figa wrote: >> >> I'd say that this is something that has been consistently tried to be

[PATCH v4 03/14] drm/fb-helper: separate the fb_setcmap helper into atomic and legacy paths

2017-07-06 Thread Peter Rosin
The legacy path implements setcmap in terms of crtc .gamma_set. The atomic path implements setcmap by directly updating the crtc gamma_lut property. This has a couple of benefits: - it makes the redundant fb helpers .load_lut, .gamma_set and .gamma_get completely obsolete. They are now unused

Re: [PATCH 12/18] drivers: s390: Move static and inline before return type

2017-07-06 Thread Heiko Carstens
On Thu, Jul 06, 2017 at 03:57:19AM -0700, Joe Perches wrote: > On Thu, 2017-07-06 at 12:29 +0200, Heiko Carstens wrote: > > On Wed, Jul 05, 2017 at 01:02:21PM -0700, Joe Perches wrote: > > > Make the code like the rest of the kernel. > [] > > > diff --git a/drivers/s390/net/qeth_l3_main.c > > >

[PATCH v2 3/4] ARM: dts: stm32: Add MDMA support for STM32H743 SoC

2017-07-06 Thread Pierre-Yves MORDRET
This patch adds MDMA support for STM32H743 SoC. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * Add MDMA support in DT for H7 --- --- arch/arm/boot/dts/stm32h743.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi

[PATCH v2 4/4] ARM: configs: stm32: Add MDMA support in STM32 defconfig

2017-07-06 Thread Pierre-Yves MORDRET
This patch adds MDMA support in STM32 defconfig file Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * Add MDMA support in STM32 defconfig --- --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig

Re: [PATCH v9 0/3] Tango PCIe controller support

2017-07-06 Thread Mason
On 06/07/2017 05:39, Bjorn Helgaas wrote: > On Wed, Jul 05, 2017 at 11:59:33PM +0200, Mason wrote: > >> There were a few nits I wanted to address: >> >> - Since we added suppress_bind_attrs = true, probe() >> can only be called at init, so I wanted to mark __init >> all the probe functions, to

Re: [PATCH v2 2/3] crypto: ccp - Introduce the AMD Secure Processor device

2017-07-06 Thread Brijesh Singh
On 7/6/17 3:37 AM, kbuild test robot wrote: > Hi Brijesh, > > [auto build test ERROR on cryptodev/master] > [also build test ERROR on next-20170705] > [cannot apply to v4.12] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: >

[PATCH v2 1/4] dt-bindings: Document the STM32 MDMA bindings

2017-07-06 Thread Pierre-Yves MORDRET
This patch adds documentation of device tree bindings for the STM32 MDMA controller. Signed-off-by: M'boumba Cedric Madianga Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * change compatible into st,stm32h7-mdma to be more SoC specific --- ---

[PATCH v2 0/4] Add STM32 MDMA driver

2017-07-06 Thread Pierre-Yves MORDRET
This patchset adds support for the STM32 MDMA controller. The Master Direct memory access (MDMA) provides high-speed data transfer between memory and memory or between peripherals and memory. Contrary to STM32 DMA, the STM32 MDMA controller supports hardware LLI and uses a larger integrated FIFO

[GIT PULL] writeback error handling fixes (pile #2)

2017-07-06 Thread Jeff Layton
The following changes since commit c86daad2c25bfd4a33d48b7691afaa96d9c5ab46: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2017-05-26 16:45:13 -0700) are available in the git repository at:

[PATCH v2 2/4] dmaengine: Add STM32 MDMA driver

2017-07-06 Thread Pierre-Yves MORDRET
This patch adds the driver for the STM32 MDMA controller. Master Direct memory access (MDMA) is used in order to provide high-speed data transfer between memory and memory or between peripherals and memory. MDMA controller provides a master AXI interface for main memory and peripheral registers

[for-next][PATCH 2/3] ftrace: Fix regression with module command in stack_trace_filter

2017-07-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" When doing the following command: # echo ":mod:kvm_intel" > /sys/kernel/tracing/stack_trace_filter it triggered a crash. This happened with the clean up of probes. It required all callers to the regex function (doing ftrace filtering) to have ops->private be a

Re: [PATCH v3 0/5] Add SoM1 support

2017-07-06 Thread Nicolas Ferre
On 06/07/2017 at 10:35, Claudiu Beznea wrote: > Hi all, > > This series adds support for sama5d2 SoM1 devices. > > The at91-sama5d27_som1.dtsi add specific bindings for SoM1 board. > The at91-sama5d27_som1_ek.dts add specific bindings for SoM1 EK board. > > Thank you, > Claudiu You can add my:

[for-next][PATCH 3/3] ftrace: Test for NULL iter->tr in regex for stack_trace_filter changes

2017-07-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" As writing into stack_trace_filter, the iter-tr is not set and is NULL. Check if it is NULL before dereferencing it in ftrace_regex_release(). Fixes: 8c08f0d5c6fb ("ftrace: Have cached module filters be an active filter") Signed-off-by: Steven Rostedt (VMware)

[for-next][PATCH 1/3] ftrace: Decrement count for dyn_ftrace_total_info for init functions

2017-07-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Init boot up functions may be traced, but they are also freed when the kernel finishes booting. These are removed from the ftrace tables, and the debug variable for dyn_ftrace_total_info needs to reflect that as well. Signed-off-by: Steven Rostedt (VMware) ---

[for-next][PATCH 0/3] tracing: Last minute updates for 4.13

2017-07-06 Thread Steven Rostedt
Some quick fixes for 4.13, includes merging a fix that was already sent to mainline. git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 69d71879d2cf67a381055f698a1d7def00dc4ed7 Steven Rostedt (VMware) (4): ftrace: Decrement count for

[PATCH V11] irq: Allow to pass the IRQF_TIMER flag with percpu irq request

2017-07-06 Thread Daniel Lezcano
The irq timings infrastructure tracks when the interrupts occur in order to statistically compute when is supposed to happen an interrupt. In all the interruptions, it does not make sense to store the timer interrupt occurences and try to predict the next interrupt as we know the expiration time.

Re: [PATCH v3 0/5] Add SoM1 support

2017-07-06 Thread Ludovic Desroches
On Thu, Jul 06, 2017 at 02:29:36PM +0200, Nicolas Ferre wrote: > On 06/07/2017 at 10:35, Claudiu Beznea wrote: > > Hi all, > > > > This series adds support for sama5d2 SoM1 devices. > > > > The at91-sama5d27_som1.dtsi add specific bindings for SoM1 board. > > The at91-sama5d27_som1_ek.dts add

Re: [PATCH v2 1/1] KVM: trigger uevents when starting or stopping a VM

2017-07-06 Thread Paolo Bonzini
On 06/07/2017 12:48, Claudio Imbrenda wrote: > This patch adds a few lines to the KVM common code to fire a > KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event > carries four environment variables: > > KVM_VM_CREATED indicates how many times a new VM has been created. It >

Re: [PATCH v9 0/3] Tango PCIe controller support

2017-07-06 Thread Marc Zyngier
On 06/07/17 13:26, Mason wrote: > On 06/07/2017 05:39, Bjorn Helgaas wrote: > >> On Wed, Jul 05, 2017 at 11:59:33PM +0200, Mason wrote: >> >>> There were a few nits I wanted to address: >>> >>> - Since we added suppress_bind_attrs = true, probe() >>> can only be called at init, so I wanted to

Re: PWM backlight initial state assumptions, or how pwm_bl killed my (nyan) cat^W backlight support

2017-07-06 Thread Paul Kocialkowski
On Wed, 2017-07-05 at 14:47 +0300, Paul Kocialkowski wrote: > Hi, > > On Wed, 2017-07-05 at 13:07 +0200, Philipp Zabel wrote: > > Hi Paul, > > > > On Wed, 2017-07-05 at 13:41 +0300, Paul Kocialkowski wrote: > > > Hey, > > > > > > On Wed, 2017-07-05 at 11:24 +0100, Daniel Thompson wrote: > > > >

Re: [RFC][PATCH] exec: Use init rlimits for setuid exec

2017-07-06 Thread Eric W. Biederman
Kees Cook writes: > In an attempt to provide sensible rlimit defaults for setuid execs, this > inherits the namespace's init rlimits: > > $ ulimit -s > 8192 > $ ulimit -s unlimited > $ /bin/sh -c 'ulimit -s' > unlimited > $ sudo /bin/sh -c 'ulimit -s' > 8192 > > This is modified from Brad

Re: 4.12.0-rc5+git: kernel BUG at arch/x86/mm/highmem_32.c:47

2017-07-06 Thread Meelis Roos
> > > > This is 4.12.0-rc5-00137-ga090bd4ff838 on a dual AthlonMP server tha > > > > has > > > > been running fine until 4.11.0 included. 4.12.0-rc5-00137-ga090bd4ff838 > > > > was the first kernel after 4.11 that I tried and the problem happened > > > > while compiling next kernel from git. >

Re: [PATCH] drm/bridge: dw_hdmi: add cec notifier support

2017-07-06 Thread Russell King - ARM Linux
On Thu, Jul 06, 2017 at 01:55:58PM +0200, Neil Armstrong wrote: > On 07/06/2017 01:45 PM, Russell King - ARM Linux wrote: > > Well, from what I can see in 4.12, the cec-notifier stuff is rather > > broken (tda998x has stopped working as its stuck with a physical > > address of f.f.f.f) so I think

[PATCH] arm64: arch_timer: fix the infinite recursion when enable ftrace and erratum workaround

2017-07-06 Thread Ding Tianhong
When enable preempt and ftrace, and perform the following steps, the system will hang: mount -t debugfs nodev /sys/kernel/debug/ cd /sys/kernel/debug/tracing/ echo function_graph > current_tracer This is because the preempt_disable and preempt_enable calls would cause infinite recursion for

<    8   9   10   11   12   13   14   15   16   17   >