[PATCH v2] exec: don't force_sigsegv processes with a pending fatal signal

2019-02-04 Thread Ivan Delalande
We were seeing unexplained segfaults in coreutils processes and other basic utilities on systems with print-fatal-signals enabled: [ 311.001986] potentially unexpected fatal signal 11. [ 311.001993] CPU: 3 PID: 4565 Comm: tail Tainted: P O

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-04 Thread Callum Sinclair
Created a way to clear the multicast forwarding cache on a socket without having to either remove the entries manually using the delete entry socket option or destroy and recreate the multicast socket. Patch Set 2: - Fix Compile Errors Patch Set 3: - Fix Style Errors Callum Sinclair (1):

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-04 Thread Callum Sinclair
Currently the only way to clear the mfc cache was to delete the entries one by one using the MRT_DEL_MFC socket option or to destroy and recreate the socket. Create a new socket option which will clear the multicast forwarding cache on the socket without destroying the socket. Signed-off-by:

Re: [PATCH] fs/dax: Convert to use vmf_error()

2019-02-04 Thread Dan Williams
On Mon, Feb 4, 2019 at 6:33 PM Souptick Joarder wrote: > > Hi Dan, > > On Tue, Jan 15, 2019 at 4:00 AM Dan Williams wrote: > > > > On Mon, Jan 14, 2019 at 12:59 AM Jan Kara wrote: > > > > > > On Sat 05-01-19 00:54:11, Souptick Joarder wrote: > > > > This code is converted to use vmf_error(). >

Re: [PATCH 2/2] selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config

2019-02-04 Thread Dan Rue
On Mon, Feb 04, 2019 at 05:39:57PM -0600, Luis Chamberlain wrote: > On Thu, Nov 29, 2018 at 8:31 PM Luis Chamberlain wrote: > > > > On Mon, Nov 26, 2018 at 09:12:16PM -0600, Dan Rue wrote: > > > CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y is required for fw_fallback.sh. > > > Without it,

Re: [PATCH] signal: always allocate siginfo for SI_TKILL

2019-02-04 Thread Eric W. Biederman
Kees Cook writes: > On Sun, Feb 3, 2019 at 12:39 AM Christian Brauner > wrote: >> >> On Sat, Feb 02, 2019 at 09:49:38PM -1000, Jack Andersen wrote: >> > The patch titled >> > `signal: Never allocate siginfo for SIGKILL or SIGSTOP` >> > created a regression for users of PTRACE_GETSIGINFO

Re: [PATCH v2 02/12] clocksource: davinci-timer: new driver

2019-02-04 Thread David Lechner
On 2/4/19 11:17 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Currently the clocksource and clockevent support for davinci platforms lives in mach-davinci. It hard-codes many things, used global variables, s/used/uses/ implements functionalities unused by any platform and has

Re: [PATCH v2 06/12] ARM: davinci: da830: switch to using the clocksource driver

2019-02-04 Thread David Lechner
On 2/4/19 11:17 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the platform to using it. Signed-off-by: Bartosz Golaszewski --- same comments as da850 patch

Re: [PATCH v2 05/12] ARM: davinci: da850: switch to using the clocksource driver

2019-02-04 Thread David Lechner
On 2/4/19 11:17 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the platform to using it. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da850.c | 56 ++- 1 file changed, 22

Re: [PATCH] fs/dax: Convert to use vmf_error()

2019-02-04 Thread Souptick Joarder
Hi Dan, On Tue, Jan 15, 2019 at 4:00 AM Dan Williams wrote: > > On Mon, Jan 14, 2019 at 12:59 AM Jan Kara wrote: > > > > On Sat 05-01-19 00:54:11, Souptick Joarder wrote: > > > This code is converted to use vmf_error(). > > > > > > Signed-off-by: Souptick Joarder > > > > Dan, you are merging

Re: [PATCH v2 04/12] ARM: davinci: WARN_ON() if clk_get() fails

2019-02-04 Thread David Lechner
On 2/4/19 11:17 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Currently the timer code checks if the clock pointer passed to it is good (!IS_ERR(clk)). The new clocksource driver expects the clock to be functional and doesn't perform any checks so emit a warning if clk_get() fails.

Re: [PATCH v2 03/12] ARM: davinci: enable the clocksource driver for DT mode

2019-02-04 Thread David Lechner
On 2/4/19 11:17 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Switch all davinci boards using device tree to using the new clocksource driver: remove the previous OF_TIMER_DECLARE() from mach-davinci and select davinci-timer to be built for davinci_all_defconfig. I don't see how

Re: [PATCH v2 02/12] clocksource: davinci-timer: new driver

2019-02-04 Thread David Lechner
On 2/4/19 11:17 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Currently the clocksource and clockevent support for davinci platforms lives in mach-davinci. It hard-codes many things, used global variables, implements functionalities unused by any platform and has code fragments

possible deadlock in io_submit_one

