[tip:irq/core 8/8] drivers/gpio/gpio-dwapb.c:309:25: error: passing argument 4 of '__irq_alloc_domain_generic_chips' from incompatible pointer type

2016-09-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core head: 895d3b95ed05f72a94f69ab52cb313915a6b889f commit: 895d3b95ed05f72a94f69ab52cb313915a6b889f [8/8] genirq/generic_chip: Verify irqs_per_chip <= 32 config: i386-randconfig-s0-201635 (attached as .config) compiler: gcc

Re: [PATCH 4/4] kvm: x86: export TSC offset to user-space

2016-09-02 Thread Luiz Capitulino
On Fri, 2 Sep 2016 19:00:41 +0200 Paolo Bonzini wrote: > On 31/08/2016 19:05, Luiz Capitulino wrote: > > vcpu0: 18446742405270834952 > > vcpu1: 18446742405270834952 > > vcpu2: 18446742405270834952 > > vcpu3: 18446742405270834952 > > > > - We'll probably need to export the TSC multiplier

Re: [PATCH v15 04/13] task_isolation: add initial support

2016-09-02 Thread Andy Lutomirski
On Sep 2, 2016 7:04 AM, "Chris Metcalf" wrote: > > On 8/30/2016 3:50 PM, Andy Lutomirski wrote: >> >> On Tue, Aug 30, 2016 at 12:37 PM, Chris Metcalf >> wrote: >>> >>> On 8/30/2016 2:43 PM, Andy Lutomirski wrote: What if we did it the other way around: set a percpu flag saying "go

Re: [v10,2/2] PCI: Rockchip: Add Rockchip PCIe controller support

2016-09-02 Thread Guenter Roeck
On Thu, Sep 01, 2016 at 09:57:58AM -0700, Brian Norris wrote: > On Thu, Sep 01, 2016 at 11:34:55AM -0500, Bjorn Helgaas wrote: > > I can't conveniently build it, so I'm sure I've broken things. I > > Indeed, you have :) > > > pushed the current work-in-progress branch to pci/host-rockchip-wip. >

Re: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp

2016-09-02 Thread Doug Ledford
On 8/29/2016 10:26 AM, Steve Wise wrote: >> Subject: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp >> >> We get 1 warning when build kernel with W=1: >> drivers/infiniband/hw/cxgb4/qp.c:686:6: warning: no previous prototype for >> '_free_qp' [-Wmissing-prototypes] >> >> In fact, this functi

[PATCH v4] iio: humidity: hdc100x: add triggered buffer support for HDC100X

2016-09-02 Thread Alison Schofield
Triggered buffer support uses the HDC100X's dual acquisition mode to read both humidity and temperature in one shot. This patch depends on 447136effbf4 ("iio: humidity: hdc100x: fix sensor data reads of temp and humidity") Signed-off-by: Alison Schofield Cc: Daniel

Re: [PATCH] ASoC: fsl_esai: fix spelling mistake "Transmition" -> "Transmission"

2016-09-02 Thread Nicolin Chen
On Fri, Sep 02, 2016 at 03:07:23PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistakes in dev_dbg messages > > Signed-off-by: Colin Ian King Acked-by: Nicolin Chen Thanks > --- > sound/soc/fsl/fsl_esai.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 dele

Re: [PATCH net-next 3/3] net: dsa: mv88e6xxx: make global2 code optional

2016-09-02 Thread Andrew Lunn
> I agree. Does the following snippet looks OK? > > > #ifndef CONFIG_NET_DSA_MV88E6XXX_GLOBAL2 > if (mv88e6xxx_has(chip, MV88E6XXX_FLAG_GLOBAL2)) { > dev_err(chip->dev, "Missing support for Global 2 > registers\n"); I would include the name of the option whic

Re: [PATCH 1/2] wd719x: Remove last declaration using DEFINE_PCI_DEVICE_TABLE

2016-09-02 Thread Andrew Morton
On Fri, 02 Sep 2016 06:36:05 -0400 "Martin K. Petersen" wrote: > > "Joe" == Joe Perches writes: > > Joe> Convert it to the preferred const struct pci_device_id instead. > > Applied to 4.9/scsi-queue. That creates an ordering dependency between the scsi tree and -mm's "treewide: remove re

[PATCH V2 0/2] ARM: dts: Introduce support for rev BeagleBoard-X15 B1

2016-09-02 Thread Nishanth Menon
Hi, Please find the series to cleanup and support Production version of Beagleboard-X15 rev B1 support. More details can be found at https://github.com/beagleboard/beagleboard-x15 Bootlog on B1: http://pastebin.ubuntu.com/23124704/ (sd and hdmi hpd tested) Based on: https://git.kernel.org/cgi

[PATCH V2 2/2] ARM: dts: am57xx-beagle-x15: Add support for rev B1

2016-09-02 Thread Nishanth Menon
Latest update to the BeagleBoard-X15 platform (revision B1)[1] updates for allowing UHS SD cards to function with the split of supply to SD card from a dedicated LDO. As a result of this, AM57xx BeagleBoard-X15 now uses gpio2_30 instead of gpio6_28 for HDMI because HDMI_LS_OE should now be switche

[PATCH V2 1/2] ARM: dts: am57xx-beagle-x15: Remove pinmux configurations for erratum i869

