Re: [PATCH] Documentation: Better document the hardlockup_panic sysctl

2017-12-11 Thread Jonathan Corbet
On Sun, 10 Dec 2017 01:48:46 -0600 Scott Wood wrote: > Commit ac1f591249d95372f ("kernel/watchdog.c: add sysctl knob > hardlockup_panic") added the hardlockup_panic sysctl, but did not add it > to Documentation/sysctl/kernel.txt. Add this, and reference it from the > corresponding entry in Docum

Re: [REGRESSION][4.13.y][4.14.y][v4.15.y] net: reduce skb_warn_bad_offload() noise

2017-12-11 Thread Willem de Bruijn
On Mon, Dec 11, 2017 at 4:44 PM, Greg Kroah-Hartman wrote: > On Mon, Dec 11, 2017 at 04:25:26PM -0500, Willem de Bruijn wrote: >> Note that UFO was removed in 4.14 and that skb_warn_bad_offload >> can happen for various types of packets, so there may be multiple >> independent bug reports. I'm inv

[GIT PULL] cgroup fixes for v4.15-rc3

2017-12-11 Thread Tejun Heo
Hello, * Prateek posted a couple patches to fix a deadlock involving cpuset and workqueue. It unfortunately caused a different deadlock and the recent workqueue hotplug simplification removed the original deadlock, so Prateek's two patches are reverted for now. * The new stat code was miss

Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-12-11 Thread Jonathan Corbet
On Sat, 9 Dec 2017 12:03:55 +0100 Philippe Ombredanne wrote: > Jonathan, > As an English Major, does this make sense to you? (using boilerplate > as a single word, not the kitten thing) Surely you're not calling me an English major? :) Anyway, I would use "boilerplate" in a setting like this, a

Re: [RFC PATCH v2 1/2] xen/pvh: Add memory map pointer to hvm_start_info struct

2017-12-11 Thread Paolo Bonzini
On 08/12/2017 09:49, Jan Beulich wrote: >> + * The layout of each entry in the memory map table is as follows and no >> + * padding is used between entries in the array: >> + * >> + * 0 ++ >> + *| addr | Base address >> + * 8 ++ >> + *| size

[GIT PULL] percpu fixes for v4.15-rc3

2017-12-11 Thread Tejun Heo
Hello, Linus. Just one patch to work around CRIS boot problem caused by a recent change which freed a temporary boot data structure. The root cause is on CRIS side but it doesn't seem trivial to fix. For now, work around by skipping freeing on CRIS. Thanks. The following changes since commit 4

Re: [PATCH 1/2 v2] Documentation: add Sorting section to kernel-api

2017-12-11 Thread Jonathan Corbet
On Wed, 29 Nov 2017 12:32:38 -0800 Randy Dunlap wrote: > Add sort() and list_sort() to the kernel API documentation in a > new "Sorting" section. > > Signed-off-by: Randy Dunlap Applied to the docs tree, thanks. jon

Re: [PATCH 2/2 v2] Documentation: add UUID/GUID to kernel-api

2017-12-11 Thread Jonathan Corbet
On Wed, 29 Nov 2017 12:32:42 -0800 Randy Dunlap wrote: > From: Randy Dunlap > > Update kernel-doc notation in lib/uuid.c and then add UUID/GUID > function interfaces to kernel-api. > > Signed-off-by: Randy Dunlap Applied to the docs tree. While I was at it... > + * uuid_is_valid - checks i

Re: [PATCH 0/2] Documentation: Add guidance on CONFIG default value

2017-12-11 Thread Jonathan Corbet
On Mon, 20 Nov 2017 14:39:32 -0800 Darren Hart wrote: > Document the preference for "default n" in kconfig-language.txt, and reference > that in the submit-checklist.rst. I've (finally) applied the pair to the docs tree, thanks. jon

[patch 1/2] mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks

2017-12-11 Thread David Rientjes
Commit 4d4bbd8526a8 ("mm, oom_reaper: skip mm structs with mmu notifiers") prevented the oom reaper from unmapping private anonymous memory with the oom reaper when the oom victim mm had mmu notifiers registered. The rationale is that doing mmu_notifier_invalidate_range_{start,end}() around the un

[patch 2/2] mm, oom: avoid reaping only for mm's with blockable invalidate callbacks

2017-12-11 Thread David Rientjes
This uses the new annotation to determine if an mm has mmu notifiers with blockable invalidate range callbacks to avoid oom reaping. Otherwise, the callbacks are used around unmap_page_range(). Signed-off-by: David Rientjes --- mm/oom_kill.c | 21 +++-- 1 file changed, 11 insert

Re: [PATCH v4 72/73] xfs: Convert mru cache to XArray

2017-12-11 Thread Joe Perches
On Tue, 2017-12-12 at 08:43 +1100, Dave Chinner wrote: > On Sat, Dec 09, 2017 at 09:00:18AM -0800, Joe Perches wrote: > > On Sat, 2017-12-09 at 09:36 +1100, Dave Chinner wrote: > > > 1. Using lockdep_set_novalidate_class() for anything other > > > than device->mutex will throw checkpatch warnin

Re: [PATCH 1/4] fs/notify: fdinfo can report unsupported file handles.