2019-02-04 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:5eeb63359b1e Merge tag 'for-linus' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17906f64c0 kernel config: https://syzkaller.appspot.com/x/.config?x=2e0064f906afee10

Re: [PATCH 3/3] media: imx: Allow BT.709 encoding for IC routes

2019-02-04 Thread Steve Longerbeam
Sorry this patch isn't working, it's not possible to set BT.709 encoding, working on a fix for v2. Steve On 2/3/19 11:47 AM, Steve Longerbeam wrote: The IC now supports BT.709 Y'CbCr encoding, in addition to existing BT.601 encoding, so allow both, for pipelines that route through the IC.

Re: [PATCH 0/6] RFC v2: mm: gup/dma tracking

2019-02-04 Thread Tom Talpey
On 2/4/2019 12:21 AM, john.hubb...@gmail.com wrote: From: John Hubbard Performance: here is an fio run on an NVMe drive, using this for the fio configuration file: [reader] direct=1 ioengine=libaio blocksize=4096 size=1g numjobs=1 rw=read iodepth=64

mmotm 2019-02-04-17-47 uploaded

2019-02-04 Thread akpm
The mm-of-the-moment snapshot 2019-02-04-17-47 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [RFC PATCH 3/4] kvm: Add guest side support for free memory hints

2019-02-04 Thread Nadav Amit
> On Feb 4, 2019, at 4:16 PM, Alexander Duyck wrote: > > On Mon, Feb 4, 2019 at 4:03 PM Nadav Amit wrote: >>> On Feb 4, 2019, at 3:37 PM, Alexander Duyck >>> wrote: >>> >>> On Mon, 2019-02-04 at 15:00 -0800, Nadav Amit wrote: > On Feb 4, 2019, at 10:15 AM, Alexander Duyck > wrote:

Re: mm: race in put_and_wait_on_page_locked()

2019-02-04 Thread Qian Cai
On 2/4/19 3:42 PM, Hugh Dickins wrote: > On Mon, 4 Feb 2019, Artem Savkov wrote: > >> Hi Hugh, >> >> Your recent patch 9a1ea439b16b "mm: put_and_wait_on_page_locked() while >> page is migrated" seems to have introduced a race into page migration >> process. I have a host that eagerly

Re: [Nouveau] [PATCH v3 4/4] drm/nouveau: Move PBN and VCPI allocation into nv50_head_atom

2019-02-04 Thread Ben Skeggs
On Sat, 2 Feb 2019 at 10:20, Lyude Paul wrote: > > Atomic checks should never modify anything outside of the state that > they're passed in. Unfortunately this appears to be exactly what we're > doing in nv50_msto_atomic_check() where we update mstc->pbn every time > the function is called. This

RE: [PATCH V9 3/5] i2c: tegra: Add DMA support

2019-02-04 Thread Sowjanya Komatineni
> I know that APB DMA driver enables flow control based on the channels spec, > but still won't hurt to explicitly show that channels are flow-controlled. > Ideally APB DMA driver should respect the device_fc field. > > dma_sconfig.device_fc = true; Dmitry, Thanks for all

[PATCH V10 3/5] i2c: tegra: Add DMA support

2019-02-04 Thread Sowjanya Komatineni
This patch adds DMA support for Tegra I2C. Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for transfer size of the max FIFO depth and DMA mode is used for transfer size higher than max FIFO depth to save CPU overhead. PIO mode needs full intervention of CPU to fill or empty FIFO's

[PATCH V10 1/5] i2c: tegra: sort all the include headers alphabetically

2019-02-04 Thread Sowjanya Komatineni
This patch sorts all the include headers alphabetically for the I2C Tegra driver. Signed-off-by: Sowjanya Komatineni Acked-by: Thierry Reding Reviewed-by: Dmitry Osipenko --- [V9/V10] : Rebased to 5.0-rc4 [V3/V4/V5/V7/V8] : Removed unsued headers in tegra I2C [V2] : Added this in V2 to sort

[PATCH V10 5/5] i2c: tegra: add i2c interface timing support

2019-02-04 Thread Sowjanya Komatineni
This patch adds I2C interface timing registers support for proper bus rate configuration along with meeting the i2c spec setup and hold times based on the tuning performed on Tegra210, Tegra186 and Tegra194 platforms. I2C_INTERFACE_TIMING_0 register contains TLOW and THIGH field and Tegra I2C

[PATCH V10 4/5] i2c: tegra: update transfer timeout

2019-02-04 Thread Sowjanya Komatineni
Tegra194 allows max of 64K bytes and Tegra186 and prior allows max of 4K bytes of transfer per packet. one sec timeout is not enough for transfers more than 10K bytes at STD bus rate. This patch updates I2C transfer timeout based on the transfer size and I2C bus rate to allow enough time during

[PATCH V10 2/5] i2c: tegra: add bus clear Master Support

