Re: [PATCH] clk: qcom: clk-smd-rpm: Fix the initial rate of branches

2017-07-06 Thread Archit Taneja
On 07/04/2017 06:04 PM, Georgi Djakov wrote: As there is no way to actually query the hardware for the current clock rate, now racalc_rate() just returns the last rate that was previously set. But if the rate was not set yet, we return the bogus rate of 1KHz. Knowing what the rate of XO is and

Re: [PATCH 0/5] Make PDF builds work again

2017-07-06 Thread Mauro Carvalho Chehab
Em Wed, 5 Jul 2017 14:22:35 -0700 Jim Davis escreveu: > On Mon, Jul 3, 2017 at 5:44 AM, Jonathan Corbet wrote: > > On Mon, 3 Jul 2017 10:25:38 +0200 > > Daniel Vetter wrote: > > > >> Only now stumbled over the full thread, but the drm patch is already > >> queued up for at least 4.13 (Dave wa

Re: OOPS from cciss_ioctl in 4.12+git

2017-07-06 Thread Meelis Roos
> Hi Meelis, > > can you try the patch below? Yes, the OOPS is gone and everything seems to be working. > Also we're trying to move people away from the cciss driver, can you > check if the hpsa SCSI driver works for you as well? I have older adapter: Compaq Computer Corporation Smart Array 64

Re: [PATCH v2 2/4] pwm-backlight: add support for pwm-delay-us property

2017-07-06 Thread Pavel Machek
Hi! On Thu 2017-07-06 11:24:48, Thierry Reding wrote: > On Thu, Jul 06, 2017 at 10:17:18AM +0100, Daniel Thompson wrote: > > On 06/07/17 10:12, Pavel Machek wrote: > > > On Thu 2017-07-06 10:01:32, Thierry Reding wrote: > > > > On Fri, Jun 30, 2017 at 01:21:07PM +0200, Enric Balletbo i Serra wrote

Re: [RFC PATCH linus] tcp: md5: tcp_md5_do_lookup_exact() can be static

2017-07-06 Thread David Miller
From: Stephen Rothwell Date: Thu, 6 Jul 2017 10:27:12 +1000 > Hi, > > Not sure why you sent this to me ... it fixes a commit in the net-next > tree (now in Linus' tree) ... > > On Thu, 6 Jul 2017 07:58:53 +0800 kbuild test robot > wrote: >> >> Fixes: 0c5f0311f690 ("Add linux-next specific fil

Re: [PATCH v2 2/4] pwm-backlight: add support for pwm-delay-us property

2017-07-06 Thread Daniel Thompson
On 06/07/17 10:24, Thierry Reding wrote: On Thu, Jul 06, 2017 at 10:17:18AM +0100, Daniel Thompson wrote: On 06/07/17 10:12, Pavel Machek wrote: On Thu 2017-07-06 10:01:32, Thierry Reding wrote: On Fri, Jun 30, 2017 at 01:21:07PM +0200, Enric Balletbo i Serra wrote: From: huang lin Some pan

[PATCH][drm-next] drm/amdgpu: make arrays pctl0_data and pctl1_data static

2017-07-06 Thread Colin King
From: Colin Ian King The arrays pctl0_data and pctl1_data do not need to be in global scope, so them both static. Cleans up sparse warnings: symbol 'pctl0_data' was not declared. Should it be static? symbol 'pctl1_data' was not declared. Should it be static? Signed-off-by: Colin Ian King ---

[PATCH 2/2] fpga: lattice machxo2: Add Lattice MachXO2 support

2017-07-06 Thread Paolo Pisati
This patch adds support to the FPGA manager for programming MachXO2 device’s internal flash memory, via slave SPI. Signed-off-by: Paolo Pisati --- drivers/fpga/Kconfig | 7 ++ drivers/fpga/Makefile | 1 + drivers/fpga/machxo2-spi.c | 298 +++

[PATCH v5 0/2] Lattice MachXO2 Slave SPI FPGA Manager support

2017-07-06 Thread Paolo Pisati
Hi all,

Re: [PATCH v1] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-06 Thread Heiko Stübner
Hi Elaine, Am Donnerstag, 6. Juli 2017, 16:28:34 CEST schrieb Elaine Zhang: > fractional divider must set that denominator is 20 times larger than > numerator to generate precise clock frequency. > Otherwise the CLK jitter is very big, poor quality of the clock signal. > > RK document description

[PATCH 1/2] dt: bindings: fpga: add lattice machxo2 slave spi binding description

2017-07-06 Thread Paolo Pisati
Add dt binding documentation details for Lattice MachXO2 FPGA configuration over Slave SPI interface. Signed-off-by: Paolo Pisati Acked-by: Rob Herring --- .../bindings/fpga/lattice-machxo2-spi.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Docum

Re: [PATCH v2 1/6] serial: imx: only set DMA rx-ing when DMA starts

2017-07-06 Thread Uwe Kleine-König
On Thu, Jul 06, 2017 at 10:31:38AM +0200, Romain Perier wrote: > Hello, > > > Le 05/07/2017 à 15:29, Uwe Kleine-König a écrit : > > Hello, > > > > On Wed, Jul 05, 2017 at 03:07:01PM +0200, Romain Perier wrote: > >> From: Nandor Han > >> > >> Avoid the situation when `dma_is_rxing` could incorrec

Re: [PATCH v2] zswap: Zero-filled pages handling

2017-07-06 Thread Dan Streetman
On Thu, Jul 6, 2017 at 5:29 AM, Srividya Desireddy wrote: > On Wed, Jul 6, 2017 at 10:49 AM, Sergey Senozhatsky wrote: >> On (07/02/17 20:28), Seth Jennings wrote: >>> On Sun, Jul 2, 2017 at 9:19 AM, Srividya Desireddy >>> > Zswap is a cache which compresses the pages that are being swapped out >>

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

2017-07-06 Thread Masami Hiramatsu
On Wed, 5 Jul 2017 12:42:16 +0200 Ingo Molnar wrote: > > * Naveen N. Rao wrote: > > > Similar to commit 90ec5e89e393c ("kretprobes: Ensure probe location is > > at function entry"), ensure that the jprobe probepoint is at function > > entry. Sorry I missed it. > > > > Signed-off-by: Naveen

Re: [PATCH] x86/boot/KASLR: exclude EFI_BOOT_SERVICES_{CODE|DATA} from KASLR's choice

2017-07-06 Thread Chao Fan
On Thu, Jul 06, 2017 at 08:31:07AM +, Naoya Horiguchi wrote: >Hi Baoquan, everyone, > >I'm also interested in KASLR/EFI related issue (but not the same issue >with yours, so I separated the thread.) > >This patch is based on Baoquan's recent patches[1], adding more code >on the new function pro

[PATCH] usb: storage: return on error to avoid a null pointer dereference

2017-07-06 Thread Colin King
From: Colin Ian King When us->extra is null the driver is not initialized, however, a later call to osd200_scsi_to_ata is made that dereferences us->extra, causing a null pointer dereference. The code currently detects and reports that the driver is not initialized; add a return to avoid the sub

Re: [PATCH] mm: larger stack guard gap, between vmas

2017-07-06 Thread Willy Tarreau
On Thu, Jul 06, 2017 at 10:24:06AM +0200, Willy Tarreau wrote: > On Wed, Jul 05, 2017 at 04:51:06PM -0700, Linus Torvalds wrote: > > On Wed, Jul 5, 2017 at 4:35 PM, Ben Hutchings wrote: > > >> > > >> And I think your second patch breaks that "use a really large value to > > >> approximate infinity

Re: [PATCH] clk: qcom: clk-smd-rpm: Fix the initial rate of branches

2017-07-06 Thread Hans Verkuil
On 07/06/17 11:53, Archit Taneja wrote: > > > On 07/04/2017 06:04 PM, Georgi Djakov wrote: >> As there is no way to actually query the hardware for the current clock >> rate, now racalc_rate() just returns the last rate that was previously >> set. But if the rate was not set yet, we return the bo

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

2017-07-06 Thread Ville Syrjälä
On Thu, Jul 06, 2017 at 09:53:13AM +0200, Daniel Vetter wrote: > On Wed, Jul 05, 2017 at 03:10:13PM -0700, Keith Packard wrote: > > These provide crtc-id based functions instead of pipe-number, while > > also offering higher resolution time (ns) and wider frame count (64) > > as required by the Vul

[PATCH 3/3] dt-bindings: i2c: eeprom: document "mac-offset" binding

2017-07-06 Thread Claudiu Beznea
Document "mac-offset" binding that will be used by at24 EEPROM driver. Signed-off-by: Claudiu Beznea --- Documentation/devicetree/bindings/eeprom/eeprom.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bind

[PATCH 2/3] drivers: misc: eeprom: at24: support reading mac eeprom from different addresses

2017-07-06 Thread Claudiu Beznea
Add support for reading MAC address from different offsets of EEPROM. The offset is initialized via device tree. If nothing is given as input the old value, 0x90, is used. In this way the driver could be used as generic driver for different vendor memories by only changing the reading offset via de

[PATCH 0/3] Add at24 functionality to read MAC form different EEPROM offsets

2017-07-06 Thread Claudiu Beznea
Hi all, Please give feedback on the following approach to extends at24 EEPROM driver to support reading MAC from different addresses in EEPROM. This will allow the at24 driver to be used as a generic driver by different hardwares. Thank you, Claudiu Beznea Claudiu Beznea (3): dt-bindings: i2c

[PATCH 1/3] dt-bindings: i2c: eeprom: document all at24 bindings

2017-07-06 Thread Claudiu Beznea
Document all at24 memories specific bindings. Signed-off-by: Claudiu Beznea --- Documentation/devicetree/bindings/eeprom/eeprom.txt | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetr

Re: [PATCH] x86/boot/KASLR: exclude EFI_BOOT_SERVICES_{CODE|DATA} from KASLR's choice

2017-07-06 Thread Chao Fan
On Thu, Jul 06, 2017 at 06:04:46PM +0800, Chao Fan wrote: >On Thu, Jul 06, 2017 at 08:31:07AM +, Naoya Horiguchi wrote: >>Hi Baoquan, everyone, >> >>I'm also interested in KASLR/EFI related issue (but not the same issue >>with yours, so I separated the thread.) >> >>This patch is based on Baoqu

Re: [PATCH V1 4/4] spmi: pmic-arb: Remove checking opc value not less than 0

2017-07-06 Thread kgunda
On 2017-07-06 12:23, Stephen Boyd wrote: On 07/03, Kiran Gunda wrote: From: Fenglin Wu The opc parameter in pmic_arb_write_cmd() function is defined with type u8 and it's always greater than or equal to 0. Checking that it's not less than 0 is redundant and it can cause a forbidden warning d

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

2017-07-06 Thread Viresh Kumar
On 06-07-17, 10:49, Dietmar Eggemann wrote: > Free cpumask cpus_to_visit in case registering > init_cpu_capacity_notifier has failed or the parsing of the cpu > capacity-dmips-mhz property is done. The cpumask cpus_to_visit is > only used inside the notifier call init_cpu_capacity_callback. > > Cc

[PATCH 3/3] dt-bindings: clock: amlogic,gxbb-aoclkc: Update bindings

2017-07-06 Thread Neil Armstrong
On the first revision of the bindings, only the gates + resets were known in the AO Clock HW, but more registers used to configures AO clock are known to be spread among the AO register space. This patch adds these registers to the Ao Clock bindings with direct access and shared extcon access. Sig

[PATCH 1/3] dt-bindings: clock: gxbb-aoclk: Add CEC 32k clock

2017-07-06 Thread Neil Armstrong
This patch adds the clock binding entry for the CEC 32K AO Clock. Signed-off-by: Neil Armstrong --- include/dt-bindings/clock/gxbb-aoclkc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/gxbb-aoclkc.h b/include/dt-bindings/clock/gxbb-aoclkc.h index 3175148..9d15e2

Re: [PATCH v6 4/4] dt-bindings: media: Document Synopsys Designware HDMI RX

2017-07-06 Thread Jose Abreu
Hi Sylwester, On 05-07-2017 21:52, Sylwester Nawrocki wrote: > On 07/04/2017 04:11 PM, Jose Abreu wrote: >> Document the bindings for the Synopsys Designware HDMI RX. >> >> Signed-off-by: Jose Abreu >> --- >> .../devicetree/bindings/media/snps,dw-hdmi-rx.txt | 70 >> ++ >>

[PATCH 2/3] clk: meson: gxbb-aoclk: Add CEC 32k clock

2017-07-06 Thread Neil Armstrong
The CEC 32K AO Clock is a dual divider with dual counter to provide a more precise 32768Hz clock for the CEC subsystem from the external xtal. The AO clocks management registers are spread among the AO register space, so this patch also adds management of these registers mappings then uses them fo

[PATCH 0/3] clk: meson: gxbb-aoclk: Add CEC 32k clock

2017-07-06 Thread Neil Armstrong
In order to support the standalone CEC Controller on the Amlogic SoCs, a specific CEC 32K clock must be handled in the AO domain. The CEC 32K AO Clock is a dual divider with dual counter to provide a more precise 32768Hz clock for the CEC subsystem from the external xtal. The AO clocks management

[PATCH 0/2] media: Add Amlogic Meson AO CEC Controller support

2017-07-06 Thread Neil Armstrong
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 make use of this unique logical address to wake up t

[PATCH 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings

2017-07-06 Thread Neil Armstrong
The Amlogic SoCs embeds a standalone CEC Controller, this patch adds this device bindings. Signed-off-by: Neil Armstrong --- .../devicetree/bindings/media/meson-ao-cec.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/medi

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

2017-07-06 Thread Neil Armstrong
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 make use of this unique logical address to wake up t

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

2017-07-06 Thread Heiko Carstens
On Wed, Jul 05, 2017 at 01:02:21PM -0700, Joe Perches wrote: > Make the code like the rest of the kernel. > > Signed-off-by: Joe Perches > --- > drivers/s390/net/ctcm_main.c| 2 +- > drivers/s390/net/qeth_l3_main.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > diff --git a/d

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 qpnpint_irq_set_type

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 .confi

[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 --- drivers/gpu/drm/br

[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 sect

[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 l

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: > > > > > > https://git.linuxtv.org/sailus/media_tree.git

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 > dev

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 arch_set_

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 constant

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 > Signed-off-by

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 u

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 arch_scale_freq_capacity

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 ac

[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 ac

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 > --- > arch/arm64/include/asm

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 linux-

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 arch_scale_freq_capacity

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: git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.

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 > m

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 int

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(&init_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 c

[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 a

[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 TX

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); >> > + >> > + get_

[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 f2fs_sb_in

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 > S

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 o

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; > > > > B

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 ta

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 Atr=e

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 Armstr

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 on

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 an

[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 Atr=e

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: Manufacturer=Broadc

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") > > S

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 > >> p

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

2017-07-06 Thread Neil Armstrong
e on it when it appears on drm-misc-next... > > 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 ye

[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 repository

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 shar

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 > > a

[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 b/drivers/

[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 del

[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 dr

[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 --- dr

[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 include/drm/drm_modeset_h

[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 dri

[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:

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