2017-12-11 Thread NeilBrown
On Mon, Dec 11 2017, Al Viro wrote: > On Mon, Dec 11, 2017 at 05:04:05PM +1100, NeilBrown wrote: >> @@ -385,7 +385,9 @@ int exportfs_encode_inode_fh(struct inode *inode, struct >> fid *fid, >> { >> const struct export_operations *nop = inode->i_sb->s_export_op; >> >> -if (nop && nop->

Re: [PATCH] docs: refcount_t documentation

2017-12-11 Thread Kees Cook
On Mon, Dec 11, 2017 at 1:42 PM, Jonathan Corbet wrote: > On Tue, 5 Dec 2017 12:46:35 +0200 > Elena Reshetova wrote: > >> Some functions from refcount_t API provide different >> memory ordering guarantees that their atomic counterparts. >> This adds a document outlining these differences ( >> Do

Re: [linux-sunxi] [PATCH v2 3/6] ARM: sun4i: Convert to CCU

2017-12-11 Thread Kevin Hilman
On Sun, Mar 26, 2017 at 10:20 AM, Priit Laes wrote: > Convert sun4i-a10.dtsi to new CCU driver. > > Signed-off-by: Priit Laes I finally got around to bisecting a mainline boot failure on sun4i-a10-cubieboard that's been happening for quite a while. Based on on kernelci.org, it showed up sometim

Re: [PATCH 1/1] scsi: fnic: add a space after %p in printf format

2017-12-11 Thread Bart Van Assche
On Sun, 2017-12-10 at 20:23 +0100, Nicolas Iooss wrote: > fnic_fcpio_icmnd_cmpl_handler() displays the value of sc with: > > FNIC_SCSI_DBG(KERN_INFO... > "... sc = 0x%p" > "scsi_status ..." > ... > > As the literal strings get merged, the function uses %ps instead of t

Re: [patch 1/2] mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks

2017-12-11 Thread Paolo Bonzini
On 11/12/2017 23:11, David Rientjes wrote: > Commit 4d4bbd8526a8 ("mm, oom_reaper: skip mm structs with mmu notifiers") > prevented the oom reaper from unmapping private anonymous memory with the > oom reaper when the oom victim mm had mmu notifiers registered. > > The rationale is that doing mmu_

Re: [RESEND PATCH v4 2/2] arm64: Add software workaround for Falkor erratum 1041

2017-12-11 Thread Shanker Donthineni
Thanks Mark, I'll post v5 patch without alternatives. On 12/11/2017 04:45 AM, Mark Rutland wrote: > Hi, > > On Sun, Dec 10, 2017 at 08:03:43PM -0600, Shanker Donthineni wrote: >> +/** >> + * Errata workaround prior to disable MMU. Insert an ISB immediately prior >> + * to executing the MSR that

RE: [PATCH v4 5/5] ARM: ep93xx: ts72xx: Add support for BK3 board - ts72xx derivative

2017-12-11 Thread Hartley Sweeten
On Monday, December 11, 2017 2:40 PM, Lukasz Majewski wrote: > Hi Hartley, > >> On Thursday, November 30, 2017 4:52 PM, Lukasz Majewski wrote: >>> >>> The BK3 board is a derivative of the ts72xx reference design. >> >> Lukasz, >> >> I was just reviewing the other TS-72xx boards and noticed this

Re: [v7, 3/3] ARM: dts: imx6qdl.dtsi/imx6ul.dtsi: add "fsl, imx6q-snvs-lpgpr" node

2017-12-11 Thread Maciej S. Szmigiero
On 20.06.2017 09:09, Oleksij Rempel wrote: > This node is for Low Power General Purpose Register which can > be used as Non-Volatile Storage. > > Signed-off-by: Oleksij Rempel > --- > arch/arm/boot/dts/imx6qdl.dtsi | 4 > arch/arm/boot/dts/imx6ul.dtsi | 4 > 2 files changed, 8 inserti

Re: [PATCH 0/2] of: overlay: Crash fix and improvement

2017-12-11 Thread Frank Rowand
On 12/09/17 01:04, Geert Uytterhoeven wrote: > Hi Frank, > > On Sat, Dec 9, 2017 at 7:01 AM, Frank Rowand wrote: >> On 12/08/17 05:13, Geert Uytterhoeven wrote: >>> This patch series fixes memory corruption when applying overlays. >>> I first noticed this when using OF configfs. After lots of fa

[PATCH v5 2/2] arm64: Add software workaround for Falkor erratum 1041

2017-12-11 Thread Shanker Donthineni
The ARM architecture defines the memory locations that are permitted to be accessed as the result of a speculative instruction fetch from an exception level for which all stages of translation are disabled. Specifically, the core is permitted to speculatively fetch from the 4KB region containing th

[PATCH v5 1/2] arm64: Define cputype macros for Falkor CPU

2017-12-11 Thread Shanker Donthineni
Add cputype definition macros for Qualcomm Datacenter Technologies Falkor CPU in cputype.h. It's unfortunate that the first revision of the Falkor CPU used the wrong part number 0x800, got fixed in v2 chip with part number 0xC00, and would be used the same value for future revisions. Signed-off-by

Re: [PATCH v4 72/73] xfs: Convert mru cache to XArray

2017-12-11 Thread Matthew Wilcox
On Mon, Dec 11, 2017 at 02:12:28PM -0800, Joe Perches wrote: > Completely reasonable. Thanks. If we're doing "completely reasonable" complaints, then ... - I don't understand why plain 'unsigned' is deemed bad. - The rule about all function parameters in prototypes having a name doesn't ma

Re: WARNING in x86_emulate_insn

2017-12-11 Thread Paolo Bonzini
On 08/12/2017 09:28, Tianyu Lan wrote: > I find this is pop instruction emulation issue. According "SDM VOL2, > chapter INSTRUCTION > SET REFERENCE. POP—Pop a Value from the Stack" > > Protected Mode Exceptions > #GP(0) If attempt is made to load SS register with NULL segment selector. This is no

Re: [PATCH v4 5/5] ARM: ep93xx: ts72xx: Add support for BK3 board - ts72xx derivative

2017-12-11 Thread Lukasz Majewski
Hi Hartley, > On Monday, December 11, 2017 2:40 PM, Lukasz Majewski wrote: > > Hi Hartley, > > > >> On Thursday, November 30, 2017 4:52 PM, Lukasz Majewski wrote: > >>> > >>> The BK3 board is a derivative of the ts72xx reference design. > >> > >> Lukasz, > >> > >> I was just reviewing th

[RFT PATCH] ARM: dts: exynos: Enable Mixer node for Exynos5800 Peach Pi machine

2017-12-11 Thread Javier Martinez Canillas
Commit 1cb686c08d12 ("ARM: dts: exynos: Add status property to Exynos 542x Mixer nodes") disabled the Mixer node by default in the DTSI and enabled for each Exynos 542x DTS. But unfortunately it missed to enable it for the Exynos5800 Peach Pi machine, since the 5800 is also an 542x SoC variant. Si

[PATCH v2 0/6] MIPS: NT_PRFPREG regset handling fixes

2017-12-11 Thread Maciej W. Rozycki
Hi, This series corrects a number of issues with NT_PRFPREG regset, most importantly an FCSR access API regression introduced with the addition of MSA support, and then a few smaller issues with the get/set handlers. I have decided to factor out non-MSA and MSA context helpers as the first s

[PATCH v2 1/6] MIPS: Factor out NT_PRFPREG regset access helpers

2017-12-11 Thread Maciej W. Rozycki
In preparation to fix a commit 72b22bbad1e7 ("MIPS: Don't assume 64-bit FP registers for FP regset") FCSR access regression factor out NT_PRFPREG regset access helpers for the non-MSA and the MSA variants respectively, to avoid having to deal with excessive indentation in the actual fix. No fun

[PATCH v2 2/6] MIPS: Guard against any partial write attempt with PTRACE_SETREGSET

2017-12-11 Thread Maciej W. Rozycki
Complement commit d614fd58a283 ("mips/ptrace: Preserve previous registers for short regset write") and ensure that no partial register write attempt is made with PTRACE_SETREGSET, as we do not preinitialize any temporaries used to hold incoming register data and consequently random data could b

[PATCH v2 3/6] MIPS: Consistently handle buffer counter with PTRACE_SETREGSET

2017-12-11 Thread Maciej W. Rozycki
Update commit d614fd58a283 ("mips/ptrace: Preserve previous registers for short regset write") bug and consistently consume all data supplied to `fpr_set_msa' with the ptrace(2) PTRACE_SETREGSET request, such that a zero data buffer counter is returned where insufficient data has been given to

[PATCH v2 4/6] MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA

2017-12-11 Thread Maciej W. Rozycki
Fix a commit 72b22bbad1e7 ("MIPS: Don't assume 64-bit FP registers for FP regset") public API regression, then activated by commit 1db1af84d6df ("MIPS: Basic MSA context switching support"), that caused the FCSR register not to be read or written for CONFIG_CPU_HAS_MSA kernel configurations (re

[PATCH v2 5/6] MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET

2017-12-11 Thread Maciej W. Rozycki
Complement commit d614fd58a283 ("mips/ptrace: Preserve previous registers for short regset write") and like with the PTRACE_GETREGSET ptrace(2) request also apply a BUILD_BUG_ON check for the size of the `elf_fpreg_t' type in the PTRACE_SETREGSET request handler. Cc: sta...@vger.kernel.org # v4

Re: [PATCH 1/1] futex: futex_wake_op, fix sign_extend32 sign bits

2017-12-11 Thread Darren Hart
On Mon, Dec 11, 2017 at 08:37:11AM +0100, Jiri Slaby wrote: > On 12/10/2017, 09:50 PM, Linus Torvalds wrote: > > On Thu, Nov 30, 2017 at 6:35 AM, Jiri Slaby wrote: > >> sign_extend32 counts the sign bit parameter from 0, not from 1. So we > >> have to use "11" for 12th bit, not "12". > > > > This

Re: [PATCH] infiniband: cxgb4: use ktime_get for timestamps

2017-12-11 Thread Jason Gunthorpe
On Mon, Nov 27, 2017 at 12:44:53PM +0100, Arnd Bergmann wrote: > The debugfs file prints the difference between host timestamps as a > seconds/nanoseconds tuple, along with a 64-bit nanoseconds hardware > timestamp. The host time is read using getnstimeofday() which is > deprecated because of the y

sched: Update kerneldoc for sched_rr_get_interval()

2017-12-11 Thread Jonathan Corbet
Commit abca5fc535a3e ("sched_rr_get_interval(): move compat to native, get rid of set_fs()") changed the prototype of that function but left the kerneldoc comments unchanged, leading to these docs-build warnings: ./kernel/sched/core.c:5113: warning: No description found for parameter 't' ./ker

[PATCH v2 6/6] MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses

2017-12-11 Thread Maciej W. Rozycki
Complement commit c23b3d1a5311 ("MIPS: ptrace: Change GP regset to use correct core dump register layout") and also reject outsized PTRACE_SETREGSET requests to the NT_PRFPREG regset, like with the NT_PRSTATUS regset. Cc: sta...@vger.kernel.org # v3.17+ Fixes: c23b3d1a5311 ("MIPS: ptrace: Chang

Re: [PATCH net-next v5 1/2] net: add support for Cavium PTP coprocessor

2017-12-11 Thread Richard Cochran
Sorry I didn't finish reviewing before... On Mon, Dec 11, 2017 at 05:14:30PM +0300, Aleksey Makarov wrote: > +/** > + * cavium_ptp_adjfreq() - Adjust ptp frequency > + * @ptp: PTP clock info > + * @ppb: how much to adjust by, in parts-per-billion > + */ > +static int cavium_ptp_adjfreq(struct ptp

Re: [PATCH 1/1] scsi: fnic: add a space after %p in printf format

2017-12-11 Thread Nicolas Iooss
On Mon, Dec 11, 2017 at 11:22 PM, Bart Van Assche wrote: > > On Sun, 2017-12-10 at 20:23 +0100, Nicolas Iooss wrote: > > fnic_fcpio_icmnd_cmpl_handler() displays the value of sc with: > > > > FNIC_SCSI_DBG(KERN_INFO... > > "... sc = 0x%p" > > "scsi_status ..." > > ... >

RE: [PATCH] infiniband: cxgb4: use ktime_get for timestamps

2017-12-11 Thread Steve Wise
> Subject: Re: [PATCH] infiniband: cxgb4: use ktime_get for timestamps > > On Mon, Nov 27, 2017 at 12:44:53PM +0100, Arnd Bergmann wrote: > > The debugfs file prints the difference between host timestamps as a > > seconds/nanoseconds tuple, along with a 64-bit nanoseconds hardware > > timestamp. T

Re: general protection fault in string

2017-12-11 Thread Eric Biggers
[+Cc t...@linutronix.de ] On Sat, Dec 02, 2017 at 09:10:01PM -0800, syzbot wrote: > syzkaller has found reproducer for the following crash on > 2db767d9889cef087149a5eaa35c1497671fa40f > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 >

Re: [PATCH v2 1/5] dt-bindings: rtc: add bindings for i.MX53 SRTC

2017-12-11 Thread Fabio Estevam
Hi Patrick, On Mon, Dec 11, 2017 at 5:08 AM, Patrick Brünn wrote: >>rtc@... >> > The rtc for which this series adds support is embedded within a function > block called > "Secure Real Time Clock". This driver doesn't utilize all of the hardware > features by > now. But maybe someone else wants

Re: [patch 1/2] mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks

2017-12-11 Thread David Rientjes
On Mon, 11 Dec 2017, Paolo Bonzini wrote: > > Commit 4d4bbd8526a8 ("mm, oom_reaper: skip mm structs with mmu notifiers") > > prevented the oom reaper from unmapping private anonymous memory with the > > oom reaper when the oom victim mm had mmu notifiers registered. > > > > The rationale is that

Re: [PATCH v4 08/73] xarray: Add documentation

2017-12-11 Thread Randy Dunlap
On 12/05/2017 04:40 PM, Matthew Wilcox wrote: > From: Matthew Wilcox > > This is documentation on how to use the XArray, not details about its > internal implementation. > > Signed-off-by: Matthew Wilcox > --- > Documentation/core-api/index.rst | 1 + > Documentation/core-api/xarray.rst | 2

Re: general protection fault in string

2017-12-11 Thread Eric Biggers
On Mon, Dec 11, 2017 at 03:03:05PM -0800, Eric Biggers wrote: > > The bug is that sys_timer_create() allows setting ->it_sigev_notify to almost > any value, but show_timer() assumes that it has one of a specific set of > values. > Here's a simplified reproducer: > > #include > #incl

Re: sched: Update kerneldoc for sched_rr_get_interval()

2017-12-11 Thread Randy Dunlap
On 12/11/2017 02:56 PM, Jonathan Corbet wrote: > Commit abca5fc535a3e ("sched_rr_get_interval(): move compat to native, get > rid of set_fs()") changed the prototype of that function but left the > kerneldoc comments unchanged, leading to these docs-build warnings: > > ./kernel/sched/core.c:5113

Re: BUG: unable to handle kernel paging request in show_timer

2017-12-11 Thread Eric Biggers
On Sun, Dec 03, 2017 at 06:22:02AM -0800, syzbot wrote: > syzbot will keep track of this bug report. > Once a fix for this bug is committed, please reply to this email with: > #syz fix: exact-commit-title > To mark this as a duplicate of another syzbot report, please reply with: > #syz dup: exact-s

Re: KASAN: global-out-of-bounds Read in show_timer

2017-12-11 Thread Eric Biggers
On Fri, Dec 01, 2017 at 04:53:01AM -0800, syzbot wrote: > This bug is generated by a dumb bot. It may contain errors. > See https://goo.gl/tpsmEJ for details. > Direct all questions to syzkal...@googlegroups.com. > Please credit me with: Reported-by: syzbot > > syzbot will keep track of this bug

Re: [PATCH 1/2] watchdog: davinci_wdt: add restart function

2017-12-11 Thread Guenter Roeck
On Mon, Dec 11, 2017 at 11:21:08AM -0600, David Lechner wrote: > This adds a restart function to the davinci watchdog timer driver. > > This is copied from arch/arm/mach-davinci/time.c and will allow us to > remove the code from there. > > Signed-off-by: David Lechner Reviewed-by: Guenter Roeck

[PATCH v3] net: ethernet: arc: fix error handling in emac_rockchip_probe

2017-12-11 Thread Branislav Radocaj
If clk_set_rate() fails, we should disable clk before return. Found by Linux Driver Verification project (linuxtesting.org). Changes since v2 [1]: * Merged with latest code changes Changes since v1: Update made thanks to David's review, much appreciated David. * Improved inconsistent failure hand

Re: [PATCH v2 2/2] dm unstripe: Add documentation for unstripe target

2017-12-11 Thread Keith Busch
On Mon, Dec 11, 2017 at 09:00:19AM -0700, Scott Bauer wrote: > +Example scripts: > + > + > +dmsetup create nvmset1 --table '0 1 dm-unstripe /dev/nvme0n1 1 2 0' > +dmsetup create nvmset0 --table '0 1 dm-unstripe /dev/nvme0n1 0 2 0' > + > +There will now be two mappers: > +/dev/ma

Re: [PATCH] i2c: update i2c-dev.h warning in documentation

2017-12-11 Thread Jonathan Corbet
On Sat, 9 Dec 2017 23:10:58 +0300 Cengiz Can wrote: > `dev-interface` document gives examples for accessing i2c from > userspace. > > There's a note warning developers about the different `i2c-dev.h` header > files which were shipped with the kernel and i2c-tools separately. > > However, these

Re: [PATCH v2 1/2] dm-unstripe: unstripe of IO across RAID 0

2017-12-11 Thread Keith Busch
On Mon, Dec 11, 2017 at 09:00:18AM -0700, Scott Bauer wrote: > + > + dm_set_target_max_io_len(ti, target->max_hw_sectors); The return for this function has "__must_check", so it's currently throwing an a compiler warning. Otherwise, this looks like it's doing what you want, and tests successf

Re: sched: Update kerneldoc for sched_rr_get_interval()

2017-12-11 Thread Jonathan Corbet
On Mon, 11 Dec 2017 15:14:21 -0800 Randy Dunlap wrote: > On 12/11/2017 02:56 PM, Jonathan Corbet wrote: > > Commit abca5fc535a3e ("sched_rr_get_interval(): move compat to native, get > > rid of set_fs()") changed the prototype of that function but left the > > kerneldoc comments unchanged, leadin

Re: [PATCH net-next v5 2/2] net: thunderx: add timestamping support

2017-12-11 Thread Richard Cochran
On Mon, Dec 11, 2017 at 05:14:31PM +0300, Aleksey Makarov wrote: > diff --git a/drivers/net/ethernet/cavium/thunder/nic.h > b/drivers/net/ethernet/cavium/thunder/nic.h > index 4a02e618e318..204b234beb9d 100644 > --- a/drivers/net/ethernet/cavium/thunder/nic.h > +++ b/drivers/net/ethernet/cavium/th

Re: [PATCH 1/1] scsi: fnic: add a space after %p in printf format

2017-12-11 Thread Bart Van Assche
On Mon, 2017-12-11 at 23:54 +0100, Nicolas Iooss wrote: > On Mon, Dec 11, 2017 at 11:22 PM, Bart Van Assche > wrote: > > On Sun, 2017-12-10 at 20:23 +0100, Nicolas Iooss wrote: > > > - "hdr status = %s tag = 0x%x sc = 0x%p" > > > + "hdr status = %s tag =

Re: [PATCH v9 01/13] Documentation: Add SLIMbus summary

2017-12-11 Thread Jonathan Corbet
On Thu, 7 Dec 2017 23:22:51 + Srinivas Kandagatla wrote: > > It seems you have kerneldoc comments for your data structures and at least > > some of your exported symbols. If you really want to document this stuff > > well, I'd suggest finishing out those comments, then pulling them into the

Re: [PATCH] media: pxa_camera: disable and unprepare the clock source on error

2017-12-11 Thread Flavio Ceolin
Laurent Pinchart writes: > Hi Flavio, > > On Monday, 11 December 2017 23:05:46 EET Flavio Ceolin wrote: >> > On Wednesday, 6 December 2017 18:38:50 EET Flavio Ceolin wrote: >> >> pxa_camera_probe() was not calling pxa_camera_deactivate(), >> >> responsible to call clk_disable_unprepare(), on the

[PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-11 Thread Lukasz Majewski
ng code of ts72xx.c (detalied list of changes can be found in patch 4/4) This series applies on top of linux-next/master (next-20171211) Lukasz Majewski (4): ARM: ep93xx: ts72xx: Provide include guards for ts72xx.h file ARM: ep93xx: ts72xx: Rewrite ts72xx_register_flash() to accept parameters A

[PATCH v5 3/4] ARM: ep93xx: ts72xx: cosmetic: Add some description to ts72xx code

2017-12-11 Thread Lukasz Majewski
This patch extends readability of ts72xx.c code. Signed-off-by: Lukasz Majewski --- Changes for v2: - New patch Changes for v3: - None Changes to v4: - Adjust the code to be applicable to linux-next/master Changes for v5: - None --- arch/arm/mach-ep93xx/ts72xx.c | 9 + 1 file changed, 9

Re: [PATCH net-next v5 2/2] net: thunderx: add timestamping support

2017-12-11 Thread Richard Cochran
On Mon, Dec 11, 2017 at 05:14:31PM +0300, Aleksey Makarov wrote: > @@ -880,6 +889,46 @@ static void nic_pause_frame(struct nicpf *nic, int vf, > struct pfc *cfg) > } > } > > +/* Enable or disable HW timestamping by BGX for pkts received on a LMAC */ > +static void nic_config_timestamp(str

[PATCH v5 1/4] ARM: ep93xx: ts72xx: Provide include guards for ts72xx.h file

2017-12-11 Thread Lukasz Majewski
This commit adds include file guards to ts72xx.h Signed-off-by: Lukasz Majewski Acked-by: Alexander Sverdlin --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None --- arch/arm/mach-ep93xx/ts72xx.h | 4 1 file changed, 4 insertions(+) diff --git a/

[PATCH v5 4/4] ARM: ep93xx: ts72xx: Add support for BK3 board - ts72xx derivative

2017-12-11 Thread Lukasz Majewski
The BK3 board is a derivative of the ts72xx reference design. Signed-off-by: Lukasz Majewski --- Changes for v2: - Place bk3 support code to the ts72xx.c file Changes for v3: - Add SD card support (via SPI) for BK3 - Remove definition of apb:i2s bus - Remove board registration of CPLD WDT device

[PATCH v5 2/4] ARM: ep93xx: ts72xx: Rewrite ts72xx_register_flash() to accept parameters

2017-12-11 Thread Lukasz Majewski
This commit extend the ts72xx_register_flash() to accept passed parameters, which makes it more reusable. Now it is possible to accept ep93xx flash start address and partitions. Signed-off-by: Lukasz Majewski Acked-by: Alexander Sverdlin --- Changes for v2: - New patch Changes for v3: - None Ch

Re: i40w: Remove garbage at end of INFINIBAND_I40IW Kconfig section

2017-12-11 Thread Jason Gunthorpe
On Sun, Nov 19, 2017 at 07:59:21PM +0100, Geert Uytterhoeven wrote: > Remove leftover garbage (containing Kconfig dependencies for another > symbol?) > > Signed-off-by: Geert Uytterhoeven > Acked-by: Shiraz Saleem > drivers/infiniband/hw/i40iw/Kconfig | 1 - > 1 file changed, 1 deletion(-) > >

Re: [1/2] i40iw: remove unused 'timeval' struct member

2017-12-11 Thread Jason Gunthorpe
On Mon, Nov 27, 2017 at 12:38:09PM +0100, Arnd Bergmann wrote: > There is a stale entry in i40iw_cm_tcp_context that apparently > was copied from the 'nes' driver but never used in i40iw. > I'm trying to kill off all users of timeval as part of the > y2038-safety work, so let's just remove this one

Re: IB/core: Use PTR_ERR_OR_ZERO()

2017-12-11 Thread Jason Gunthorpe
On Tue, Nov 28, 2017 at 04:18:07PM +0100, Gomonovych, Vasyl wrote: > Fix ptr_ret.cocci warnings: > drivers/infiniband/core/uverbs_cmd.c:1156:1-3: WARNING: PTR_ERR_OR_ZERO can > be used > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle/api/ptr_ret.

[PATCH PTI v3 00/10] Clean up pgd handling and fix VSYSCALL and LDT

2017-12-11 Thread Andy Lutomirski
This should fix some existing 5-level bugs and get VSYSCALL and LDT working with PTI. Changes from v1: - vsyscalls actually work. - Added the "Warn and fail" patch to prevent the testing goof I had on v1. - Lots of cleanups Andy Lutomirski (10): x86/espfix/64: Fix espfix double-fault handli

Re: IB/mlx5: revisit -Wmaybe-uninitialized warning

2017-12-11 Thread Jason Gunthorpe
On Mon, Dec 11, 2017 at 12:45:44PM +0100, Arnd Bergmann wrote: > A warning that I thought I had fixed before occasionally comes > back in rare randconfig builds (I found 7 instances in the last > 10 builds, originally it was much more frequent): > > drivers/infiniband/hw/mlx5/mr.c: In function

RE: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-11 Thread Hartley Sweeten
ts72xx.c to be reusable by bk3 > - The Liebherr's BK3 board has been added with re-using code of > ts72xx.c (detalied list of changes can be found in patch 4/4) > > This series applies on top of linux-next/master (next-20171211) > > Lukasz Majewski (4): > ARM: ep93xx: ts72

[PATCH v10 00/13] Introduce framework for SLIMbus device driver

2017-12-11 Thread srinivas . kandagatla
From: Srinivas Kandagatla SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. SLIMbus uses Time-Division-Mu

[PATCH v10 03/13] slimbus: Add SLIMbus bus type

2017-12-11 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. SLIMbus uses Time-Division-Multiplex

[PATCH v10 04/13] slimbus: core: Add slim controllers support

2017-12-11 Thread srinivas . kandagatla
From: Sagar Dharia This patch adds support to slim controllers in the slim core, including some utility functions invoked by the controller and slim device drivers. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c| 306 ++ drivers/sl

[PATCH v10 13/13] MAINTAINERS: Add SLIMbus maintainer

2017-12-11 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add myself as maintainer for slimbus. Signed-off-by: Srinivas Kandagatla Acked-by: Bjorn Andersson --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52fd76..f26bf2707709 100644 --- a/MAINTAINERS +++ b/MA

[PATCH v10 12/13] slimbus: qcom: Add runtime-pm support using clock-pause

2017-12-11 Thread srinivas . kandagatla
From: Sagar Dharia Slimbus HW mandates that clock-pause sequence has to be executed before disabling relevant interface and core clocks. Runtime-PM's autosuspend feature is used here to enter/exit low power mode for Qualcomm's Slimbus controller. Autosuspend feature enables driver to avoid changi

Re: [PATCH v4 72/73] xfs: Convert mru cache to XArray

2017-12-11 Thread Joe Perches
On Mon, 2017-12-11 at 14:43 -0800, Matthew Wilcox wrote: > On Mon, Dec 11, 2017 at 02:12:28PM -0800, Joe Perches wrote: > > Completely reasonable. Thanks. > > If we're doing "completely reasonable" complaints, then ... > > - I don't understand why plain 'unsigned' is deemed bad. That was a Dav

[PATCH] igb: Free IRQs when device is hotplugged

2017-12-11 Thread Lyude Paul
Recently I got a Caldigit TS3 Thunderbolt 3 dock, and noticed that upon hotplugging my kernel would immediately crash due to igb: [ 680.825801] kernel BUG at drivers/pci/msi.c:352! [ 680.828388] invalid opcode: [#1] SMP [ 680.829194] Modules linked in: igb(O) thunderbolt i2c_algo_bit joyde

Re: [PATCH v4 72/73] xfs: Convert mru cache to XArray

2017-12-11 Thread Dave Chinner
On Mon, Dec 11, 2017 at 02:12:28PM -0800, Joe Perches wrote: > On Tue, 2017-12-12 at 08:43 +1100, Dave Chinner wrote: > > On Sat, Dec 09, 2017 at 09:00:18AM -0800, Joe Perches wrote: > > > On Sat, 2017-12-09 at 09:36 +1100, Dave Chinner wrote: > > > > 1. Using lockdep_set_novalidate_class()

[PATCH v10 09/13] slimbus: core: add common defines required for controllers

2017-12-11 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds some common constant defines which are required for qcom slim controller driver. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/slimbus.h | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/slimbus/sli

[PATCH v10 11/13] slimbus: qcom: Add Qualcomm Slimbus controller driver

2017-12-11 Thread srinivas . kandagatla
From: Sagar Dharia This controller driver programs manager, interface, and framer devices for Qualcomm's slimbus HW block. Manager component currently implements logical address setting, and messaging interface. Interface device reports bus synchronization information, and framer device clocks th

[PATCH v10 10/13] dt-bindings: Add qcom slimbus controller bindings

2017-12-11 Thread srinivas . kandagatla
From: Sagar Dharia This patch add device tree bindings for Qualcomm slimbus controller. Signed-off-by: Sagar Dharia Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../devicetree/bindings/slimbus/slim-qcom-ctrl.txt | 39 ++ 1 file changed, 39 insertions(+)

[PATCH v10 06/13] slimbus: Add messaging APIs to slimbus framework

2017-12-11 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus devices use value-element, and information elements to control device parameters (e.g. value element is used to represent gain for codec, information element is used to represent interrupt status for codec when codec interrupt fires). Messaging APIs are used to set/get

[PATCH v10 05/13] slimbus: core: add support to device tree helper

2017-12-11 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to parse slim devices from device tree. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/slimbus/core.c b/drivers/slimb

[PATCH v10 07/13] slimbus: Add support for 'clock-pause' feature

2017-12-11 Thread srinivas . kandagatla
From: Sagar Dharia Per SLIMbus specification, a reconfiguration sequence known as 'clock pause' needs to be broadcast over the bus while entering low- power mode. Clock-pause is initiated by the controller driver. To exit clock-pause, controller typically wakes up the framer device. Since wakeup

[PATCH v10 02/13] dt-bindings: Add SLIMbus bindings

2017-12-11 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. This patch adds device tree binding

[PATCH v10 01/13] Documentation: Add SLIMbus summary

2017-12-11 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. The summary of SLIMbus and API is d

[PATCH v10 08/13] regmap: add SLIMbus support

2017-12-11 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to read/write SLIMbus value elements. Currently it only supports byte read/write. Adding this support in regmap would give codec drivers more flexibility when there are more than 2 control interfaces like SLIMbus, i2c. Without this patch each cod

Re: [PATCH 4.4 20/49] usbip: tools: Install all headers needed for libusbip development

2017-12-11 Thread alexander . levin
On Sat, Dec 09, 2017 at 08:41:54AM +0100, Greg Kroah-Hartman wrote: >On Sat, Dec 09, 2017 at 06:16:04AM +, alexander.le...@verizon.com wrote: >> On Fri, Dec 08, 2017 at 03:56:40AM +, Ben Hutchings wrote: >> >On Thu, 2017-12-07 at 14:07 +0100, Greg Kroah-Hartman wrote: >> >> 4.4-stable revie

[PATCH v5] mmap.2: MAP_FIXED updated documentation

2017-12-11 Thread john . hubbard
From: John Hubbard -- Expand the documentation to discuss the hazards in enough detail to allow avoiding them. -- Mention the upcoming MAP_FIXED_SAFE flag. -- Enhance the alignment requirement slightly. CC: Michael Ellerman CC: Jann Horn CC: Matthew Wilcox CC: Michal Hock

[PATCH v5 0/4] NVIDIA Tegra video decoder driver

2017-12-11 Thread Dmitry Osipenko
VDE driver provides accelerated video decoding to NVIDIA Tegra SoC's, it is a result of reverse-engineering efforts. Driver has been tested on Toshiba AC100 and Acer A500, it should work on any Tegra20 device. In userspace this driver is utilized by libvdpau-tegra [0] that implements VDPAU interfa

[PATCH v5 3/4] ARM: dts: tegra20: Add device tree node to describe IRAM

2017-12-11 Thread Dmitry Osipenko
From: Vladimir Zapolskiy All Tegra20 SoCs contain 256KiB IRAM, which is used to store resume code and by a video decoder engine. Signed-off-by: Vladimir Zapolskiy Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch

[PATCH v5 2/4] staging: media: Introduce NVIDIA Tegra video decoder driver

2017-12-11 Thread Dmitry Osipenko
NVIDIA Tegra20/30/114/124/132 SoC's have video decoder engine that supports standard set of video formats like H.264 / MPEG-4 / WMV / VC1. Signed-off-by: Dmitry Osipenko --- MAINTAINERS |9 + drivers/staging/media/Kconfig |2 + drivers/stagin

[PATCH v5 4/4] ARM: dts: tegra20: Add video decoder node

2017-12-11 Thread Dmitry Osipenko
Add Video Decoder Engine device node. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 36909df653c3..864a95872b8d 100644 --- a/a

[PATCH v5 1/4] media: dt: bindings: Add binding for NVIDIA Tegra Video Decoder Engine

2017-12-11 Thread Dmitry Osipenko
Add binding documentation for the Video Decoder Engine which is found on NVIDIA Tegra20/30/114/124/132 SoC's. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring --- .../devicetree/bindings/media/nvidia,tegra-vde.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 10

Re: [PATCH 4.4 13/49] usb: dwc2: Fix UDC state tracking

2017-12-11 Thread alexander . levin
On Sat, Dec 09, 2017 at 06:12:56PM +0100, Greg Kroah-Hartman wrote: >On Fri, Dec 08, 2017 at 03:37:17AM +, Ben Hutchings wrote: >> On Thu, 2017-12-07 at 14:07 +0100, Greg Kroah-Hartman wrote: >> > 4.4-stable review patch.  If anyone has any objections, please let me >> > know. >> > >> > ---

Re: [PATCH V3 1/2] Drivers/PCI: Export pcie_has_flr() interface

2017-12-11 Thread Govinda Tatti
Thanks Bjorn for your review comments. Please see below for my comments. On 12/8/2017 2:24 PM, Bjorn Helgaas wrote: On Thu, Dec 07, 2017 at 05:21:44PM -0500, Govinda Tatti wrote: This patch exports pcie_has_flr() and it is being used by Xen pciback driver to reset (flr/slot/bus) PCI devices ba

Re: [PATCH] platform/x86: intel-vbtn: Simplify autorelease logic

2017-12-11 Thread Darren Hart
On Mon, Dec 11, 2017 at 02:48:23AM +0100, Stefan Brüns wrote: > On Saturday, December 9, 2017 12:07:08 AM CET Darren Hart (VMware) wrote: > > The new notify_handler logic determining if autorelease should be used or > > not is a bit awkward, and can result in more than one call to > > sparse_keymap

Re: [PATCH] igb: Free IRQs when device is hotplugged

2017-12-11 Thread Stephen Hemminger
On Mon, 11 Dec 2017 18:45:02 -0500 Lyude Paul wrote: > Recently I got a Caldigit TS3 Thunderbolt 3 dock, and noticed that upon > hotplugging my kernel would immediately crash due to igb: > > [ 680.825801] kernel BUG at drivers/pci/msi.c:352! > [ 680.828388] invalid opcode: [#1] SMP > [ 6

Re: [PATCH] igb: Free IRQs when device is hotplugged

2017-12-11 Thread Lyude Paul
On Mon, 2017-12-11 at 16:34 -0800, Stephen Hemminger wrote: > On Mon, 11 Dec 2017 18:45:02 -0500 > Lyude Paul wrote: > > > Recently I got a Caldigit TS3 Thunderbolt 3 dock, and noticed that upon > > hotplugging my kernel would immediately crash due to igb: > > > > [ 680.825801] kernel BUG at dr

Re: [PATCH] sched/fair: Consider RT/IRQ pressure in capacity_spare_wake

2017-12-11 Thread Joel Fernandes
Hi Vincent, >> >>> Here we have RT activity running on big CPU cluster induced with rt-app, and running hackbench in parallel. The RT tasks are bound to 4 CPUs on the big cluster (cpu 4,5,6,7) and have 100ms periodici

<    1   2   3   4   5   6   7   8   9   >