2019-02-04 Thread Sowjanya Komatineni
Bus clear feature of Tegra I2C controller helps to recover from bus hang when I2C master loses the bus arbitration due to the slave device holding SDA LOW continuously for some unknown reasons. Per I2C specification, the device that held the bus LOW should release it within 9 clock pulses.

[PATCH -next] hugetlbfs: a terminator for hugetlb_param_specs[]

2019-02-04 Thread Qian Cai
Booting up an arm64 server with CONFIG_VALIDATE_FS_PARSER=n triggers a out-of-bounds error below, due to the commit 2284cf59cbce ("hugetlbfs: Convert to fs_context") missed a terminator for hugetlb_param_specs[], and causes this loop in fs_lookup_key(), for (p = desc->specs; p->name; p++) could

Re: [PATCH v2 01/12] ARM: dts: da850: fix interrupt numbers for clocksource

2019-02-04 Thread David Lechner
On 2/4/19 11:17 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski The timer interrupts specified in commit 3652e2741f42 ("ARM: dts: da850: Add clocks") are wrong but since the current timer code hard-codes them, the bug was never spotted. This patch must go into stable since, once we

Re: [PATCH 3.16 045/305] x86/speculation: Apply IBPB more strictly to avoid cross-process data leak

2019-02-04 Thread Ben Hutchings
On Sun, 2019-02-03 at 13:37 -0800, Andi Kleen wrote: > On Sun, Feb 03, 2019 at 08:05:53PM +0100, Jiri Kosina wrote: > > On Sun, 3 Feb 2019, Ben Hutchings wrote: > > > > > 3.16.63-rc1 review patch. If anyone has any objections, please let me > > > know. > > > > > > -- > > > > >

Re: [PATCH] watchdog: Update sysfs documentation.

2019-02-04 Thread Guenter Roeck
On 2/4/19 3:57 PM, Jerry Hoemann wrote: Document the sysfs attributes: pretimeout pretimeout_available_governors pretimeout_governor Signed-off-by: Jerry Hoemann Reviewed-by: Guenter Roeck --- Documentation/ABI/testing/sysfs-class-watchdog | 23

Re: [PATCH 35/35] ARM: davinci: remove mach/irqs.h

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We can now remove mach/irqs.h as there are no more users. Signed-off-by: Bartosz Golaszewski --- Reviewed-by: David Lechner

Re: [PATCH 34/35] ARM: davinci: stop using defines from mach/irqs.h

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski As the second step in preparation for mach/irqs.h removal - replace all constants defined there with the DAVINCI_INTC_IRQ() macro which takes the NR_IRQS offset into account. Signed-off-by: Bartosz Golaszewski ---

[PATCH] arm64: dts: qcom: sdm845: Define iommus for USB controllers

2019-02-04 Thread Bjorn Andersson
The USB controllers need to be associated with their respective IOMMU bank, so define this on the dwc3 nodes. Also add dma-ranges to the qcom-dwc3 nodes to make the bus' DMA mask propagate to the dwc3 controller instances. Fixes: 4429e57567bb ("arm64: dts: sdm845: Add node for arm,mmu-500")

[PATCH] arm64: dts: qcom: sdm845: Define IOMMU for sdhc 2

2019-02-04 Thread Bjorn Andersson
With apps_smmu initializing the SMMU we must specify iommus property for the sdhc controller. Fixes: 4429e57567bb ("arm64: dts: sdm845: Add node for arm,mmu-500") Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 32/35] ARM: davinci: remove intc related fields from davinci_soc_info

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski These are no longer used. Remove them. Signed-off-by: Bartosz Golaszewski --- Reviewed-by: David Lechner

Re: [PATCH 31/35] irqchip: davinci-cp-intc: move the driver to drivers/irqchip

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski The cp-intc driver has now been cleaned up. Move it to drivers/irqchip where it belongs. Signed-off-by: Bartosz Golaszewski --- Reviewed-by: David Lechner --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig

Re: [PATCH 30/35] ARM: davinci: cp-intc: remove redundant comments

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We don't need comments explaining what functions with obvious names do. Signed-off-by: Bartosz Golaszewski --- Reviewed-by: David Lechner

Re: [PATCH 29/35] ARM: davinci: cp-intc: drop GPL license boilerplate

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Replace the GPLv2 license boilerplate with an SPDX identifier. Should also mention that you are adding an author and copyright. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 18

Re: [PATCH 28/35] ARM: davinci: cp-intc: remove unneeded include

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski This header is no longer needed. Remove it. Is there another patch in this series that causes it to no longer be needed? If so, this patch could be squashed into that patch. Signed-off-by: Bartosz Golaszewski ---

Re: [PATCH] drivers: devfreq: change devfreq workqueue mechanism

2019-02-04 Thread Matthias Kaehlcke
Hi Lukasz, On Fri, Feb 01, 2019 at 07:38:03PM +0100, Lukasz Luba wrote: > This patch removes devfreq's custom workqueue and uses system one. > It switches from queue_delayed_work() to schedule_delayed_work(). > It also changes deferred work to delayed work, which is now not missed > when timer is

