[PATCH v2 3/3] hw_random: timeriomem_rng: Improve performance for sub-jiffie update periods

2017-04-05 Thread Rick Altherr
Some hardware RNGs provide a single register for obtaining random data. Instead of signaling when new data is available, the reader must wait a fixed amount of time between reads for new data to be generated. timeriomem_rng implements this scheme with the period specified in platform data or

[PATCH v2 0/3] hw_random: timeriomem_rng: Migrate to new API and improve performance

2017-04-05 Thread Rick Altherr
AST2400 can generate 32-bits of random data every 1us. Original driver was limited to one 32-bit read every jiffie due to deprecated API and use of timers. Migrating to new hwrng API and switching to hrtimers improves read performance of /dev/hwrng to 13Mb/s. Changes in v2: - Split API

Re: [PATCH] clk: stm32h7: Add stm32h743 clock driver

2017-04-05 Thread Stephen Boyd
On 03/15, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > This patch enables clocks for STM32H743 boards. Like what clocks exactly? All of them? > diff --git a/Documentation/devicetree/bindings/clock/st,stm32h7-rcc.txt >

Re: [PATCH v6] vfio error recovery: kernel support

2017-04-05 Thread Michael S. Tsirkin
On Wed, Apr 05, 2017 at 04:19:10PM -0600, Alex Williamson wrote: > On Thu, 6 Apr 2017 00:50:22 +0300 > "Michael S. Tsirkin" wrote: > > > On Wed, Apr 05, 2017 at 01:38:22PM -0600, Alex Williamson wrote: > > > The previous intention of trying to handle all sorts of AER faults > >

Re: [PATCH] x86/signals: Fix lower/upper bound reporting in compat siginfo

2017-04-05 Thread Dave Hansen
On 04/04/2017 02:53 PM, Joerg Roedel wrote: > On Tue, Apr 04, 2017 at 09:56:45AM -0700, Dave Hansen wrote: >> On 04/04/2017 09:15 AM, Joerg Roedel wrote: >>> Put the right values from the original siginfo into the >>> userspace compat-siginfo. >>> >>> This fixes the 32-bit mpx tabletest on a

Re: [PATCH 0/5] fpga: enhancements to support non-dt code

2017-04-05 Thread Alan Tull
On Fri, Mar 24, 2017 at 2:11 PM, Moritz Fischer wrote: > On Fri, Mar 24, 2017 at 01:09:22PM -0500, Alan Tull wrote: >> On Mon, Mar 13, 2017 at 4:53 PM, Alan Tull wrote: >> > Set of patches that supports writing code that uses >> > FPGA regions

Re: [PATCH V7 1/4] dt-bindings: phy: Add support for QUSB2 phy

2017-04-05 Thread Stephen Boyd
On 04/05, Vivek Gautam wrote: > Qualcomm chipsets have QUSB2 phy controller that provides > HighSpeed functionality for DWC3 controller. > Adding dt binding information for the same. > > Signed-off-by: Vivek Gautam > Acked-by: Rob Herring > ---

Re: [PATCH V7 4/4] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2017-04-05 Thread Stephen Boyd
On 04/05, Vivek Gautam wrote: > Qualcomm SOCs have QMP phy controller that provides support > to a number of controller, viz. PCIe, UFS, and USB. > Add a new driver, based on generic phy framework, for this > phy controller. > > Signed-off-by: Vivek Gautam >

[PATCH v6 5/6] platform/x86: intel_pmc_ipc: Fix iTCO_wdt GCS memory mapping failure

2017-04-05 Thread Kuppuswamy Sathyanarayanan
iTCO_wdt driver need access to PMC_CFG GCR register to modify the noreboot setting. Currently, this is done by passing PMC_CFG reg address as memory resource to watchdog driver and allowing it directly modify the PMC_CFG register. But currently PMC driver also has requirement to memory map the

[PATCH v6 4/6] watchdog: iTCO_wdt: Add PMC specific noreboot update api

2017-04-05 Thread Kuppuswamy Sathyanarayanan
In some SoCs, setting noreboot bit needs modification to PMC GC registers. But not all PMC drivers allow other drivers to memory map their GC region. This could create mem request conflict in watchdog driver. So this patch adds facility to allow PMC drivers to pass noreboot update function to

[PATCH v6 3/6] watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions

2017-04-05 Thread Kuppuswamy Sathyanarayanan
iTCO_wdt no_reboot_bit set/unset functions has lot of common code between them. So merging these two functions into a single update function would remove these unnecessary code duplications. This patch fixes this issue by creating a no_reboot_bit update function to handle both set/unset functions.

[PATCH v6 2/6] platform/x86: intel_pmc_ipc: Add pmc gcr read/write/update api's

2017-04-05 Thread Kuppuswamy Sathyanarayanan
This patch adds API's to read/write/update PMC GC registers. PMC dependent devices like iTCO_wdt, Telemetry has requirement to acces GCR registers. These API's can be used for this purpose. Signed-off-by: Kuppuswamy Sathyanarayanan ---