2016-09-02 Thread Nishanth Menon
Pinmuxing for DRA7x/AM57x family of processors need to be done in IO isolation as part of initial bootloader executed from SRAM. This is done as part of iodelay configuration sequence and is required due to the limitations introduced by erratum ID: i869[1] (IO Glitches can occur when changing IO se

Re: [PATCH 1/4] Documentation: mmc: sdhci-of-arasan: Add clk_syscon as an optional one

2016-09-02 Thread Rob Herring
On Fri, Sep 2, 2016 at 11:12 AM, Doug Anderson wrote: > Rob, > > On Fri, Sep 2, 2016 at 7:15 AM, Rob Herring wrote: >> On Mon, Aug 29, 2016 at 04:02:56PM +0800, Shawn Lin wrote: >>> We introduced soc-ctl-syscon to do several things, for instance, update >>> baseclk or update clkmul, etc. In odrde

Re: [PATCH net-next 3/3] net: dsa: mv88e6xxx: make global2 code optional

2016-09-02 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> What do you think? > > I think the probe() needs to fail with a very obvious error message > saying you need to recompile your kernel with option XYZ enabled in > order to support this switch, when the optional stuff is not > optional... I agree. Does the follo

Re: [PATCH] IB/mlx5: Fix a parameter of find_first_bit

2016-09-02 Thread Doug Ledford
On 8/26/2016 1:16 AM, Christophe JAILLET wrote: > The 2nd parameter of 'find_first_bit' is the number of bits to search. > In this case, we are passing 'sizeof(tmp)' which is likely to be 4 or 8 > because 'tmp' is an 'unsigned long'. > > It is likely that the number of bits of 'tmp' was expected h

Re: [PATCH 1/2] IB/hfi1: Fix a parameter of find_first_bit.

2016-09-02 Thread Doug Ledford
On 8/27/2016 1:25 AM, Christophe JAILLET wrote: > Le 26/08/2016 à 15:35, Doug Ledford a écrit : >> On 8/26/2016 12:49 AM, Christophe JAILLET wrote: >>> The 2nd parameter of 'find_first_bit' is the number of bits to search. >>> In this case, we are passing 'sizeof(unsigned long)' which is likely to

Re: [PATCH v3] iio: humidity: hdc100x: add triggered buffer support for HDC100X

2016-09-02 Thread Alison Schofield
ll-known) commit your patch series was > built on] > [Check https://git-scm.com/docs/git-format-patch for more information] > > url: > https://github.com/0day-ci/linux/commits/Alison-Schofield/iio-humidity-hdc100x-add-triggered-buffer-support-for-HDC100X/20160902-055115 > :

Re: [PATCH 3/4] KVM: x86: introduce get_kvmclock_ns

2016-09-02 Thread Roman Kagan
On Fri, Sep 02, 2016 at 06:57:10PM +0200, Paolo Bonzini wrote: > > > On 02/09/2016 18:55, Roman Kagan wrote: > >> > I'll change patch 4 to store the parameters and use them when accessing > >> > the time reference counter MSR. I'll still keep the procedure that goes > >> > through kvmclock. It'

Re: [PATCH V2 1/5] Documentation: Add support for TI System Control Interface (TI-SCI) protocol

2016-09-02 Thread Nishanth Menon
Rob, On Fri, Sep 2, 2016 at 10:06 AM, Rob Herring wrote: > On Tue, Aug 30, 2016 at 08:06:43AM -0500, Nishanth Menon wrote: [...] >> + >> +TI-SCI Client Device Node: >> + >> + >> +Client nodes refer to the required TI-SCI device using the "ti,sci" >> property. > > As I men

Re: [PATCH] tpm: invalid self test error message

2016-09-02 Thread Jason Gunthorpe
On Fri, Sep 02, 2016 at 08:56:29AM +0300, Jarkko Sakkinen wrote: > The driver emits invalid self test error message even though the init > succeeds. > > Signed-off-by: Jarkko Sakkinen > Fixes: cae8b441fc20 ("tpm: Factor out common startup code") Reviewed-by: Jason Gunthorpe Reported-by: Petr Va

Re: [GIT PULL] firmware: add support for TI System Control Interface (TI-SCI) protocol driver

2016-09-02 Thread Santosh Shilimkar
On 9/2/2016 10:03 AM, Nishanth Menon wrote: On Thu, Sep 1, 2016 at 2:24 AM, Tero Kristo wrote: Hi Santosh, The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: https://github.com/t-

Re: [GIT PULL] firmware: add support for TI System Control Interface (TI-SCI) protocol driver

2016-09-02 Thread Nishanth Menon
On Thu, Sep 1, 2016 at 2:24 AM, Tero Kristo wrote: > Hi Santosh, > > The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: > > Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) > > are available in the git repository at: > > https://github.com/t-kristo/linux-pm.git 4.8-rc1-ti-sc

i2c: imx: add slave support. v2 status

2016-09-02 Thread Baxter, Jim
Hi Maxim, On 2016-03-04 11:06:10 in the thread "Re: [PATCH] i2c: imx: add slave support. v2" referenced here: https://patchwork.ozlabs.org/patch/573353/ you said: > Hi Wolfram, > I'm now working on creating new driver version. I think I'll be able to > sent it soon. Do you still plan to rele

Re: [PATCH 4/4] kvm: x86: export TSC offset to user-space

2016-09-02 Thread Paolo Bonzini
On 31/08/2016 19:05, Luiz Capitulino wrote: > vcpu0: 18446742405270834952 > vcpu1: 18446742405270834952 > vcpu2: 18446742405270834952 > vcpu3: 18446742405270834952 > > - We'll probably need to export the TSC multiplier too. >However, I've been using only the TSC offset for now. >