Re: [PATCH 27/35] ARM: davinci: cp-intc: unify error handling

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Use WARN_ON() on eny error in cp-intc initialization and drop all custom error messages. Signed-off-by: Bartosz Golaszewski --- Reviewed-by: David Lechner

Re: [PATCH 26/35] ARM: davinci: cp-intc: improve coding style

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Drop tabs from variable initialization. Arrange variables in reverse christmas-tree order. I'm not sure this description is correct. Add a newline before a return. Signed-off-by: Bartosz Golaszewski ---

Re: [PATCH] ASoC: rsnd: ssiu: correct shift bit for ssiu9

2019-02-04 Thread Kuninori Morimoto
Hi Jiada > Currently "0xf << 36" is used to > clear SSIU-9 internal buffer state, which overflows 32-bit value > according to user reference manual, it is always bit4 ~ bit7 > of SSI_SYS_STATUS[1,3,5,7] registers indicate > SSIU-9's buffer state, so "0xf << 4" should be used. > > This patch

Re: [PATCH 25/35] ARM: davinci: cp-intc: use the new-style config structure

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Modify the cp-intc driver to take all its configuration from the new config structure. Stop referencing davinci_soc_info in any way. Move the declaration for davinci_cp_intc_init() to irq-davinci-cp-intc.h and make it

Re: [PATCH] docs: kernel-doc: typo "documentaion"

2019-02-04 Thread Frank Rowand
On 2/2/19 12:56 PM, Matthew Wilcox wrote: > On Fri, Feb 01, 2019 at 02:04:16PM -0800, frowand.l...@gmail.com wrote: >>Include documentation for each *function* in *source*. >> - If no *function* if specified, the documentaion for all functions >> + If no *function* if specified, the

Re: [PATCH] firmware_loader: move CONFIG_FW_LOADER_USER_HELPER switch to Makefile

2019-02-04 Thread Luis Chamberlain
On Tue, Dec 25, 2018 at 12:14:57AM +0900, Masahiro Yamada wrote: > The whole code of fallback_table.c is surrounded by #ifdef of > CONFIG_FW_LOADER_USER_HELPER. > > Move the CONFIG_FW_LOADER_USER_HELPER switch to Makefile so that > it is not compiled at all when this CONFIG is turned off. > > I

Re: [PATCH 05/35] ARM: davinci: drop irq defines from default_priorites

2019-02-04 Thread David Lechner
On 1/31/19 7:38 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski In order to select SPARSE_IRQ we need to make the interrupt numbers dynamic (at least at build-time for the top-level controller). The interrupt numbers are used as array indexes for irq priorities. Drop the defines and

Re: [PATCH v6 0/3] Stingray thermal driver support

2019-02-04 Thread Ray Jui
Hi Zhang/Eduardo, Can this patch series be merged? It looks like Srinath has addressed all review comments? The following tag should be added to the binding document patch: Reviewed-by: Rob Herring Thanks, Ray On 1/3/2019 12:55 AM, Srinath Mannam wrote: > These patches adds the stingray

Re: [RFC PATCH 3/4] kvm: Add guest side support for free memory hints

2019-02-04 Thread Alexander Duyck
On Mon, Feb 4, 2019 at 4:03 PM Nadav Amit wrote: > > > On Feb 4, 2019, at 3:37 PM, Alexander Duyck > > wrote: > > > > On Mon, 2019-02-04 at 15:00 -0800, Nadav Amit wrote: > >>> On Feb 4, 2019, at 10:15 AM, Alexander Duyck > >>> wrote: > >>> > >>> From: Alexander Duyck > >>> > >>> Add guest

Re: [PATCH v5 03/13] kbuild: Raise the minimum required binutils version to 2.21

2019-02-04 Thread Andrew Morton
On Fri, 1 Feb 2019 18:45:44 -0800 Andy Lutomirski wrote: > On Fri, Feb 1, 2019 at 12:54 PM Chang S. Bae wrote: > > > > It helps to use some new instructions directly in inline assembly. > > akpm, can you ack this patch? AFAIK you are the only, or at least > most vocal, user of ancient

Re: [PATCH 24/35] ARM: davinci: cp-intc: convert all hex numbers to lowercase

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Use lowercase letters in hexadecimal numbers as is done in most of the kernel code base. Signed-off-by: Bartosz Golaszewski --- Seems a bit unnecessary, but... Reviewed-by: David Lechner

Re: [RFC PATCH 3/4] kvm: Add guest side support for free memory hints

2019-02-04 Thread Nadav Amit
> On Feb 4, 2019, at 3:37 PM, Alexander Duyck > wrote: > > On Mon, 2019-02-04 at 15:00 -0800, Nadav Amit wrote: >>> On Feb 4, 2019, at 10:15 AM, Alexander Duyck >>> wrote: >>> >>> From: Alexander Duyck >>> >>> Add guest support for providing free memory hints to the KVM hypervisor for >>>