[PATCH v6 6/6] platform/x86: intel_pmc_ipc: use gcr mem base for S0ix counter read

2017-04-05 Thread Kuppuswamy Sathyanarayanan
To maintain the uniformity in accessing GCR registers, this patch modifies the S0ix counter read function to use GCR address base instead of ipc address base. Signed-off-by: Kuppuswamy Sathyanarayanan Reviewed-by: Rajneesh Bhardwaj

Re: [PATCH] arm: dma: fix sharing of coherent DMA memory without struct page

2017-04-05 Thread Russell King - ARM Linux
On Wed, Apr 05, 2017 at 10:02:42AM -0600, Shuah Khan wrote: > When coherent DMA memory without struct page is shared, importer > fails to find the page and runs into kernel page fault when it > tries to dmabuf_ops_attach/map_sg/map_page the invalid page found > in the sg_table. Please see

[PATCH] docs/vm/transhuge: Fix few trivial typos

2017-04-05 Thread SeongJae Park
Signed-off-by: SeongJae Park --- Documentation/vm/transhuge.txt | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index cd28d5ee5273..4e22578e50d3 100644 ---

Re: [PATCH -v6 05/13] futex: Change locking rules

2017-04-05 Thread Darren Hart
On Wed, Mar 22, 2017 at 11:35:52AM +0100, Peter Zijlstra wrote: > Currently futex-pi relies on hb->lock to serialize everything. Since > hb->lock is giving us problems (PI inversions among other things, > since on -rt hb lock itself is a rt_mutex), we want to break this up a > bit. > > This patch

Re: [PATCH] Revert "Input: bma150 - avoid binding to bma180 if IIO bma180 driver present" and "Input: bma150 - extend chip detection for bma180"

2017-04-05 Thread Dmitry Torokhov
On Wed, Apr 05, 2017 at 09:16:28PM +0200, H. Nikolaus Schaller wrote: > > > Am 01.04.2017 um 18:46 schrieb Dmitry Torokhov : > > > > On Sat, Apr 01, 2017 at 04:59:26PM +0200, Hans de Goede wrote: > >> Hi, > >> > >> On 01-04-17 16:44, H. Nikolaus Schaller wrote: > >>>

[PATCH] qlge: avoid format string exposure in workqueue

2017-04-05 Thread Kees Cook
While unlikely, this makes sure the workqueue name won't be processed as a format string. Signed-off-by: Kees Cook --- drivers/net/ethernet/qlogic/qlge/qlge_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v5 2/2] iio: Aspeed ADC

2017-04-05 Thread Stephen Boyd
On 04/01, Jonathan Cameron wrote: > On 28/03/17 22:52, Rick Altherr wrote: > > Aspeed BMC SoCs include a 16 channel, 10-bit ADC. Low and high threshold > > interrupts are supported by the hardware but are not currently implemented. > > > > Signed-off-by: Rick Altherr > Two

Re: [PATCH v2 2/2] clk: stm32f4: fix timeout management for pll and ready gate

2017-04-05 Thread Stephen Boyd
On 03/16, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > Use a classic polling to test bit ready. > And the shift of the bit ready of LSE & LSI were wrongs. > > Fixes: 861adc44d290 ("clk: stm32f4: Add LSI & LSE clocks") > > Signed-off-by: Gabriel

Re: [PATCH v2 1/2] clk: stm32f4: fix: exclude values 0 and 1 for PLLQ

2017-04-05 Thread Stephen Boyd
On 03/16, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > : PLLQ = 0, wrong configuration > 0001: PLLQ = 1, wrong configuration > ... > 0010: PLLQ = 2 > 0011: PLLQ = 3 > 0100: PLLQ = 4 > ... > : PLLQ = 1 > > Use divider table to exclude 0 and 1

Re: [RFC PATCH 0/4] fs: introduce new writeback error tracking infrastructure and convert ext4 to use it

2017-04-05 Thread Matthew Wilcox
On Wed, Apr 05, 2017 at 03:49:52PM -0400, Jeff Layton wrote: > > That only gives us 20 bits of counter, but I think that's enough. > > 2^20 is 1048576, which seems a little small to me. > > We may end up bumping the counter on every failed I/O. How fast can we > generate 1M failed I/Os? :) So

Re: [PATCH v2] cris: remove unused wp_works_ok macro

2017-04-05 Thread Jesper Nilsson
On Wed, Apr 05, 2017 at 09:24:35PM +0200, Mathias Krause wrote: > It had no use since it's introduction in v2.4.1.2. Get rid of it. > > Cc: Mikael Starvik > Signed-off-by: Mathias Krause > Acked-by: Jesper Nilsson > --- > Same

Re: [PATCH] IB/hns: include linux/of.h to fix build failure

2017-04-05 Thread Doug Ledford
On 4/4/2017 9:36 AM, Tobias Regnery wrote: > I see the following build error in an arm64 randconfig build: > > drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_reset': > drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1384:15: error: implicit > declaration of function