Re: [PATCH 3/4] KVM: x86: introduce get_kvmclock_ns

2016-09-02 Thread Paolo Bonzini
On 02/09/2016 18:55, Roman Kagan wrote: >> > I'll change patch 4 to store the parameters and use them when accessing >> > the time reference counter MSR. I'll still keep the procedure that goes >> > through kvmclock. It's a bit more involved for the scale, but >> > vcpu->last_guest_tsc only pro

Re: e1000e on Thinkpad x60: gigabit not available due to "SmartSpeed"

2016-09-02 Thread Lennart Sorensen
On Thu, Sep 01, 2016 at 02:58:13PM -0700, Greg wrote: > On Thu, 2016-09-01 at 22:14 +0200, Pavel Machek wrote: > > Hi! > > > > I have trouble getting 1000mbit out of my ethernet card. > > > > I tried direct connection between two PCs with different cables, and > > no luck. > > > > Today I tried

Re: [PATCH v2 1/2] perf: add container identifier entry in perf sample data

2016-09-02 Thread Hari Bathini
On Friday 02 September 2016 07:29 PM, Peter Zijlstra wrote: On Fri, Sep 02, 2016 at 07:25:31PM +0530, Hari Bathini wrote: I'm thinking this value is mostly the same for tasks, just like COMM and I think so, too. Namespaces aren't changed that often for tasks... MMAP. Could we therefore not

Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool

2016-09-02 Thread Joe Perches
On Fri, 2016-09-02 at 08:59 -0700, Bart Van Assche wrote: > How about the following: > > dev_set_uevent_suppress() expects a boolean as second argument. Make  > this clear by passing true/false instead of 1/0 as the second > argument. dev_set_uevent_suppress() doesn't currently expect a boolean.

Re: [PATCH v3 1/2] wcn36xx: Transition driver to SMD client

2016-09-02 Thread Bjorn Andersson
On Fri 02 Sep 09:24 PDT 2016, Kalle Valo wrote: > Bjorn Andersson writes: > > > The wcn36xx wifi driver follows the life cycle of the WLAN_CTRL SMD > > channel, as such it should be a SMD client. This patch makes this > > transition, now that we have the necessary frameworks available. > > > > S

Re: chipidea: udc: kernel panic in isr_setup_status_phase

2016-09-02 Thread Clemens Gruber
On Fri, Sep 02, 2016 at 09:55:52AM +0800, Peter Chen wrote: > Do you have other 5V to USB_H1_VBUS? USB PHY needs 5V input voltage > as the source for USB LDO (3.0v), either from OTG or Host 1. I suspect > the lower vbus voltage causes the USB LDO voltage less than 3.0v, then > cause the unstable fo

RE: [PATCH] ARM: fix linker call for ARM_MODULE_PLTS

2016-09-02 Thread Wiebe, Wladislav (Nokia - DE/Ulm)
> From: Russell King - ARM Linux [mailto:li...@armlinux.org.uk] > Sent: Friday, September 02, 2016 11:25 AM > > On Fri, Sep 02, 2016 at 09:17:58AM +, Wiebe, Wladislav (Nokia - DE/Ulm) > wrote: > > module.lds script doesn't get called when > > CONFIG_ARM_MODULE_PLTS is enabled. > > Use KBUILD_L

Re: [PATCH] x86/paravirt: Do not trace _paravirt_ident_*() functions

2016-09-02 Thread Linus Torvalds
On Fri, Sep 2, 2016 at 7:46 AM, Steven Rostedt wrote: > > Can someone please pull this in. And mark it for stable, it goes > probably as far back as 2.6.32. Applied. Linus

Re: [PATCH v15 04/13] task_isolation: add initial support

2016-09-02 Thread Peter Zijlstra
On Fri, Sep 02, 2016 at 10:03:52AM -0400, Chris Metcalf wrote: > Any thoughts on the question of "just re-enter the loop" vs. > schedule_timeout()? schedule_timeout() should only be used for things you do not have control over, like things outside of the machine. If you want to actually block ru

Re: [PATCH v3 1/2] wcn36xx: Transition driver to SMD client

2016-09-02 Thread Marcel Holtmann
Hi Kalle, >> The wcn36xx wifi driver follows the life cycle of the WLAN_CTRL SMD >> channel, as such it should be a SMD client. This patch makes this >> transition, now that we have the necessary frameworks available. >> >> Signed-off-by: Bjorn Andersson > > [...] > >> --- a/drivers/net/wirele

Re: [PATCH 3/4] KVM: x86: introduce get_kvmclock_ns

2016-09-02 Thread Paolo Bonzini
On 02/09/2016 16:51, Roman Kagan wrote: > On Fri, Sep 02, 2016 at 04:09:42PM +0200, Paolo Bonzini wrote: >> On 02/09/2016 15:52, Roman Kagan wrote: >> vs. using a single offset as in the TSC ref page is one nanosecond---and >> the ref page only has a resolution of 100 ns. > > AFAICS it's not a m

Re: [GIT PULL 4/4] ARM: defconfig: Exynos for v4.9

2016-09-02 Thread Krzysztof Kozlowski
On Fri, Sep 02, 2016 at 05:47:11PM +0200, Arnd Bergmann wrote: > On Tuesday, August 30, 2016 11:18:56 AM CEST Krzysztof Kozlowski wrote: > > Expected conflict in multi_v7 - take all the changes: > > > > --- a/arch/arm/configs/multi_v7_defconfig > > +++ b/arch/arm/configs/multi_v7_defconfig > > @@@