Re: [PATCH 23/35] ARM: davinci: cp-intc: use a common prefix for all symbols

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski In preparation for moving the driver to drivers/irqchip do some cleanup: use a common prefix for all symbols. Signed-off-by: Bartosz Golaszewski --- Reviewed-by: David Lechner

Re: Frequent dwc3 crashes on suspend or reboot since 5.0-rc1

2019-02-04 Thread John Stultz
On Sat, Feb 2, 2019 at 9:00 AM Alan Stern wrote: > > On Fri, 1 Feb 2019, John Stultz wrote: > > > Hey all, > > Since the 5.0 merge window opened, I've been tripping on frequent > > dwc3 crashes on reboot and suspend, which I've added an example to the > > bottom of this mail. > > > > I've dug

[PATCH] watchdog: Update sysfs documentation.

2019-02-04 Thread Jerry Hoemann
Document the sysfs attributes: pretimeout pretimeout_available_governors pretimeout_governor Signed-off-by: Jerry Hoemann --- Documentation/ABI/testing/sysfs-class-watchdog | 23 +++ 1 file changed, 23 insertions(+) diff --git

Re: [PATCH 22/35] ARM: davinci: cp-intc: add the new config structures for da8xx SoCs

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Add the new-style config structures for dm* SoCs. They will be used once we make the cp-intc driver stop using davinci_soc_info. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da830.c | 10 ++

Re: [PATCH 21/35] ARM: davinci: cp-intc: add a new config structure

2019-02-04 Thread David Lechner
subject should probably be irqchip: rather than ARM: On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Add a config structure that will be used by cp-intc-based platforms. It contains the register range resource and the number of interrupts. Signed-off-by: Bartosz

Re: [PATCH 3.16 000/305] 3.16.63-rc1 review

2019-02-04 Thread Ben Hutchings
On Mon, 2019-02-04 at 13:38 -0800, Guenter Roeck wrote: > On Sun, Feb 03, 2019 at 02:45:07PM +0100, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.16.63 release. > > There are 305 patches in this series, which will be posted as responses > > to this one. If anyone

Re: [PATCH 20/35] ARM: davinci: cp-intc: add a wrapper around cp_intc_init()

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We're going to extend the cp_intc_init() function with a config structure so we can drop the intc-related fields from davinci_soc_info. Once we do it, we won't be able to use this routine directly as the init_irq

Re: [PATCH] x86/ima: require signed kernel modules

2019-02-04 Thread Mimi Zohar
On Mon, 2019-02-04 at 12:38 -0800, Luis Chamberlain wrote: > On Thu, Jan 31, 2019 at 02:18:59PM -0500, Mimi Zohar wrote: > > diff --git a/kernel/module.c b/kernel/module.c > > index 2ad1b5239910..70a9709d19eb 100644 > > --- a/kernel/module.c > > +++ b/kernel/module.c > > @@ -275,16 +275,23 @@

Re: [PATCH 19/35] ARM: davinci: cp-intc: remove cp_intc.h

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski There's no need to have a local header for cp-intc. Move the only declaration for a public function to common.h. Move all register offsets into the driver source file and drop all unused defines. Make cp_intc_of_init()

Re: [PATCH 18/35] irqchip: davinci-aintc: move the driver to drivers/irqchip

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski The aintc driver has now been cleaned up. Move it to drivers/irqchip where it belongs. There's no device-tree support for any dm* board so there's no IRQCHIP_OF_DECLARE() - there's only the exported init function called

Re: [PATCH v2] tpm/st33zp24: Fix the name collisions in tpm_st33zp24_spi and tpm_i2c_infineon

2019-02-04 Thread Jarkko Sakkinen
On Tue, Feb 05, 2019 at 01:31:17AM +0200, Jarkko Sakkinen wrote: > On Mon, Feb 04, 2019 at 02:49:54PM +0100, Roberto Sassu wrote: > > On 2/4/2019 2:37 PM, Jarkko Sakkinen wrote: > > > Rename TPM_BUFSIZE defined in drivers/char/tpm/st33zp24/st33zp24.h to > > > ST33ZP24_BUFSIZE. > > > > > > Rename

Re: [PATCH 2/2] selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config

2019-02-04 Thread Luis Chamberlain
On Thu, Nov 29, 2018 at 8:31 PM Luis Chamberlain wrote: > > On Mon, Nov 26, 2018 at 09:12:16PM -0600, Dan Rue wrote: > > CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y is required for fw_fallback.sh. > > Without it, fw_fallback.sh fails with 'usermode helper disabled so > > ignoring test'. Enable the

Re: [RFC PATCH 3/4] kvm: Add guest side support for free memory hints