Re: [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-05 Thread Stefano Stabellini
On Wed, 5 Apr 2017, Julien Grall wrote: > When rebooting DOM0 with ACPI, the kernel is crashing with the stack trace > [1]. > > This is happening because when EFI runtimes are enabled, the reset code > (see machin_restart) will first try to use EFI restart method. > > However, the EFI restart

Re: [PATCH -v6 06/13] futex: Cleanup refcounting

2017-04-05 Thread Darren Hart
On Wed, Mar 22, 2017 at 11:35:53AM +0100, Peter Zijlstra wrote: > Since we're going to add more refcount fiddling, introduce > get_pi_state() to match the existing put_pi_state(). > > Signed-off-by: Peter Zijlstra (Intel) This looks awfully familiar...

Re: Random guest crashes since 5c34d002dcc7 ("virtio_pci: use shared interrupts for virtqueues")

2017-04-05 Thread Michael S. Tsirkin
On Wed, Apr 05, 2017 at 08:29:34AM +0200, Christoph Hellwig wrote: > On Wed, Apr 05, 2017 at 06:24:50AM +0200, Mike Galbraith wrote: > > On Wed, 2017-04-05 at 06:51 +0300, Michael S. Tsirkin wrote: > > > > > Any issues at all left with this tree? > > > In particular any regressions? > > > >

[PATCH] net: ethernet: wiznet: avoid format string exposure

2017-04-05 Thread Kees Cook
While unlikely, this makes sure any format strings in the device name can't exposure information via the resulting workqueue name. Signed-off-by: Kees Cook --- drivers/net/ethernet/wiznet/w5100.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] clk: iproc: Remove redundant check

2017-04-05 Thread Stephen Boyd
On 04/05, Ray Jui wrote: > Remove the redundant check of 'rate' in the if statement of the > 'pll_set_rate' function > > Reported-by: David Binderman > Signed-off-by: Ray Jui > Fixes: 5fe225c105fd ("clk: iproc: add initial common clock support") > ---

Re: [PATCH v6] vfio error recovery: kernel support

2017-04-05 Thread Michael S. Tsirkin
On Wed, Apr 05, 2017 at 01:38:22PM -0600, Alex Williamson wrote: > The previous intention of trying to handle all sorts of AER faults > clearly had more value, though even there the implementation and > configuration requirements restricted the practicality. For instance > is AER support actually

Re: [PATCH] phy: bcm-ns-usb3: split all writes into reg & val pairs

2017-04-05 Thread Kishon Vijay Abraham I
Hi, On Sunday 02 April 2017 10:25 PM, Rafał Miłecki wrote: > From: Rafał Miłecki > > So far all the PHY initialization was implemented using some totally > magic values. There was some pattern there but it wasn't clear what is > it about. > > Thanks to the patch submitted by

[PATCH 08/16] irqchip: Add driver for Cirrus Logic Madera codecs

2017-04-05 Thread Richard Fitzgerald
The Cirrus Logic Madera codecs (Cirrus Logic CS47L35/85/90/91 and WM1840) are highly complex devices containing up to 7 programmable DSPs and many other internal sources of interrupts plus a number of GPIOs that can be used as interrupt inputs. The large number (>150) of internal interrupt sources

Re: [PATCH v4 4/6] arm64: dts: rockchip: add core dtsi file for RK3328 SoCs

2017-04-05 Thread Heiko Stübner
Hi Elaine, Am Mittwoch, 5. April 2017, 10:07:41 CEST schrieb Elaine Zhang: > On 04/05/2017 12:04 AM, Heiko Stuebner wrote: > > Am Montag, 27. März 2017, 17:40:48 CEST schrieb c...@rock-chips.com: > >> From: Liang Chen > >> > >> This patch adds core dtsi file for Rockchip

[PATCH 00/16] Add support for Cirrus Logic CS47L35/L85/L90/L91 codecs

2017-04-05 Thread Richard Fitzgerald
The Cirrus Logic CS47L35, CS47L85, CS47L90/91 codecs are complex audio SoC devices. In addition to the core audio capability they have onboard GPIO, regulators, DSPs and interrupt controller and a large register map space accessed over SPI or I2C. This family of codecs is based around common IP

[PATCH 07/16] regulator: madera-micsupp: Mic supply for Cirrus Logic Madera codecs

2017-04-05 Thread Richard Fitzgerald
The adds a driver for the microphone supply regulator on Cirrus Logic Madera class codecs. Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax --- .../bindings/regulator/madera-micsupp.txt | 27 +++

[PATCH 10/16] gpio: madera: Support Cirrus Logic Madera class codecs

2017-04-05 Thread Richard Fitzgerald
This adds support for the GPIOs on Cirrus Logic Madera class codecs. Signed-off-by: Nariman Poushin Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax ---

[PATCH 11/16] ASoC: wm_adsp: Add support for ADSP2V2

2017-04-05 Thread Richard Fitzgerald
Adds support for ADSP2V2 cores. Primary differences are that they use a 32-bit register map compared to the 16-bit register map of ADSP2V1, and there are some changes to clocking control. Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax

[PATCH 02/16] mfd: madera: Add common support for Cirrus Logic Madera codecs

2017-04-05 Thread Richard Fitzgerald
This adds the generic core support for Cirrus Logic "Madera" class codecs. These are complex audio codec SoCs with a variety of digital and analogue I/O, onboard audio processing and DSPs, and other features. These codecs are all based off a common set of hardware IP so can be supported by a core

[PATCH 06/16] regulator: madera-ldo1: LDO1 driver for Cirrus Logic Madera codecs

2017-04-05 Thread Richard Fitzgerald
This patch adds a driver for the internal LDO1 regulator on some Cirrus Logic Madera class codecs. Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax --- .../devicetree/bindings/regulator/madera-ldo1.txt | 29

[PATCH 12/16] ASoC: wm_adsp: add support for DSP region lock

2017-04-05 Thread Richard Fitzgerald
From: Mayuresh Kulkarni Newer ADSP2V2 codecs include a memory protection unit that can be set to trap illegal accesses. When enabling an ADSPV2 core we must configure the memory region traps so that the firmware can access its own memory. Signed-off-by:

[PATCH 09/16] pinctrl: madera: Add driver for Cirrus Logic Madera codecs

2017-04-05 Thread Richard Fitzgerald
These codecs have a variable number of I/O lines each of which is individually selectable to a wide range of possible functions. The functionality is slightly different from the traditional muxed GPIO since most of the functions can be mapped to any pin (and even the same function to multiple

[PATCH 05/16] mfd: madera: Register map tables for Cirrus Logic CS47L90/91

2017-04-05 Thread Richard Fitzgerald
Regmap configuration tables for Cirrus Logic CS47L90 and CS47L91 codecs. Signed-off-by: Nikesh Oswal Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax ---

[PATCH 13/16] ASoC: madera: Add common support for Cirrus Logic Madera codecs

2017-04-05 Thread Richard Fitzgerald
The Cirrus Logic Madera codecs are a family of related codecs with extensive digital and analogue I/O, digital mixing and routing, signal processing and programmable DSPs. This patch adds common support code shared by all Madera codecs. Signed-off-by: Charles Keepax

Re: [PATCH v2 06/22] ARM: implement ioremap_nopost() interface

2017-04-05 Thread Lorenzo Pieralisi
On Fri, Mar 31, 2017 at 12:08:13PM +0100, Lorenzo Pieralisi wrote: > Hi Russell, > > On Mon, Mar 27, 2017 at 10:49:34AM +0100, Lorenzo Pieralisi wrote: > > The PCI bus specifications (rev 3.0, 3.2.5 "Transaction Ordering > > and Posting") define rules for PCI configuration space transactions > >

[PATCH v3 2/4] f2fs: introduce f2fs_wait_discard_bios

2017-04-05 Thread Chao Yu
Split f2fs_wait_discard_bios from f2fs_wait_discard_bio, just for cleanup, no logic change. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h| 2 +- fs/f2fs/segment.c | 37 ++--- fs/f2fs/super.c |

Re: [PATCH v2 6/9] drm/rockchip: Reoder unload sequence

2017-04-05 Thread jeffy
Hi Sean, On 04/05/2017 03:44 AM, Sean Paul wrote: On Sat, Apr 01, 2017 at 07:35:26PM +0800, Jeffy Chen wrote: We should not cleanup iommu before cleanup other resources. Reorder unload sequence, follow exynos drm. This doesn't match the cleanup sequence in rockchip_drm_bind. Also make sure

Re: [PATCH v2 7/9] drm/rockchip: Force disable all crtc when unload

2017-04-05 Thread jeffy
Hi Daniel, On 04/03/2017 03:58 PM, Daniel Vetter wrote: On Sat, Apr 1, 2017 at 1:35 PM, Jeffy Chen wrote: diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index a5d83cb..5dbf011 100644 ---

Re: [PATCH v2 5/9] drm/rockchip: vop: Enable pm domain when resetting vop

2017-04-05 Thread jeffy
Hi Sean, On 04/05/2017 03:42 AM, Sean Paul wrote: On Sat, Apr 01, 2017 at 07:35:25PM +0800, Jeffy Chen wrote: Hi Jeffy, Could you please add commit messages describing *why* you're making the change? It might be obvious to you (and maybe me), but others will benefit from better descriptions.

[PATCH] edac: thunderx: Fix L2C MCI interrupt disable

2017-04-05 Thread Jan Glauber
Fix a typo that disabled the MCI interrupts using the wrong bitmask. Signed-off-by: Jan Glauber --- drivers/edac/thunderx_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c index

[PATCH v2] f2fs: prevent waiter encountering incorrect discard states

2017-04-05 Thread Chao Yu
In f2fs_submit_discard_endio, we will wake up waiter before setting discard command states, so waiter may use incorrect states. Change the order between complete() and states setting to fix this issue. Signed-off-by: Chao Yu --- v2: use wait_for_completion_io before releasing

Re: [GIT PULL 0/2] EFI fixes for v4.11

2017-04-05 Thread Ard Biesheuvel
On 5 April 2017 at 11:26, Ingo Molnar wrote: > > * Ard Biesheuvel wrote: > >> On 5 April 2017 at 11:08, Bartlomiej Zolnierkiewicz >> wrote: >> > >> > Hi, >> > >> > On Tuesday, April 04, 2017 04:27:42 PM Ard Biesheuvel wrote:

[tip:efi/urgent] efi/fb: Avoid reconfiguration of BAR that covers the framebuffer

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 55d728a40d368ba80443be85c02e641fc9082a3f Gitweb: http://git.kernel.org/tip/55d728a40d368ba80443be85c02e641fc9082a3f Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 16:27:44 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

Re: [PATCH v2 1/2] serial: 8250: Add flag so drivers can avoid THRE probe

2017-04-05 Thread Andy Shevchenko
On Wed, Apr 5, 2017 at 7:03 AM, Joel Stanley wrote: > The probing of THRE irq behaviour assumes the other end will be reading > bytes out of the buffer in order to probe the port at driver init. In > some cases the other end cannot be relied upon to read these bytes, so > provide

[tip:efi/core] efi/bgrt: Enable ACPI BGRT handling on arm64

2017-04-05 Thread tip-bot for Bhupesh Sharma
Commit-ID: 6e7300cff1c410dde7ac4354b6a0a8cb0a561e54 Gitweb: http://git.kernel.org/tip/6e7300cff1c410dde7ac4354b6a0a8cb0a561e54 Author: Bhupesh Sharma AuthorDate: Tue, 4 Apr 2017 17:02:41 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr 2017

[tip:efi/core] x86/efi/bgrt: Move efi-bgrt handling out of arch/x86

2017-04-05 Thread tip-bot for Bhupesh Sharma
Commit-ID: 75def552bb1e0d39918df31b86f7d09e754ea0fc Gitweb: http://git.kernel.org/tip/75def552bb1e0d39918df31b86f7d09e754ea0fc Author: Bhupesh Sharma AuthorDate: Tue, 4 Apr 2017 17:02:40 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr 2017

[PATCH v4 2/8] dt-bindings: input: touschcreen: remove sun4i documentation

2017-04-05 Thread Quentin Schulz
This patch removes the sun4i touchscreen controller binding documentation since it has been merged with the sun4i GPADC binding documentation. Signed-off-by: Quentin Schulz Acked-by: Rob Herring Acked-by: Dmitry Torokhov

[PATCH 1/2] [media] rc-core: Add inlined stubs for core rc_* functions

2017-04-05 Thread Lee Jones
Currently users have to use all sorts of ugly #ifery within their drivers in order to avoid linking issues at build time. This patch allows users to safely call these functions when !CONFIG_RC_CORE and make decisions based on the return value instead. This is a much more common and clean way of

[no subject]

2017-04-05 Thread kullstj_ml
Hello Linux http://www.freedom4you.nl/partenariat.php?lady=ge2y55bcz3d0ms kullstj_ml

[tip:efi/core] efi/arm-stub: Correct FDT and initrd allocation rules for arm64

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 138728dd4ee30d3f35587c269c46cc829ec4d58b Gitweb: http://git.kernel.org/tip/138728dd4ee30d3f35587c269c46cc829ec4d58b Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:02:37 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[tip:efi/core] x86/efi: Clean up a minor mistake in comment

2017-04-05 Thread tip-bot for Baoquan He
Commit-ID: b1d1776139698d7522dfd46aa81a056f030ddaf7 Gitweb: http://git.kernel.org/tip/b1d1776139698d7522dfd46aa81a056f030ddaf7 Author: Baoquan He AuthorDate: Tue, 4 Apr 2017 17:02:43 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr 2017 12:27:26

[tip:efi/core] efi/arm-stub: Round up FDT allocation to mapping size

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 24d7c494ce46d5bb6c8fd03e88a48ae249ec1492 Gitweb: http://git.kernel.org/tip/24d7c494ce46d5bb6c8fd03e88a48ae249ec1492 Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:02:39 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[tip:efi/core] efi/pstore: Return error code (if any) from efi_pstore_write()

2017-04-05 Thread tip-bot for Evgeny Kalugin
Commit-ID: fee929ba1c9386e524ed3abcc6d5f9b64381f959 Gitweb: http://git.kernel.org/tip/fee929ba1c9386e524ed3abcc6d5f9b64381f959 Author: Evgeny Kalugin AuthorDate: Tue, 4 Apr 2017 17:02:42 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[PATCH 2/2] [media] cec: Handle RC capability more elegantly

2017-04-05 Thread Lee Jones
If a user specifies the use of RC as a capability, they should really be enabling RC Core code. If they do not we WARN() them of this and disable the capability for them. Once we know RC Core code has not been enabled, we can update the user's capabilities and use them as a term of reference for

Re: [PATCH 1/4] mm/vmalloc: allow to call vfree() in atomic context

2017-04-05 Thread Michal Hocko
On Wed 05-04-17 13:31:23, Andrey Ryabinin wrote: > On 04/04/2017 12:41 PM, Michal Hocko wrote: > > On Thu 30-03-17 17:48:39, Andrey Ryabinin wrote: > >> From: Andrey Ryabinin > >> Subject: mm/vmalloc: allow to call vfree() in atomic context fix > >> > >> Don't spawn

[tip:efi/core] efi/libstub: Fix harmless command line parsing bug

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 4c3f14bb87b683a2e5bbc6d6660b41893ecacfd0 Gitweb: http://git.kernel.org/tip/4c3f14bb87b683a2e5bbc6d6660b41893ecacfd0 Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:02:45 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[tip:efi/core] efi/libstub/arm/arm64: Disable debug prints on 'quiet' cmdline arg

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: eeff7d634f4750306785be709ca444140c29b043 Gitweb: http://git.kernel.org/tip/eeff7d634f4750306785be709ca444140c29b043 Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:09:09 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

Re: net/sctp: list double add warning in sctp_endpoint_add_asoc

2017-04-05 Thread Xin Long
On Wed, Apr 5, 2017 at 5:14 AM, Marcelo Ricardo Leitner wrote: > On Wed, Apr 05, 2017 at 01:29:19AM +0800, Xin Long wrote: >> On Tue, Apr 4, 2017 at 9:28 PM, Andrey Konovalov >> wrote: >> > Hi, >> > >> > I've got the following error report while

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Thomas Gleixner
On Wed, 5 Apr 2017, Thomas Gleixner wrote: > On Wed, 29 Mar 2017, Dou Liyang wrote: > > > The init_bsp_APIC() setups the virtual wire mode through the local > > APIC. > > > > The function name is unsuitable which might imply that the BSP's > > APIC will be initialized here, actually, where it

[PATCH v4 3/8] iio: adc: sun4i-gpadc-iio: move code used in MFD probing to new function

2017-04-05 Thread Quentin Schulz
This moves code used in MFD probing to a new sun4i_gpadc_probe_mfd function. This driver was initially written for A10, A13 and A31 SoCs which already had a DT binding for this IP, thus we needed to use an MFD to probe the different drivers without changing the DT binding of these SoCs. For SoCs

Re: [PATCH v2 02/22] asm-generic/io.h: add ioremap_nopost remap interface

2017-04-05 Thread Russell King - ARM Linux
On Tue, Mar 28, 2017 at 03:45:43PM +0100, Lorenzo Pieralisi wrote: > On Mon, Mar 27, 2017 at 08:41:10PM -0500, Bjorn Helgaas wrote: > > On Mon, Mar 27, 2017 at 10:49:30AM +0100, Lorenzo Pieralisi wrote: > > > diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h > > > index

Re: [PATCH v4 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-04-05 Thread Kishon Vijay Abraham I
Hi, On Tuesday 28 March 2017 05:57 PM, Raviteja Garimella wrote: > This is driver for USB DRD Phy used in Broadcom's Northstar2 > SoC. The phy can be configured to be in Device mode or Host > mode based on the type of cable connected to the port. The > driver registers to extcon framework to get

[PATCH 03/16] mfd: madera: Register map tables for Cirrus Logic CS47L35

2017-04-05 Thread Richard Fitzgerald
Regmap configuration tables for Cirrus Logic CS47L35 codecs. Signed-off-by: Piotr Stankiewicz Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax --- drivers/mfd/Kconfig

[PATCH 14/16] ASoC: cs47l35: Add codec driver for Cirrus Logic CS47L35

2017-04-05 Thread Richard Fitzgerald
Adds the codec driver for the CS47L35 SmartCodec. This is a multi-functional codec based on the Cirrus Logic Madera platform. Signed-off-by: Piotr Stankiewicz Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax

Re: [GIT PULL 0/2] EFI fixes for v4.11

2017-04-05 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, April 04, 2017 04:27:42 PM Ard Biesheuvel wrote: > Hello all, > > Please pull these fixes for EFI framebuffer support on ARM/arm64 systems. > > The following changes since commit 822f5845f710e57d7e2df1fd1ee00d6e19d334fe: > > efi/esrt: Cleanup bad memory map log messages

Re: [GIT PULL 0/2] EFI fixes for v4.11

2017-04-05 Thread Ard Biesheuvel
On 5 April 2017 at 11:08, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Tuesday, April 04, 2017 04:27:42 PM Ard Biesheuvel wrote: >> Hello all, >> >> Please pull these fixes for EFI framebuffer support on ARM/arm64 systems. >> >> The following changes since commit

[PATCH 16/16] ASoC: cs47l90: Add codec driver for Cirrus Logic CS47L90

2017-04-05 Thread Richard Fitzgerald
Adds the codec driver for the CS47L90 SmartCodec. This is a multi-functional codec based on the Cirrus Logic Madera platform. Signed-off-by: Nikesh Oswal Signed-off-by: Charles Keepax Signed-off-by: Richard Fitzgerald

[PATCH 15/16] ASoC: cs47l85: Add codec driver for Cirrus Logic CS47L85

2017-04-05 Thread Richard Fitzgerald
Adds the codec driver for the CS47L85 SmartCodec. This is a multi-functional codec based on the Cirrus Logic Madera platform. Signed-off-by: Nariman Poushin Signed-off-by: Charles Keepax Signed-off-by: Richard Fitzgerald

Re: [PATCH] Staging: lustre cleanup macros in libcfs_private.h

2017-04-05 Thread Dilger, Andreas
On Apr 3, 2017, at 15:13, Craig Inches wrote: > > This resolves a checkpatch warning that "Single statement macros should > not use a do {} while (0) loop" by removing the loop and adjusting line > length accordingly. > > Signed-off-by: Craig Inches

Re: [PATCH 2/2] ASoC: codec: wm8960: Relax bit clock computation when using PLL

2017-04-05 Thread kbuild test robot
Hi Daniel, [auto build test WARNING on asoc/for-next] [also build test WARNING on next-20170405] [cannot apply to v4.11-rc5] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Daniel-Baluta/ASoC

[PATCH v3 1/4] f2fs: split discard_cmd_list

2017-04-05 Thread Chao Yu
Split discard_cmd_list to discard_{pend,wait}_list, so while sending/waiting discard command, we can avoid traversing unneeded entries in original list. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- v3: handle discard command correctly in

Re: [PATCH] HID: asus: support backlight on USB keyboards

2017-04-05 Thread Carlo Caione
On Wed, Apr 5, 2017 at 11:41 AM, Benjamin Tissoires wrote: > Hi Carlo, [cut] >> With this patch we create the usual 'asus::kbd_backlight' sysfs entry > > Please change 'sysfs' with 'led class' or this will mislead people into > understanding that you are adding a

Re: [GIT PULL 0/2] EFI fixes for v4.11

2017-04-05 Thread Ingo Molnar
* Ard Biesheuvel wrote: > On 5 April 2017 at 11:08, Bartlomiej Zolnierkiewicz > wrote: > > > > Hi, > > > > On Tuesday, April 04, 2017 04:27:42 PM Ard Biesheuvel wrote: > >> Hello all, > >> > >> Please pull these fixes for EFI framebuffer

Re: [PATCH 3/3] f2fs: prevent waiter encountering incorrect discard states

2017-04-05 Thread Chao Yu
On 2017/4/4 1:40, Jaegeuk Kim wrote: > On 04/01, Chao Yu wrote: >> Ping, >> >> Any problem here? >> >> Thanks, >> >> On 2017/3/28 9:17, Chao Yu wrote: >>> On 2017/3/28 7:56, Jaegeuk Kim wrote: On 03/27, Chao Yu wrote: > In f2fs_submit_discard_endio, we will wake up waiter before setting

Re: [PATCH] iTCO_wdt: all versions count down twice

2017-04-05 Thread Andy Shevchenko
On Wed, Apr 5, 2017 at 12:03 PM, Paolo Bonzini wrote: > The ICH9 is listed as having TCO v2, and indeed the behavior in the > datasheet corresponds to v2 (for example the NO_REBOOT flag is > accessible via the 16KiB-aligned Root Complex Base Address). > > However, the TCO

Re: [PATCH 1/4] mm/vmalloc: allow to call vfree() in atomic context

2017-04-05 Thread Andrey Ryabinin
On 04/04/2017 12:41 PM, Michal Hocko wrote: > On Thu 30-03-17 17:48:39, Andrey Ryabinin wrote: >> From: Andrey Ryabinin >> Subject: mm/vmalloc: allow to call vfree() in atomic context fix >> >> Don't spawn worker if we already purging. >> >> Signed-off-by: Andrey Ryabinin

Re: [PATCH 16/16] drivers, net, intersil: convert request_context.refcount from atomic_t to refcount_t

2017-04-05 Thread Kalle Valo
"Reshetova, Elena" writes: >> Elena Reshetova writes: >> >> > refcount_t type and corresponding API should be >> > used instead of atomic_t when the variable is used as >> > a reference counter. This allows to avoid accidental >> >

Re: [PATCH] padata: avoid race in reordering

2017-04-05 Thread Herbert Xu
On Tue, Apr 04, 2017 at 08:26:12PM +0200, Greg KH wrote: > Any clue as to what the git commit id is? It's https://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git/commit/?h=linus=de5540d088fe97ad583cc7d396586437b32149a5 Thanks, -- Email: Herbert Xu

Re: linux-next: manual merge of the crypto tree with the amlogic tree

2017-04-05 Thread Herbert Xu
On Wed, Apr 05, 2017 at 10:21:38AM +1000, Stephen Rothwell wrote: > Hi Herbert, > > Today's linux-next merge of the crypto tree got a conflict in: > > arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi > > between commit: > > 6939db7e0dbf ("ARM64: dts: meson-gx: Add support for HDMI output") > >

[tip:efi/core] ef/libstub/arm/arm64: Randomize the base of the UEFI rt services region

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: e69176d68d26d63d9214797c191ce65358ea1ecf Gitweb: http://git.kernel.org/tip/e69176d68d26d63d9214797c191ce65358ea1ecf Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:09:10 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[tip:efi/core] efi/arm32-stub: Allow boot-time allocations in the vmlinux region

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 318532bf63cfab779d763527d8b93e48c4a96dba Gitweb: http://git.kernel.org/tip/318532bf63cfab779d763527d8b93e48c4a96dba Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:02:44 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Thomas Gleixner
On Wed, 29 Mar 2017, Dou Liyang wrote: > The init_bsp_APIC() setups the virtual wire mode through the local > APIC. > > The function name is unsuitable which might imply that the BSP's > APIC will be initialized here, actually, where it will be done is > almost at the end of start_kernel(). And

Re: [GIT PULL 0/2] EFI fixes for v4.11

2017-04-05 Thread Bartlomiej Zolnierkiewicz
On Wednesday, April 05, 2017 11:14:06 AM Ard Biesheuvel wrote: > On 5 April 2017 at 11:08, Bartlomiej Zolnierkiewicz > wrote: > > > > Hi, > > > > On Tuesday, April 04, 2017 04:27:42 PM Ard Biesheuvel wrote: > >> Hello all, > >> > >> Please pull these fixes for EFI

Re: [GIT PULL 0/2] EFI fixes for v4.11

2017-04-05 Thread Ard Biesheuvel
On 5 April 2017 at 11:44, Bartlomiej Zolnierkiewicz wrote: > On Wednesday, April 05, 2017 11:14:06 AM Ard Biesheuvel wrote: >> On 5 April 2017 at 11:08, Bartlomiej Zolnierkiewicz >> wrote: >> > >> > Hi, >> > >> > On Tuesday, April 04, 2017

[tip:efi/core] efi/libstub: Unify command line param parsing

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 60f38de7a8d4e816100ceafd1b382df52527bd50 Gitweb: http://git.kernel.org/tip/60f38de7a8d4e816100ceafd1b382df52527bd50 Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:09:08 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

Re: [PATCH] phy: bcm-ns-usb3: split all writes into reg & val pairs

2017-04-05 Thread Rafał Miłecki
On 04/05/2017 12:10 PM, Kishon Vijay Abraham I wrote: On Sunday 02 April 2017 10:25 PM, Rafał Miłecki wrote: From: Rafał Miłecki So far all the PHY initialization was implemented using some totally magic values. There was some pattern there but it wasn't clear what is it

Re: [PATCH v2 2/2] drivers/serial: Add driver for Aspeed virtual UART

2017-04-05 Thread Andy Shevchenko
On Wed, Apr 5, 2017 at 7:03 AM, Joel Stanley wrote: > From: Jeremy Kerr > > This change adds a driver for the 16550-based Aspeed virtual UART > device. We use a similar process to the of_serial driver for device > probe, but expose some VUART-specific functions

Re: [STABLE REGRESSION] iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3

2017-04-05 Thread Ritesh Raj Sarraf
On Tue, 2017-04-04 at 17:44 -0700, Srinivas Pandruvada wrote: > Hi Ritesh, > > Does the attached patch helps? Thank you Srinivas. I tested your patch on top of 4.10.8 and it is working perfect. Ritesh -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of

[PATCH] media: mtk-vcodec: remove informative log

2017-04-05 Thread Minghsiu Tsai
Driver is stable. Remove DEBUG definition from driver. There are debug message in /var/log/messages if DEBUG is defined, such as: [MTK_V4L2] level=0 fops_vcodec_open(),170: decoder capability 0 [MTK_V4L2] level=0 fops_vcodec_open(),177: 1600.vcodec decoder [0] [MTK_V4L2] level=0

Re: [PATCH v4 0/3] phy: Group phy drivers based on vendor listing

2017-04-05 Thread Kishon Vijay Abraham I
Hi Vivek, On Monday 20 March 2017 06:49 PM, Vivek Gautam wrote: > This is the next version to an earlier posted series [1]. > Missed Cc'ing the first patch of the previous series [1] to lkml. > Posting out this series now after addressing comments > and after adding the received 'Acked-by' and

[PATCH v4 2/2] i2c: mux: ltc4306: LTC4306 and LTC4305 I2C multiplexer/switch

2017-04-05 Thread michael.hennerich
From: Michael Hennerich This patch adds support for the Analog Devices / Linear Technology LTC4306 and LTC4305 4/2 Channel I2C Bus Multiplexer/Switches. The LTC4306 optionally provides two general purpose input/output pins (GPIOs) that can be configured as logic

<    4   5   6   7   8   9   10   11   12   13   >