Re: [PATCH 2/5] irqtime: Remove needless IRQs disablement on kcpustat update

2016-09-02 Thread Peter Zijlstra
On Fri, Sep 02, 2016 at 04:53:47PM +0200, Paolo Bonzini wrote: > > > On 02/09/2016 16:03, Frederic Weisbecker wrote: > > The callers of the functions performing irqtime kcpustat updates have > > IRQS disabled, no need to disable them again. > > They do, but perhaps this should be annotated throu

Re: [GIT PULL 1/4] ARM: exynos: SoC/Mach for v4.9

2016-09-02 Thread Krzysztof Kozlowski
On Fri, Sep 02, 2016 at 06:26:42PM +0200, Arnd Bergmann wrote: > On Tuesday, August 30, 2016 11:18:59 AM CEST Krzysztof Kozlowski wrote: > > Samsung mach/soc update for v4.9: > > 1. Fix for DMA on S3C24xx. This was probably broken for long time, nobody > > runs > >this code... till now. > > G

Re: [PATCH 4/4] kvm: x86: export TSC offset to user-space

2016-09-02 Thread Luiz Capitulino
On Fri, 2 Sep 2016 12:26:55 -0400 Luiz Capitulino wrote: > I guess that what tools like trace-cmd want to do in those cases > is to warn the user and discard the trace. A simple way of doing > this would be to re-check that the TSC offset are the same after > tracing is done. It could also use in

Re: [v10,2/2] PCI: Rockchip: Add Rockchip PCIe controller support

2016-09-02 Thread Heiko Stübner
Am Freitag, 2. September 2016, 10:44:09 schrieb Bjorn Helgaas: > On Thu, Sep 01, 2016 at 12:48:52PM -0500, Bjorn Helgaas wrote: > > On Thu, Sep 01, 2016 at 10:14:01AM -0700, Brian Norris wrote: > > > The use of HIWORD_UPDATE can indeed be a bit confusing, IMO, but this is > > > really a common Rock

Re: [GIT PULL 1/4] ARM: exynos: SoC/Mach for v4.9

2016-09-02 Thread Arnd Bergmann
On Tuesday, August 30, 2016 11:18:59 AM CEST Krzysztof Kozlowski wrote: > Samsung mach/soc update for v4.9: > 1. Fix for DMA on S3C24xx. This was probably broken for long time, nobody runs >this code... till now. Good to know. This reminds me that the s3c24xx DMA code is one of those that need

Re: [PATCH v2 2/2] arm64: dts: Fix broken architected timer interrupt trigger

2016-09-02 Thread Arnd Bergmann
On Monday, August 1, 2016 7:00:50 PM CEST Masahiro Yamada wrote: > > Acked-by: Duc Dang > > Acked-by: Carlo Caione > > Acked-by: Michal Simek > > Acked-by: Krzysztof Kozlowski > > Acked-by: Dinh Nguyen > > Signed-off-by: Marc Zyngier > > --- > > arch/arm64/boot/dts/altera/socfpga_stratix10.d

Re: [PATCH 11/12] power: reset: Add Intel PIIX4 poweroff driver

2016-09-02 Thread Sebastian Reichel
Hi Paul, The driver looks fine to me, just two notes: On Fri, Sep 02, 2016 at 04:48:57PM +0100, Paul Burton wrote: > Add a driver which allows powering off the system via an Intel PIIX4 > southbridge, by entering the PIIX4 SOff state. This is useful on the > MIPS Malta development board, where it

Re: [PATCH][RFC v3] PCI: Workaround to enable poweroff on Mac Pro 11

2016-09-02 Thread Bjorn Helgaas
On Wed, Aug 24, 2016 at 04:17:31PM +0200, Lukas Wunner wrote: > On Fri, Aug 19, 2016 at 04:30:25PM +0800, Chen Yu wrote: > > People reported that they can not do a poweroff nor a > > suspend to ram on their Mac Pro 11. After some investigations > > it was found that, once the PCI bridge :00:1c.

Re: [PATCH 4/4] kvm: x86: export TSC offset to user-space