2019-02-04 Thread Alexander Duyck
On Mon, 2019-02-04 at 15:00 -0800, Nadav Amit wrote: > > On Feb 4, 2019, at 10:15 AM, Alexander Duyck > > wrote: > > > > From: Alexander Duyck > > > > Add guest support for providing free memory hints to the KVM hypervisor for > > freed pages huge TLB size or larger. I am restricting the size

Re: [PATCH 17/35] ARM: davinci: aintc: remove unnecessary includes

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski These includes are no longer required. Remove them. Signed-off-by: Bartosz Golaszewski --- Reviewed-by: David Lechner

Re: [PATCH 16/35] ARM: davinci: aintc: move timer-specific irq_set_handler() out of irq.c

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski I've been unable to figure out exactly why, but it seems that the IRQ_TINT1_TINT34 interrupt for timer 1 needs to be handled as a level irq, not edge like all others. This timer is used by the dsp on dm64* boards only.

Re: [PATCH 0/6] RFC v2: mm: gup/dma tracking

2019-02-04 Thread Ira Weiny
On Mon, Feb 04, 2019 at 05:14:19PM +, Christopher Lameter wrote: > Frankly I still think this does not solve anything. > > Concurrent write access from two sources to a single page is simply wrong. > You cannot make this right by allowing long term RDMA pins in a filesystem > and thus the

Re: [PATCH] firmware: hardcode the debug message for -ENOENT

2019-02-04 Thread Luis Chamberlain
On Mon, Jan 14, 2019 at 05:58:30PM +0800, yuank...@codeaurora.org wrote: > Hi, > > Refined at below. > > From bbd0d9c8f28eb78ca34353347c3d4092e88f000c Mon Sep 17 00:00:00 2001 This is all garbled, not sure why your patch looks all messed up. Are you using git sendemail or something manual?

Re: [PATCH v9 6/6] tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()

2019-02-04 Thread Jarkko Sakkinen
On Tue, Feb 05, 2019 at 01:26:40AM +0200, Jarkko Sakkinen wrote: > On Mon, Feb 04, 2019 at 02:21:59PM +0100, Roberto Sassu wrote: > > I can include your fix in patch 4/6, if you prefer. > > It is not really a question of my preference because the changes in > 4/6 are not part of the bug fix.

Re: [PATCH v2] tpm/st33zp24: Fix the name collisions in tpm_st33zp24_spi and tpm_i2c_infineon

2019-02-04 Thread Jarkko Sakkinen
On Mon, Feb 04, 2019 at 02:49:54PM +0100, Roberto Sassu wrote: > On 2/4/2019 2:37 PM, Jarkko Sakkinen wrote: > > Rename TPM_BUFSIZE defined in drivers/char/tpm/st33zp24/st33zp24.h to > > ST33ZP24_BUFSIZE. > > > > Rename TPM_BUFSIZE defined in drivers/char/tpm/tpm_i2c_infineon.c to > >

Re: [PATCH 15/35] ARM: davinci: aintc: use the new config structure

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Modify the aintc driver to take all its configuration from the new config structure. Stop referencing davinci_soc_info in any way. Move the declaration for davinci_aintc_init() to irq-davinci-aintc.h and make it take the

Re: [PATCH v3] selftests: add TPM 2.0 tests

2019-02-04 Thread Jarkko Sakkinen
On Mon, Feb 04, 2019 at 03:16:40PM +0200, Jarkko Sakkinen wrote: > Added the tests that I've been using for testing TPM 2.0 functionality > for a long time but have been out-of-tree so far, residing in > > https://github.com/jsakkine-intel/tpm2-scripts > > Cc: Tadeusz Struk > Signed-off-by:

Re: [PATCH v9 6/6] tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()

2019-02-04 Thread Jarkko Sakkinen
On Mon, Feb 04, 2019 at 02:21:59PM +0100, Roberto Sassu wrote: > I can include your fix in patch 4/6, if you prefer. It is not really a question of my preference because the changes in 4/6 are not part of the bug fix. /Jarkko

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-04 Thread Dave Hansen
On 2/4/19 1:40 PM, Borislav Petkov wrote: >> Then, for the weirdo deployments where this feature is not enumerated, >> we have the setcpuid= to fake the enumeration in software. >> >> The reason I'm pushing for setcpuid= instead of a one-off is that I >> don't expect this to be the last time Intel

Re: [PATCH v2] tpm/tpm_crb: Avoid unaligned reads in crb_recv()

2019-02-04 Thread Jarkko Sakkinen
On Mon, Feb 04, 2019 at 10:09:51PM +, Winkler, Tomas wrote: > > > > The current approach to read first 6 bytes from the response and then tail > > of > > the response, can cause the 2nd memcpy_fromio() to do an unaligned read > > (e.g. read 32-bit word from address aligned to a 16-bits),

Re: [PATCH V4 rdma-next 0/3] RDMA/hns: Some fixes for hns RoCE driver

2019-02-04 Thread Jason Gunthorpe
On Sun, Feb 03, 2019 at 08:43:12PM +0800, Wei Hu (Xavier) wrote: > Hi, Jason and Doug > > This patch series includes three bugfixes for reset related operations > and are maked based on wip/jgg-for-next branch. > > Best Regards > Xavier > > Wei Hu (Xavier) (3): > RDMA/hns: Fix the Oops during

Re: [PATCH v2] tpm/tpm_crb: Avoid unaligned reads in crb_recv()

2019-02-04 Thread Jarkko Sakkinen
On Mon, Feb 04, 2019 at 05:12:57PM +, David Laight wrote: > > +* field) in order to make sure that the reminding memory accesses will > > remaining Thanks for your feedback David. I'll implement your suggestions (also in your other response). /Jarkko

[PATCH v4 7/8] i2c: iproc: add NIC I2C support

2019-02-04 Thread Ray Jui
From: Rayagonda Kokatanur Add NIC I2C support to the iProc I2C driver. Access to the NIC I2C base registers requires going through the IDM wrapper to map into the NIC's address space Signed-off-by: Rayagonda Kokatanur Signed-off-by: Ray Jui --- drivers/i2c/busses/i2c-bcm-iproc.c | 79

Re: [PATCH] MIPS: Remove function size check in get_frame_info()

2019-02-04 Thread Paul Burton
Hello, Jun-Ru Chang wrote: > Patch (b6c7a324df37b "MIPS: Fix get_frame_info() handling of > microMIPS function size.") introduces additional function size > check for microMIPS by only checking insn between ip and ip + func_size. > However, func_size in get_frame_info() is always 0 if KALLSYMS is

[PATCH v4 6/8] dt-bindings: i2c: iproc: add "brcm,iproc-nic-i2c" compatible string

2019-02-04 Thread Ray Jui
From: Rayagonda Kokatanur Update iProc I2C binding document to add new compatible string "brcm,iproc-nic-i2c". Optional property "brcm,ape-hsls-addr-mask" is also added that allows configuration of the host view into the APE's address for "brcm,iproc-nic-i2c" Signed-off-by: Rayagonda Kokatanur

[PATCH v4 5/8] i2c: iproc: use wrapper for read/write access

2019-02-04 Thread Ray Jui
From: Rayagonda Kokatanur Use the following wrapper for read/write access of iProc i2c registers: u32 iproc_i2c_rd_reg(struct bcm_iproc_i2c_dev *iproc_i2c, u32 offset) void iproc_i2c_wr_reg(struct bcm_iproc_i2c_dev *iproc_i2c, u32 offset, u32 val) This

[PATCH v4 8/8] arm64: dts: Stingray: Add NIC i2c device node

2019-02-04 Thread Ray Jui
From: Rayagonda Kokatanur Add NIC i2c device node. Signed-off-by: Rayagonda Kokatanur Signed-off-by: Ray Jui --- .../boot/dts/broadcom/stingray/stingray.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi

[PATCH v4 4/8] i2c: iproc: add polling support

2019-02-04 Thread Ray Jui
From: Rayagonda Kokatanur Add polling support to the iProc I2C driver. Polling mode is activated when the driver fails to obtain an interrupt ID from device tree Signed-off-by: Rayagonda Kokatanur Signed-off-by: Ray Jui --- drivers/i2c/busses/i2c-bcm-iproc.c | 298

[PATCH v4 1/8] i2c: iproc: Extend I2C read up to 255 bytes

2019-02-04 Thread Ray Jui
From: Shreesha Rajashekar Add support to allow I2C master read transfer up to 255 bytes. Signed-off-by: Shreesha Rajashekar Signed-off-by: Rayagonda Kokatanur Signed-off-by: Ray Jui --- drivers/i2c/busses/i2c-bcm-iproc.c | 98 +++--- 1 file changed, 76 insertions(+),

[PATCH v4 3/8] dt-bindings: i2c: iproc: make 'interrupts' optional

2019-02-04 Thread Ray Jui
In prep for the introduction of polling mode into the driver, update the binding document to make the 'interrupts' property optional Signed-off-by: Ray Jui Signed-off-by: Rayagonda Kokatanur --- .../devicetree/bindings/i2c/brcm,iproc-i2c.txt | 10 +++--- 1 file changed, 7

[PATCH v4 2/8] i2c: iproc: Add slave mode support

2019-02-04 Thread Ray Jui
From: Shreesha Rajashekar Add slave mode support to the iProc I2C driver. Signed-off-by: Rayagonda Kokatanur Signed-off-by: Michael Cheng Signed-off-by: Shreesha Rajashekar Signed-off-by: Ray Jui --- drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/i2c-bcm-iproc.c | 314

[PATCH v4 0/8] iProc I2C slave mode and NIC mode

2019-02-04 Thread Ray Jui
This patch series adds the following support to the iProc I2C driver: - Increase maximum read transfer size to 255 bytes - I2C slave mode - Polling mode - NIC I2C mode This patch series is based on kernel v5.0-rc3 and available at: https://github.com/Broadcom/arm64-linux.git branch: i2c-slave-v4