2016-09-02 Thread Luiz Capitulino
On Fri, 2 Sep 2016 09:43:01 -0400 Stefan Hajnoczi wrote: > On Wed, Aug 31, 2016 at 01:05:45PM -0400, Luiz Capitulino wrote: > > We need to retrieve a VM's TSC offset in order to use > > the host's TSC to merge host and guest traces. This is > > explained in detail in this thread: > > > > [Qemu

Re: [PATCH v3 1/2] wcn36xx: Transition driver to SMD client

2016-09-02 Thread Kalle Valo
Bjorn Andersson writes: > The wcn36xx wifi driver follows the life cycle of the WLAN_CTRL SMD > channel, as such it should be a SMD client. This patch makes this > transition, now that we have the necessary frameworks available. > > Signed-off-by: Bjorn Andersson [...] > --- a/drivers/net/wire

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-02 Thread Grygorii Strashko
On 09/02/2016 02:08 PM, Felipe Balbi wrote: > > Hi, > > Russell King - ARM Linux writes: >> On Fri, Sep 02, 2016 at 12:43:39PM +0200, Arnd Bergmann wrote: >>> On Thursday, September 1, 2016 5:14:28 PM CEST Leo Li wrote: Hi Felipe and Arnd, It has been a while since the last r

Re: [PATCH v2 1/6] rtl8723au: remove declaration of unimplemented functions

2016-09-02 Thread Kalle Valo
Luca Ceresoli writes: > These functions have been declared without any implementation since > the first commit (364e30ebd2dbaccba430c603da03e68746eb932a) and there > has been no mention of them in following commits. > > Signed-off-by: Luca Ceresoli > Cc: Larry Finger > Cc: Jes Sorensen > Cc: G

[tip:irq/core] irqdomain: Mask irq type in irq_domain_xlate_onetwocell()

2016-09-02 Thread tip-bot for Sebastian Frias
Commit-ID: 0c228919e04ddec195402296e7ebf2472ed6caef Gitweb: http://git.kernel.org/tip/0c228919e04ddec195402296e7ebf2472ed6caef Author: Sebastian Frias AuthorDate: Tue, 2 Aug 2016 10:52:45 +0200 Committer: Thomas Gleixner CommitDate: Fri, 2 Sep 2016 18:06:50 +0200 irqdomain: Mask irq ty

[tip:irq/core] genirq/generic_chip: Verify irqs_per_chip <= 32

2016-09-02 Thread tip-bot for Sebastian Frias
Commit-ID: 895d3b95ed05f72a94f69ab52cb313915a6b889f Gitweb: http://git.kernel.org/tip/895d3b95ed05f72a94f69ab52cb313915a6b889f Author: Sebastian Frias AuthorDate: Tue, 16 Aug 2016 16:05:08 +0200 Committer: Thomas Gleixner CommitDate: Fri, 2 Sep 2016 18:06:50 +0200 genirq/generic_chip:

Re: [PATCH] fs/proc/kcore.c: Omit kernel text area for hardened usercopy feature

2016-09-02 Thread Jiri Olsa
On Fri, Sep 02, 2016 at 08:17:13AM -0700, Andi Kleen wrote: > On Fri, Sep 02, 2016 at 02:25:45PM +0200, Jiri Olsa wrote: > > One of the bullets for hardened usercopy feature is: > > - object must not overlap with kernel text > > > > which is what we expose via /proc/kcore. We can hit > > this ch

[tip:irq/core] genirq/generic_chip: Add irq_unmap callback

2016-09-02 Thread tip-bot for Sebastian Frias
Commit-ID: ee26c013cdee0b947e29d6cadfb9ff3341c69ff9 Gitweb: http://git.kernel.org/tip/ee26c013cdee0b947e29d6cadfb9ff3341c69ff9 Author: Sebastian Frias AuthorDate: Mon, 1 Aug 2016 16:27:38 +0200 Committer: Thomas Gleixner CommitDate: Fri, 2 Sep 2016 18:06:49 +0200 genirq/generic_chip: A

[tip:irq/core] genirq/generic_chip: Get rid of code duplication

2016-09-02 Thread tip-bot for Sebastian Frias
Commit-ID: f0c450eaa364cb77c778f2a46ee2aa3ff464b332 Gitweb: http://git.kernel.org/tip/f0c450eaa364cb77c778f2a46ee2aa3ff464b332 Author: Sebastian Frias AuthorDate: Mon, 1 Aug 2016 16:27:53 +0200 Committer: Thomas Gleixner CommitDate: Fri, 2 Sep 2016 18:06:49 +0200 genirq/generic_chip: G

[tip:irq/core] genirq: Robustify handle_percpu_devid_irq()

2016-09-02 Thread tip-bot for Thomas Gleixner
Commit-ID: fc590c22f9f056ab50190b797f6cacead29f9b75 Gitweb: http://git.kernel.org/tip/fc590c22f9f056ab50190b797f6cacead29f9b75 Author: Thomas Gleixner AuthorDate: Fri, 2 Sep 2016 14:45:19 +0200 Committer: Thomas Gleixner CommitDate: Fri, 2 Sep 2016 18:06:49 +0200 genirq: Robustify hand

Re: [PATCH 1/4] Documentation: mmc: sdhci-of-arasan: Add clk_syscon as an optional one

2016-09-02 Thread Doug Anderson
Rob, On Fri, Sep 2, 2016 at 7:15 AM, Rob Herring wrote: > On Mon, Aug 29, 2016 at 04:02:56PM +0800, Shawn Lin wrote: >> We introduced soc-ctl-syscon to do several things, for instance, update >> baseclk or update clkmul, etc. In odrder to access this physical block, >> we need to explicitly enabl

Re: [PATCH net-next 3/3] net: dsa: mv88e6xxx: make global2 code optional

2016-09-02 Thread Andrew Lunn
Hi Vivien > What do you think? I think the probe() needs to fail with a very obvious error message saying you need to recompile your kernel with option XYZ enabled in order to support this switch, when the optional stuff is not optional... Andrew

Re: [v2] ath9k: mark ath_fill_led_pin() static

2016-09-02 Thread Kalle Valo
Baoyou Xie wrote: > We get 1 warning about global functions without a declaration > in the ath9k gpio driver when building with W=1: > drivers/net/wireless/ath/ath9k/gpio.c:25:6: warning: no previous prototype > for 'ath_fill_led_pin' [-Wmissing-prototypes] > > In fact, this function is only use

Re: [PATCHv2] pwm: lpc-18xx: use pwm_set_chip_data

2016-09-02 Thread Ariel D'Alessandro
Hi Olliver, On 08/25/2016 01:47 PM, Olliver Schinagl wrote: > The lpc18xx driver currently manipulates the pwm_device struct directly > rather then using the pwm_set_chip_data. While the current method may > save a clock cycle or two, it is more obvious that data is set to > the local chip data po

Re: [PATCH 2/2] arm64: Use static keys for CPU features

2016-09-02 Thread Suzuki K Poulose
On 02/09/16 16:52, Catalin Marinas wrote: On Fri, Aug 26, 2016 at 10:22:13AM +0100, Suzuki K. Poulose wrote: On 25/08/16 18:26, Catalin Marinas wrote: Just a heads up. I have a patch [1] which moves the "check_local_cpu_errata()" around to smp_prepare_boot_cpu(). This patch should still work

Re: [PATCH 2/4] KVM: x86: initialize kvmclock_offset

2016-09-02 Thread Roman Kagan
On Thu, Sep 01, 2016 at 05:26:13PM +0200, Paolo Bonzini wrote: > Make the guest's kvmclock count up from zero, not from the host boot > time. The guest cannot rely on that anyway because it changes on > migration, the numbers are easier on the eye and finally it matches the > desired semantics of

Re: ath10k: fix spelling mistake "montior" -> "monitor"

2016-09-02 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in ath10k_warn message. > > Signed-off-by: Colin Ian King > Reviewed-by: Julian Calaby Thanks, 1 patch applied to ath-next branch of ath.git: 7f03d3069381 ath10k: fix spelling mistake "montior" -> "monitor" --

Re: [PATCH v4 3/3] tracing: Histogram for missed timer offsets

2016-09-02 Thread Masami Hiramatsu
2016-09-02 21:41 GMT+09:00 Binoy Jayan : > On 30 August 2016 at 16:20, Masami Hiramatsu > wrote: >> Hi Binoy, >>> >>> +static inline void trace_latency_hrtimer_mark_ts(struct hrtimer *timer, >>> +struct hrtimer_clock_base >>> *new_base, >>> +

Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool

2016-09-02 Thread Bart Van Assche
On 09/02/2016 08:41 AM, Joe Perches wrote: On Fri, 2016-09-02 at 13:41 +, Bart Van Assche wrote: On 09/01/16 17:51, Joe Perches wrote: On Fri, 2016-09-02 at 00:47 +, Bart Van Assche wrote: On 09/01/16 13:11, Joe Perches wrote: Assigning an int to a bitfield:1 can lose precision. Chang

Re: ath10k: replace config_enabled() with IS_REACHABLE()

2016-09-02 Thread Kalle Valo
Masahiro Yamada wrote: > Commit 97f2645f358b ("tree-wide: replace config_enabled() with > IS_ENABLED()") mostly did away with config_enabled(). > > This is one of the postponed TODO items as config_enabled() is used > for a tristate option here. Theoretically, config_enabled() is > equivalent to

Re: [PATCH 1/4] KVM: x86: always fill in vcpu->arch.hv_clock

2016-09-02 Thread Roman Kagan
On Thu, Sep 01, 2016 at 05:26:12PM +0200, Paolo Bonzini wrote: > We will use it in the next patches for KVM_GET_CLOCK and as a basis for the > contents of the Hyper-V TSC page. Get the values from the Linux > timekeeper even if kvmclock is not enabled. > > Signed-off-by: Paolo Bonzini > --- > a

[PATCH v2 14/15] Simplify testing of link status and speed testing.

2016-09-02 Thread Bjorn Helgaas
--- drivers/pci/host/pcie-rockchip.c | 36 +++- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index a2610dd..e33d2f7 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/drivers/

[PATCH 1/6] ASoC: arizona: Correct handling of FLL theta in synchroniser mode

2016-09-02 Thread Charles Keepax
Theta/lambda is used to give the fractional portion of the FLL frequency multiplication. When the synchroniser is active the reference path lambda value is hard coded in the hardware to 65536. This patch corrects the handling of theta such that it is scaled to match this denominator, when the synch

[PATCH v2 01/15] Remove unused symbols, unnecessary parens, other minor comments from

2016-09-02 Thread Bjorn Helgaas
Guenter. --- drivers/pci/host/pcie-rockchip.c | 69 -- 1 file changed, 21 insertions(+), 48 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index e77aec3..a7006be 100644 --- a/drivers/pci/host/pcie-rockchip.c +++

[PATCH 2/6] ASoC: arizona: Allow specification of base for arizona_is_enabled_fll

2016-09-02 Thread Charles Keepax
In preparation for future improvements allow a base to be passed to arizona_is_enabled_fll, this will allow it to be used to check the state of the synchroniser path as well. Signed-off-by: Charles Keepax --- sound/soc/codecs/arizona.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH 2/2] arm64: Use static keys for CPU features

2016-09-02 Thread Catalin Marinas
On Fri, Aug 26, 2016 at 10:22:13AM +0100, Suzuki K. Poulose wrote: > On 25/08/16 18:26, Catalin Marinas wrote: > > static inline int __attribute_const__ > >diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c > >index 62272eac1352..919b2d0d68ae 100644 > >--- a/arch/arm64/ker

[PATCH 0/6] Arizona FLL fixes and Clocking Improvements

2016-09-02 Thread Charles Keepax
Hi, The first 3 patches in this series fix some small issues with the FLL configuration in the driver. The second 3 patches add support for requesting the input clocks for the CODEC through the clock framework. This is some what of an intermediate step until all the clocking itself in the CODEC ca

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-02 Thread Arnd Bergmann
On Friday, September 2, 2016 10:21:23 AM CEST Alan Stern wrote: > On Fri, 2 Sep 2016, Felipe Balbi wrote: > > > Hi, > > > > Russell King - ARM Linux writes: > > > On Fri, Sep 02, 2016 at 12:43:39PM +0200, Arnd Bergmann wrote: > > >> On Thursday, September 1, 2016 5:14:28 PM CEST Leo Li wrote: >

[PATCH v2 10/15] Group related CSR definitions together.

2016-09-02 Thread Bjorn Helgaas
--- drivers/pci/host/pcie-rockchip.c | 148 +++--- 1 file changed, 74 insertions(+), 74 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index 6edfce5..fe1b52f 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/driver

Re: [PATCH] genirq: Generic chip: verify irqs_per_chip <= 32

2016-09-02 Thread Thomas Gleixner
On Tue, 16 Aug 2016, Sebastian Frias wrote: > Most (if not all) code here implicitly assumes that the maximum number of > IRQs per chip will be 32, and thus uses 'u32' or 'unsigned long' for many > tasks (for example "struct irq_data" declares its 'mask' field as 'u32', > and "struct irq_chip_gener

[PATCH v2 05/15] Use a local "dev" to avoid repetition of "rockchip->dev".

2016-09-02 Thread Bjorn Helgaas
--- drivers/pci/host/pcie-rockchip.c | 98 -- 1 file changed, 51 insertions(+), 47 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index 63fb0ebc..ea75f35 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/drive

Re: [2/2] ath10k: use complete() instead complete_all()

2016-09-02 Thread Kalle Valo
Daniel Wagner wrote: > From: Daniel Wagner > > There is only one waiter for the completion, therefore there > is no need to use complete_all(). Let's make that clear by > using complete() instead of complete_all(). > > The usage pattern of the completion is: > > waiter context

[PATCH 10/12] MIPS: Malta: Remove custom halt implementation

2016-09-02 Thread Paul Burton
The arch code will hang the machine with an infinite loop if the board doesn't provide an impelementation of halt - let it, rather than duplicating it. Signed-off-by: Paul Burton --- arch/mips/mti-malta/malta-reset.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/mips/mti-malta/m

[PATCH 12/12] MIPS: Malta: Use PIIX4 poweroff driver to power down

2016-09-02 Thread Paul Burton
Remove the platform code used to power down the system, instead relying upon the new PIIX4 poweroff driver. This reduces the amount of platform code required for the Malta board in preparation for allowing it to be part of a more generic kernel. Signed-off-by: Paul Burton --- arch/mips/Kconfig

[PATCH 6/6] ASoC: arizona: Add gating for source clocks of the FLLs

2016-09-02 Thread Charles Keepax
Whilst ultimately we would like to move all the clocking over to the clock framework, as an intermediate step to get people going for now enable the source clocks for FLLs as they are powered up. Signed-off-by: Charles Keepax --- sound/soc/codecs/arizona.c | 60 ++

[PATCH v2 00/15] PCI: rockchip: Cleanups against v10

2016-09-02 Thread Bjorn Helgaas
These are cleanups against 2098142ae87d, the current pci/host-rockchip head in my tree. Changes from v1: - Rework HIWORD_UPDATE - Remove duplicate CSR definitions - Move CSR block offset from read/write caller to CSR definition - Organize CSRs into logical blocks - Fix some inconsistent

[PATCH 3/6] ASoC: arizona: Avoid changing SYNC_ENA whilst the FLL_ENA is set

2016-09-02 Thread Charles Keepax
For best performance changing the synchroniser state whilst the FLL is running should be avoided. As this has been done fairly regularly in practice rather than hard preventing this, simply improve the FLL enable sequence and give a warning if the user changes the synchroniser state. Signed-off-by

[PATCH v2 13/15] The register at PCIE_CLIENT_BASE presumably has a name of its own. Add a

2016-09-02 Thread Bjorn Helgaas
name for it and similar registers in other blocks. --- drivers/pci/host/pcie-rockchip.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index 2a41439..a2610dd 100644 --- a/dr

[PATCH v2 02/15] Rename pcie_read() and pcie_write() to rockchip_pcie_read() and

2016-09-02 Thread Bjorn Helgaas
rockchip_pcie_write(). --- drivers/pci/host/pcie-rockchip.c | 66 +++--- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index a7006be..c9d0799 100644 --- a/drivers/pci/host/pcie-r

Re: [PATCH v2] mfd: arizona: Add DT options for max_channels_clocked and PDM speaker config

2016-09-02 Thread Richard Fitzgerald
On Fri, 2016-09-02 at 10:34 -0500, Rob Herring wrote: > On Wed, Aug 31, 2016 at 10:25:43AM +0100, Richard Fitzgerald wrote: > > This patch adds DT settings for the max_channels_clocked, spk_fmt and > > spk_mute pdata. > > > > Signed-off-by: Richard Fitzgerald > > --- > > Documentation/devicetree

[PATCH v2 11/15] Rename PCIE_CORE_RC_CONF_SCC_SHIFT to match similar definitions.

2016-09-02 Thread Bjorn Helgaas
--- drivers/pci/host/pcie-rockchip.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index fe1b52f..88c16da 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/drivers/pci/host/pcie-rockchip.c @@ -121,7

[PATCH 08/12] MIPS: Malta: Probe pflash via DT

2016-09-02 Thread Paul Burton
Add the DT nodes required to probe the CFI compatible parallel monitor flash found on the Malta development board, and remove the platform code that was previously doing it. Delete the now-empty malta-platform.c file. Adjust the Malta defconfigs that enable MTD & the pflash/CFI driver to enable CON

[PATCH 07/12] MIPS: Malta: Probe RTC via DT

2016-09-02 Thread Paul Burton
Add the DT node required to probe the RTC, and remove the platform code that was previously doing it. Signed-off-by: Paul Burton --- arch/mips/boot/dts/mti/malta.dts | 15 +++ arch/mips/mti-malta/malta-platform.c | 21 - 2 files changed, 15 insertions(+), 21

[PATCH 11/12] power: reset: Add Intel PIIX4 poweroff driver

2016-09-02 Thread Paul Burton
Add a driver which allows powering off the system via an Intel PIIX4 southbridge, by entering the PIIX4 SOff state. This is useful on the MIPS Malta development board, where it will power down the FPGA based board until its ON/NMI button is pressed, or the QEMU implementation of the MIPS Malta boar

[PATCH v2 08/15] Remove duplicate CSR definition.

2016-09-02 Thread Bjorn Helgaas
PCIE_RC_CONFIG_LCSR was the same as PCIE_RC_CONFIG_LCS. Kept PCIE_RC_CONFIG_LCS. PCIE_CORE_LCSR_RETRAIN_LINK was inexplicably named differently and defined separately. --- drivers/pci/host/pcie-rockchip.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff

[PATCH v2 06/15] Add comment about why 32-bit read/modify/write isn't safe.

2016-09-02 Thread Bjorn Helgaas
--- drivers/pci/host/pcie-rockchip.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index ea75f35..c0c3ad5 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/drivers/pci/host/pcie-rockchip.c @@ -282,6 +282,11 @@ sta

[PATCH 4/6] mfd: arizona: Add gating of external MCLKn clocks

2016-09-02 Thread Charles Keepax
From: Sylwester Nawrocki This patch adds requesting of the clocks supplied on MCLK1, MCLK2 pins, gating of the 32k clock is added to the arizona_clk32k_enable(), arizona_clk32k_disable() helpers. It's a temporary change until the CODEC's clock controller gets exposed through the clk API and is h

[PATCH 5/6] ASoC: arizona: Add gating for clock when used for direct MCLK

2016-09-02 Thread Charles Keepax
Whilst ultimately we would like to move all the clocking over to the clock framework, as an intermediate step to get people going for now gating the source clocks for SYSCLK/ASYNCCLK when they are configured to come directly from an MCLK pin. Signed-off-by: Charles Keepax --- sound/soc/codecs/ar

[PATCH v2 12/15] Rename ROCKCHIP_PCIE_RPIFR1_INTR_MASK and ROCKCHIP_PCIE_RPIFR1_INTR_SHIFT

2016-09-02 Thread Bjorn Helgaas
to match similar definitions. --- drivers/pci/host/pcie-rockchip.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index 88c16da..2a41439 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/drivers/pc

[PATCH v2 07/15] Simplify the confusing HIWORD_UPDATE scheme.

2016-09-02 Thread Bjorn Helgaas
--- drivers/pci/host/pcie-rockchip.c | 70 +- 1 file changed, 24 insertions(+), 46 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index c0c3ad5..b204567 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/driver

[PATCH v2 09/15] Move CSR bases into definition.

2016-09-02 Thread Bjorn Helgaas
Instead of this: #define PCIE_RC_CONFIG_LCS0xd0 read(rockchip, PCIE_RC_CONFIG_BASE + PCIE_RC_CONFIG_LCS); do this: #define PCIE_RC_CONFIG_LCS(PCIE_RC_CONFIG_BASE + 0xd0) read(rockchip, PCIE_RC_CONFIG_LCS); Mostly trivial, but rockchip_pcie_prog_ob_atu() and rockc

[PATCH v2 03/15] Always use "rockchip" as the pointer to per-device struct.

2016-09-02 Thread Bjorn Helgaas
--- drivers/pci/host/pcie-rockchip.c | 488 +++--- 1 file changed, 244 insertions(+), 244 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index c9d0799..3cfb47a 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/driv

[PATCH 09/12] MIPS: Malta: Use syscon-reboot driver to reboot

2016-09-02 Thread Paul Burton
Make use of the generic syscon-reboot driver to reboot the Malta board, reducing the amount of platform code it requires. Signed-off-by: Paul Burton --- arch/mips/boot/dts/mti/malta.dts| 12 arch/mips/configs/malta_defconfig | 2 ++ arch/mips/configs/malta_kv

[PATCH v2 15/15] Move msleeps to address Guenter's comments.

2016-09-02 Thread Bjorn Helgaas
--- drivers/pci/host/pcie-rockchip.c | 35 +++ 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index e33d2f7..d293a62 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/drivers/pc

[PATCH v2 04/15] Rename struct rockchip_pcie_port to struct rockchip_pcie.

2016-09-02 Thread Bjorn Helgaas
--- drivers/pci/host/pcie-rockchip.c | 46 +++--- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index 3cfb47a..63fb0ebc 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/drive

Re: [PATCH] drm/tegra: Expose color key and plane blending controls to userspace

2016-09-02 Thread Thierry Reding
On Fri, Sep 02, 2016 at 05:32:19PM +0200, Thierry Reding wrote: > On Fri, Sep 02, 2016 at 12:33:42PM +0300, Dmitry Osipenko wrote: > > Chromakey is a simple way of video overlay overlap implementation. This > > patch adds 2 new IOCTL's: first - sets color key and is common across of > > all Tegra S

<    1   2   3   4   5   6   7   >