Re: [PATCH] regulator: rk808: Convert rk805 buck1/2 to use linear range

2019-02-04 Thread Otavio Salvador
On Mon, Feb 4, 2019 at 5:10 AM Axel Lin wrote: > > It looks like linear range is suitable to describe the voltage table > for rk805 buck1/2: > > selector 0 ~ 59: 0.7125V with uV_step = 12500 > selector 60 ~ 62: 1.8V with uV_step = 20 > selector 63: 2.3V > > With this change, then rk805

Re: [PATCH] xfs: allow disabling xfs tracepoints via Kconfig

2019-02-04 Thread Dave Chinner
On Mon, Feb 04, 2019 at 11:12:57PM +0100, Rasmus Villemoes wrote: > On 04/02/2019 22.53, Dave Chinner wrote: > > On Mon, Feb 04, 2019 at 10:20:35PM +0100, Rasmus Villemoes wrote: > >> linux/tracepoints.h allows individual subsystems to disable their > >> tracepoints. Add such a knob for xfs.

Re: [PATCH] build_bug.h: add wrapper for _Static_assert

2019-02-04 Thread Andrew Morton
On Mon, 4 Feb 2019 15:09:16 -0800 Andrew Morton wrote: > On Sun, 3 Feb 2019 20:24:00 +0100 Rasmus Villemoes > wrote: > > > BUILD_BUG_ON() is a little annoying, since it cannot be used outside > > function scope. So one cannot put assertions about the sizeof() a > > struct next to the struct

Re: [PATCH 14/35] ARM: davinci: aintc: use the new irqchip config structure in dm* SoCs

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Add the new-style config structures for dm* SoCs. They will be used once we make the aintc driver stop using davinci_soc_info. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/dm355.c | 11 +++

Re: [PATCH v3 0/8] Add IPROC I2C slave mode and NIC I2C support

2019-02-04 Thread Ray Jui
Hi Wolfram, On 2/4/2019 3:12 AM, Wolfram Sang wrote: > Hi, > >> Just want to check if you had a chance to review the following patch series? > > I am sorry, but for some reason they are not listed in my patchwork > instance, so they fell through the cracks :( Can you please resend them? > > I

Re: [PATCH] build_bug.h: add wrapper for _Static_assert

2019-02-04 Thread Andrew Morton
On Sun, 3 Feb 2019 20:24:00 +0100 Rasmus Villemoes wrote: > BUILD_BUG_ON() is a little annoying, since it cannot be used outside > function scope. So one cannot put assertions about the sizeof() a > struct next to the struct definition, but has to hide that in some > more or less arbitrary

Re: [PATCH v2 10/21] memblock: refactor internal allocation functions

2019-02-04 Thread Stephen Rothwell
Hi all, On Mon, 04 Feb 2019 19:45:17 +1100 Michael Ellerman wrote: > > Mike Rapoport writes: > > On Sun, Feb 03, 2019 at 08:39:20PM +1100, Michael Ellerman wrote: > >> Mike Rapoport writes: > >> > Currently, memblock has several internal functions with overlapping > >> > functionality.

Re: [PATCH v4 00/16] block: sed-opal: support shadow MBR done flag and write

2019-02-04 Thread David Kozub
On Mon, 4 Feb 2019, Christoph Hellwig wrote: On Fri, Feb 01, 2019 at 09:50:07PM +0100, David Kozub wrote: This patch series extends SED OPAL support: it adds IOCTL for setting the shadow MBR done flag which can be useful for unlocking an OPAL disk on boot and it adds IOCTL for writing to the

Re: [PATCH 2/2] mtd: spinand: micron: Support for all Micron SPI NAND flashes

2019-02-04 Thread kbuild test robot
Hi Shivamurthy, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mtd/nand/next] [also build test WARNING on v5.0-rc4 next-20190204] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH v2 0/3] slub: Do trivial comments fixes

2019-02-04 Thread Andrew Morton
On Mon, 4 Feb 2019 11:57:10 +1100 "Tobin C. Harding" wrote: > Here is v2 of the comments fixes [to single SLUB header file] Thanks. I think I'll put these into a single patch.

Re: [PATCH 13/35] ARM: davinci: aintc: add a new config structure

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Add a config structure that will be used by aintc-based platforms. It contains the register range resource, number of interrupts and a list of priorities. Signed-off-by: Bartosz Golaszewski ---

Re: [RFC PATCH 3/4] kvm: Add guest side support for free memory hints

2019-02-04 Thread Nadav Amit
> On Feb 4, 2019, at 10:15 AM, Alexander Duyck > wrote: > > From: Alexander Duyck > > Add guest support for providing free memory hints to the KVM hypervisor for > freed pages huge TLB size or larger. I am restricting the size to > huge TLB order and larger because the hypercalls are too

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