Applied "regulator: bd71837: Devicetree bindings for BD71837 regulators" to the regulator tree

2018-05-30 Thread Mark Brown
The patch regulator: bd71837: Devicetree bindings for BD71837 regulators has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

[PATCH 3.2 150/153] net/mlx4_en: Fix mixed PFC and Global pause user control requests

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Eran Ben Elisha commit 6e8814ceb7e8f468659ef9253bd212c07ae19584 upstream. Global pause and PFC configuration should be mutually exclusive (i.e. only one of them at most can be set). However,

[PATCH 3.2 152/153] RDMA/ucma: Check that device exists prior to accessing it

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit c8d3bcbfc5eab3f01cf373d039af725f3b488813 upstream. Ensure that device exists prior to accessing its properties. Reported-by: Fixes: 75216638572f ("RDMA/cma: Export

[PATCH 3.2 149/153] net/mlx4_en: do not ignore autoneg in mlx4_en_set_pauseparam()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Ivan Vecera commit 278d436a476f69fc95d5c82bf61b6c2d02f4d44e upstream. The driver does not support pause autonegotiation so it should return -EINVAL when the function is called with non-zero

[PATCH 3.2 146/153] ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Roese commit 9066ae7ff5d89c0b5daa271e2d573540097a94fa upstream. When trying to use the driver (e.g. aplay *.wav), the 4MiB DMA buffer will get mmapp'ed in 16KiB chunks. But this fails

[PATCH 3.2 148/153] ALSA: pcm: potential uninitialized return values

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 5607dddbfca774fb38bffadcb077fe03aa4ac5c6 upstream. Smatch complains that "tmp" can be uninitialized if we do a zero size write. Fixes: 02a5d6925cd3 ("ALSA: pcm: Avoid

[PATCH 3.2 151/153] RDMA/ucma: Check that device is connected prior to access it

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 4b658d1bbc16605330694bb3ef2570c465ef383d upstream. Add missing check that device is connected prior to access it. [ 55.358652] BUG: KASAN: null-ptr-deref in

[PATCH 3.2 007/153] ext4: fix block bitmap validation when bigalloc, ^flex_bg

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: "Darrick J. Wong" commit e674e5cbd0942b42a12106ac0be8330f4301bef4 upstream. On a bigalloc,^flex_bg filesystem, the ext4_valid_block_bitmap function fails to convert from blocks to clusters

[PATCH 3.2 072/153] firmware/dmi_scan: constify strings

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit ffbbb96dd7570b9aafd426cd77a7ee03d224cabf upstream. Add const to all DMI string pointers where this is possible. This fixes a checkpatch warning. Signed-off-by: Jean

[PATCH 3.2 070/153] net: igmp: add a missing rcu locking section

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit e7aadb27a5415e8125834b84a74477bfbee4eff5 upstream. Newly added igmpv3_get_srcaddr() needs to be called under rcu lock. Timer callbacks do not ensure this locking.

[PATCH 3.2 068/153] netfilter: on sockopt() acquire sock lock only in the required scope

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni commit 3f34cfae1238848fd53f25e5c8fd59da57901f4b upstream. Syzbot reported several deadlocks in the netfilter area caused by rtnl lock and socket lock being acquired with a

[PATCH 3.2 023/153] x86/entry/64: Don't use IST entry for #BP stack

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit d8ba61ba58c88d5207c1ba2f7d9a2280e7d03be9 upstream. There's nothing IST-worthy about #BP/int3. We don't allow kprobes in the small handful of places in the kernel that

[PATCH 3.2 024/153] cdrom: information leak in cdrom_ioctl_media_changed()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 9de4ee40547fd315d4a0ed1dd15a2fa3559ad707 upstream. This cast is wrong. "cdi->capacity" is an int and "arg" is an unsigned long. The way the check is written now, if one

[PATCH 3.2 028/153] slip: sl_alloc(): remove unused parameter "dev_t line"

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde commit 936e5d8bdfa72577e28ea671d9e2ee4fef0d6b3e upstream. The first and only parameter of sl_alloc() is unused, so remove it. Fixes: 5342b77c4123 slip: ("Clean up create

[PATCH 3.2 032/153] ath9k_htc: Add a sanity check in ath9k_htc_ampdu_action()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 413fd2f5c0233d3cde391679b967c1f14cd2cb27 upstream. Smatch generates a warning here: drivers/net/wireless/ath/ath9k/htc_drv_main.c:1688 ath9k_htc_ampdu_action()

Re: Applied "regulator: bd71837: BD71837 PMIC regulator driver" to the regulator tree

2018-05-30 Thread Mark Brown
On Wed, May 30, 2018 at 02:14:25PM +0300, Matti Vaittinen wrote: > Does this mean this single patch was applied? I am sorry if I did not > follow correct policy/way of informing the dependencies - but there is a > dependency. The patch 1/6 contains the header file > include/linux/mfd/bd71837.h

[PATCH 3.2 093/153] powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Corentin Labbe commit c1e150ceb61e4a585bad156da15c33bfe89f5858 upstream. When CONFIG_NUMA is not set, the build fails with: arch/powerpc/platforms/pseries/hotplug-cpu.c:335:4: error:

Re: [PATCHv2 00/16] atomics: API cleanups

2018-05-30 Thread Mark Rutland
On Tue, May 29, 2018 at 04:43:30PM +0100, Mark Rutland wrote: > This series contains a few cleanups of the atomic API, fixing > inconsistencies between atomic_* and atomic64_*, and minimizing > repetition in arch code. This is nicer for arch code, and the improved > regularity will help when

[PATCH 3.2 088/153] net: fix race on decreasing number of TX queues

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Jakub Kicinski commit ac5b70198adc25c73fba28de4f78adcee8f6be0b upstream. netif_set_real_num_tx_queues() can be called when netdev is up. That usually happens when user requests change of

[PATCH 3.2 085/153] libata: fix length validation of ATAPI-relayed SCSI commands

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 058f58e235cbe03e923b30ea7c49995a46a8725f upstream. syzkaller reported a crash in ata_bmdma_fill_sg() when writing to /dev/sg1. The immediate cause was that the ATA

[PATCH 3.2 089/153] netfilter: drop outermost socket lock in getsockopt()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni commit 01ea306f2ac2baff98d472da719193e738759d93 upstream. The Syzbot reported a possible deadlock in the netfilter area caused by rtnl lock, xt lock and socket lock being acquired

[PATCH 3.2 073/153] firmware: dmi_scan: Fix handling of empty DMI strings

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit a7770ae194569e96a93c48aceb304edded9cc648 upstream. The handling of empty DMI strings looks quite broken to me: * Strings from 1 to 7 spaces are not considered empty. *

[PATCH 3.2 037/153] scsi: libsas: fix error when getting phy events

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Yan commit 2b23d9509fd7174b362482cf5f3b5f9a2265bc33 upstream. The intend purpose here was to goto out if smp_execute_task() returned error. Obviously something got screwed up. We will

[PATCH 3.2 090/153] netfilter: ipt_CLUSTERIP: fix a refcount bug in clusterip_config_find_get()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit db93a3632b0f8773a3899e04a3a3e0aa7a26eb46 upstream. In clusterip_config_find_get() we hold RCU read lock so it could run concurrently with clusterip_config_entry_put(), as a

[PATCH 3.2 101/153] x86/mm: Fix {pmd,pud}_{set,clear}_flags()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 842cef9113c2120f74f645111ded1e020193d84c upstream. Just like pte_{set,clear}_flags() their PMD and PUD counterparts should not do any address translation. This was outright

[PATCH 3.2 041/153] crypto: af_alg - whitelist mask and type

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Stephan Mueller commit bb30b8848c85e18ca7e371d0a869e94b3e383bdf upstream. The user space interface allows specifying the type and mask field used to allocate the cipher. Only a subset of the

[PATCH 3.2 046/153] signal/openrisc: Fix do_unaligned_access to send the proper signal

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 500d58300571b6602341b041f97c082a461ef994 upstream. While reviewing the signal sending on openrisc the do_unaligned_access function stood out because it is obviously

[PATCH 3.2 105/153] drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Crocker commit 2c83029cda55a5e7665c7c6326909427d6a01350 upstream. In radeon_device_init, set the need_dma32 flag for Cedar chips (e.g. FirePro 2270). This fixes, or at least works

[PATCH 3.2 103/153] kernel/relay.c: limit kmalloc size to KMALLOC_MAX_SIZE

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 88913bd8ea2a75d7e460a4bed5f75e1c32660d7e upstream. chan->n_subbufs is set by the user and relay_create_buf() does a kmalloc() of chan->n_subbufs * sizeof(size_t *).

[PATCH 3.2 031/153] media: bt8xx: Fix err 'bt878_probe()'

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET commit 45392ff6881dbe56d41ef0b17c2e576065f8ffa1 upstream. This is odd to call 'pci_disable_device()' in an error path before a coresponding successful

[PATCH] mm: dmapool: Check the dma pool name

2018-05-30 Thread Baolin Wang
It will be crash if we pass one NULL name when creating one dma pool, so we should check the passing name when copy it to dma pool. Moreover this patch replaces kmalloc_node() with kzalloc_node() to make sure the name array of dma pool is initialized in case the passing name is NULL.

[PATCH 3.2 106/153] ALSA: usb-audio: Add a quirck for B PX headphones

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Erik Veijola commit 240a8af929c7c57dcde28682725b29cf8474e8e5 upstream. The capture interface doesn't work and the playback interface only supports 48 kHz sampling rate even though it

[PATCH 3.2 113/153] ahci: Add PCI-id for the Highpoint Rocketraid 644L card

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 28b2182dad43f6f8fcbd167539a26714fd12bd64 upstream. Like the Highpoint Rocketraid 642L and cards using a Marvel 88SE9235 controller in general, this RAID card also

[PATCH 3.2 109/153] l2tp: fix race in pppol2tp_release with session object destroy

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: James Chapman commit d02ba2a6110c530a32926af8ad44774d2893 upstream. pppol2tp_release uses call_rcu to put the final ref on its socket. But the session object doesn't hold a ref on the

[PATCH 3.2 116/153] l2tp: do not accept arbitrary sockets

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 17cfe79a65f98abe535261856c5aef14f306dff7 upstream. syzkaller found an issue caused by lack of sufficient checks in l2tp_tunnel_create() RAW sockets can not be considered

[PATCH 3.2 108/153] l2tp: don't use inet_shutdown on ppp session destroy

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: James Chapman commit 225eb26489d05c679a4c4197ffcb81c81e9dcaf4 upstream. Previously, if a ppp session was closed, we called inet_shutdown to mark the socket as unconnected such that userspace

Re: [PATCH v2 0/9] PM / Domains: Add support for multi PM domains per device

2018-05-30 Thread Ulf Hansson
On 30 May 2018 at 11:30, Rafael J. Wysocki wrote: > On Tue, May 29, 2018 at 12:04 PM, Ulf Hansson wrote: >> Changes in v2: >> - Addressed comments from Geert around DT doc. >> - Addressed comments from Jon around clarification of how to use this >> and changes to returned

[PATCH 3.2 121/153] usb: usbmon: Read text within supplied buffer size

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Pete Zaitcev commit a5f596830e27e15f7a0ecd6be55e433d776986d8 upstream. This change fixes buffer overflows and silent data corruption with the usbmon device driver text file read operations.

[PATCH 3.2 138/153] ALSA: aloop: Sync stale timer before release

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 67a01afaf3d34893cf7d2ea19b34555d6abb7cb0 upstream. The aloop driver tries to stop the pending timer via timer_del() in the trigger callback and in the close callback. The

[PATCH 3.2 134/153] ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Kirill Marinushkin commit a6618f4aedb2b60932d766bd82ae7ce866e842aa upstream. Currently, the offsets in the UAC2 processing unit descriptor are calculated incorrectly. It causes an issue when

[PATCH 3.2 143/153] tracing: probeevent: Fix to support minus offset from symbol

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu commit c5d343b6b7badd1f5fe0873eff2e8d63a193e732 upstream. In Documentation/trace/kprobetrace.txt, it says @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data

[PATCH 3.2 136/153] RDMA/ucma: Ensure that CM_ID exists prior to access it

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit e8980d67d6017c8eee8f9c35f782c4bd68e004c9 upstream. Prior to access UCMA commands, the context should be initialized and connected to CM_ID with ucma_create_id(). In

[PATCH 2/2] cpuidle: governors: Consolidate PM QoS handling

2018-05-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is some code duplication related to the PM QoS handling between the existing cpuidle governors, so move that code to a common helper function and call that from the governors. Signed-off-by: Rafael J. Wysocki --- drivers/cpuidle/governor.c | 17

[PATCH 1/2] cpuidle: governors: Drop redundant checks related to PM QoS

2018-05-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki PM_QOS_RESUME_LATENCY_NO_CONSTRAINT is defined as the 32-bit integer maximum, so it is not necessary to test the return value of dev_pm_qos_raw_read_value() against it directly in the menu and ladder cpuidle governors. Drop these redundant checks. Signed-off-by: Rafael

[PATCH 0/2] cpuidle: governors: Cleanups related to PM QoS

2018-05-30 Thread Rafael J. Wysocki
Hi All, These patches clean up a couple of things related to PM QoS in cpuidle governors. Please refer to the changelogs for details. Thanks, Rafael

[PATCH 3.2 139/153] ALSA: aloop: Fix access to not-yet-ready substream via cable

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 8e6b1a72a75bb5067ccb6b56d8ca4aa3a300a64e upstream. In loopback_open() and loopback_close(), we assign and release the substream object to the corresponding cable in a racy

[PATCH 3.2 012/153] fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Malone commit 250c6c49e3b68756b14983c076183568636e2bde upstream. Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper(). 'index' is defined as an int in

[PATCH 3.2 011/153] sctp: verify size of a new chunk in _sctp_make_chunk()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev commit 07f2c7ab6f8d0a7e7c5764c4e6cc9c52951b9d9c upstream. When SCTP makes INIT or INIT_ACK packet the total chunk length can exceed SCTP_MAX_CHUNK_LEN which leads to kernel

[PATCH 3.2 019/153] scsi: libsas: fix memory leak in sas_smp_get_phy_events()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Yan commit 4a491b1ab11ca0556d2fda1ff1301e862a2d44c4 upstream. We've got a memory leak with the following producer: while true; do cat /sys/class/sas_phy/phy-1:0:12/invalid_dword_count

[PATCH 3.2 015/153] ALSA: seq: correctly detect input buffer overflow

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Adam Goode commit 21fd3e956ee8a307a06bc6e095f5767a00eb2a7e upstream. snd_seq_event_dup returns -ENOMEM in some buffer-full conditions, but usually returns -EAGAIN. Make -EAGAIN trigger the

[PATCH 3.2 001/153] sctp: Fix mangled IPv4 addresses on a IPv6 listening socket

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 9302d7bb0c5cd46be5706859301f18c137b2439f upstream. sctp_v4_map_v6 was subtly writing and reading from members of a union in a way the clobbered data it needed to read

[PATCH 3.2 010/153] dccp: check sk for closed state in dccp_sendmsg()

2018-05-30 Thread Ben Hutchings
3.2.102-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev commit 67f93df79aeefc3add4e4b31a752600f834236e2 upstream. dccp_disconnect() sets 'dp->dccps_hc_tx_ccid' tx handler to NULL, therefore if DCCP socket is disconnected and

Re: [PATCH] mm: dmapool: Check the dma pool name

2018-05-30 Thread Matthew Wilcox
On Wed, May 30, 2018 at 07:28:43PM +0800, Baolin Wang wrote: > It will be crash if we pass one NULL name when creating one dma pool, > so we should check the passing name when copy it to dma pool. NAK. Crashing is the appropriate thing to do. Fix the caller to not pass NULL. If you permit NULL

OK

2018-05-30 Thread Ahmed Zama
Dear Sir, Please can both of us handle a lucrative deal.?? I will give you the full detail explanation as soon as I hear from you. Faithfully yours, Mr Ahmed Zama

Re: [PATCH] mm: dmapool: Check the dma pool name

2018-05-30 Thread Baolin Wang
On 30 May 2018 at 20:01, Matthew Wilcox wrote: > On Wed, May 30, 2018 at 07:28:43PM +0800, Baolin Wang wrote: >> It will be crash if we pass one NULL name when creating one dma pool, >> so we should check the passing name when copy it to dma pool. > > NAK. Crashing is the appropriate thing to

Re: [PATCH 07/15] arm: dts: exynos: Add missing cooling device properties for CPUs

2018-05-30 Thread Krzysztof Kozlowski
On Wed, May 30, 2018 at 6:38 AM, Viresh Kumar wrote: > On 29-05-18, 15:18, Krzysztof Kozlowski wrote: >> Thanks for the patch. >> >> In case of Exynos, the booting CPU always has these information in DT >> and the booting CPU cannot be changed (chosen by firmware/hardware >> configuration). > >

Re: [PATCH V2] soc: imx: gpcv2: correct PGC offset

2018-05-30 Thread Fabio Estevam
Hi Anson, On Tue, May 29, 2018 at 10:30 PM, Anson Huang wrote: > Correct MIPI/PCIe/USB_HSIC's PGC offset based on > design RTL, the values in the Reference Manual > (Rev. 1, 01/2018 and the older ones) are incorrect. > > The correct offset values should be as below: > > 0x800 ~ 0x83F: PGC for

Re: [PATCH 1/1] device core: Add flag to autoremove device link on supplier unbind

2018-05-30 Thread Vivek Gautam
Hi Rafael, On 5/30/2018 4:29 PM, Rafael J. Wysocki wrote: On 5/30/2018 11:57 AM, Vivek Gautam wrote: When using the device links without the consumers or suppliers maintaining pointers to these links, a flag can help in autoremoving the links on supplier driver unbind. We remove these links

Re: Applied "regulator: bd71837: BD71837 PMIC regulator driver" to the regulator tree

2018-05-30 Thread Matti Vaittinen
On Wed, May 30, 2018 at 12:17:14PM +0100, Mark Brown wrote: > On Wed, May 30, 2018 at 02:14:25PM +0300, Matti Vaittinen wrote: > > > The patch 1/6 contains the header file > > include/linux/mfd/bd71837.h with bunch of definitions this patch is > > requiring. > > Your driver won't actually get

[PATCH v2 1/2] ARM: debug: Add Iproc UART3 debug addresses

2018-05-30 Thread Clément Péron
From: Clément Peron Broadcom Iproc SoCs typically use the UART3 for debug/console, provide a known good location for that. Signed-off-by: Clément Peron --- arch/arm/Kconfig.debug | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug

Re: [PATCH 07/12] dt-bindings: tc358754: add DT bindings

2018-05-30 Thread Laurent Pinchart
Hi Andrzej, On Wednesday, 30 May 2018 16:07:29 EEST Andrzej Hajda wrote: > On 30.05.2018 14:35, Laurent Pinchart wrote: > > On Wednesday, 30 May 2018 12:59:12 EEST Andrzej Hajda wrote: > >> On 28.05.2018 12:18, Laurent Pinchart wrote: > >>> On Monday, 28 May 2018 12:47:11 EEST Maciej Purski

Re: [RFC 2/2] x86, tsc: Enable clock for ealry printk timestamp

2018-05-30 Thread Andy Shevchenko
On Wed, May 30, 2018 at 12:20 PM, Feng Tang wrote: > To show time info in kernel log earlier and help optimizing kernel > boot time, printk adds a debug hook "boot_printk_clock_fn()" for > capable platform which has accurate clock in early boot phase. > > This patch will add early param setup

[PATCH 04/11] dt-bindings: spi: Move and adjust the bindings for the fsl-qspi driver

2018-05-30 Thread Frieder Schrempf
Move the documentation of the old SPI NOR driver to the place of the new SPI memory interface based driver and adjust the content to reflect the new drivers settings. Signed-off-by: Frieder Schrempf --- .../devicetree/bindings/mtd/fsl-quadspi.txt | 65 --

[PATCH 05/11] ARM: dts: Reflect change of FSL QSPI driver and remove unused properties

2018-05-30 Thread Frieder Schrempf
The FSL QSPI driver was moved to the SPI framework and it now acts as a SPI controller. Therefore the subnodes need to set spi-[rx/tx]-bus-width = <4>, so quad mode is used just as before. Also the properties 'bus-num', 'fsl,spi-num-chipselects' and 'fsl,spi-flash-chipselects' were never read by

[PATCH 08/11] mtd: fsl-quadspi: Remove the driver as it was replaced by spi-fsl-qspi.c

2018-05-30 Thread Frieder Schrempf
There's a new driver using the SPI memory interface of the SPI framework at spi/spi-fsl-qspi.c, which can be used together with m25p80.c to replace the functionality of this SPI NOR driver. Signed-off-by: Frieder Schrempf --- drivers/mtd/spi-nor/Kconfig |9 -

[PATCH 02/11] mtd: m25p80: Call spi_mem_get_name() to let controller set a custom name

2018-05-30 Thread Frieder Schrempf
By calling spi_mem_get_name(), the driver of the (Q)SPI controller can set a custom name for the memory device if necessary. This is useful to keep mtdparts compatible when controller drivers are ported from the MTD to the SPI layer. Signed-off-by: Frieder Schrempf ---

[PATCH 03/11] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-05-30 Thread Frieder Schrempf
This driver is derived from the SPI NOR driver at mtd/spi-nor/fsl-quadspi.c. It uses the new SPI memory interface of the SPI framework to issue flash memory operations to up to four connected flash chips (2 buses with 2 CS each). The controller does not support generic SPI messages.

[PATCH 09/11] ARM: dts: ls1021a: Remove fsl,qspi-has-second-chip as it is not used

2018-05-30 Thread Frieder Schrempf
After switching to the new FSL QSPI driver the property 'fsl,qspi-has-second-chip' is not needed anymore. The driver now uses the 'reg' property to determine the bus and the chipselect. Signed-off-by: Frieder Schrempf --- arch/arm/boot/dts/ls1021a-moxa-uc-8410a.dts | 1 - 1 file changed, 1

[PATCH 07/11] ARM: defconfig: Use the new FSL QSPI driver under the SPI framework

2018-05-30 Thread Frieder Schrempf
The new driver at spi/spi-fsl-qspi.c replaces the old SPI NOR driver at mtd/fsl-quadspi.c. Switch to the new driver in the defconfigs. Signed-off-by: Frieder Schrempf --- arch/arm/configs/imx_v6_v7_defconfig | 2 +- arch/arm/configs/multi_v7_defconfig | 2 +- 2 files changed, 2 insertions(+),

[PATCH 06/11] arm64: dts: Reflect change of FSL QSPI driver and remove unused properties

2018-05-30 Thread Frieder Schrempf
The FSL QSPI driver was moved to the SPI framework and it now acts as a SPI controller. Therefore the subnodes need to set spi-[rx/tx]-bus-width = <4>, so quad mode is used just as before. Also the properties 'num-cs' and 'bus-num' were never read by the driver and can be removed. The property

Re: heads up: moving intel-pt-decoder/Build header checks to check_headers.sh

2018-05-30 Thread Arnaldo Carvalho de Melo
Em Wed, May 30, 2018 at 09:30:50AM +0300, Adrian Hunter escreveu: > On 29/05/18 16:48, Arnaldo Carvalho de Melo wrote: > > We've made tools/perf/check-headers.sh the mechanism to check > > for drift on kernel file copies we have in tools/, and it assumes that > > if we have tools/a/b/c/d, then

Re: [GIT PULL] two more s390 bug fixes for 4.17

2018-05-30 Thread Sebastian Ott
On Wed, 30 May 2018, Christoph Hellwig wrote: > > - req->completion_data = cqr; > > + *((struct dasd_ccw_req **) blk_mq_rq_to_pdu(req)) = cqr; > > + > > Please don't play such tricks. In general your driver structure > should have struct request embedded. If for some reason > struct

Re: [PATCH] ARM: debug: Add Iproc UART3 debug addresses

2018-05-30 Thread Baruch Siach
Hi Clément, On Wed, May 30, 2018 at 02:55:28PM +0200, Clément Péron wrote: > On Wed, 30 May 2018 at 14:47, Baruch Siach wrote: > > On Wed, May 30, 2018 at 02:29:22PM +0200, Clément Péron wrote: > > > From: Clément Peron > > > > > > Broadcom Iproc SoCs typically use the UART3 for > > >

[PATCH] nvme: trace: add disk name to tracepoints

2018-05-30 Thread Johannes Thumshirn
Add disk name to tracepoints so we can better destinguish between individual disks in the trace output. Signed-off-by: Johannes Thumshirn --- drivers/nvme/host/core.c | 4 ++-- drivers/nvme/host/trace.h | 32 2 files changed, 22 insertions(+), 14 deletions(-)

[PATCH v2 2/2] ARM: debug: fix BCM2836 order entry

2018-05-30 Thread Clément Péron
From: Clément Peron Entries are sorted by their address value, except the BCM2836/KONA which are not in the proper order. Signed-off-by: Clément Peron --- arch/arm/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug

Re: [PATCH RESEND] serdev: add controller runtime PM support

2018-05-30 Thread Rob Herring
On Wed, May 30, 2018 at 5:50 AM, Johan Hovold wrote: > Add support for controller runtime power management to serdev core. This > is needed to allow slave drivers to manage the runtime PM state of the > underlying serial controller when its driver, in turn, implements more > aggressive runtime

Re: [PATCHv2 00/16] atomics: API cleanups

2018-05-30 Thread Mark Rutland
On Wed, May 30, 2018 at 12:23:12PM +0100, Mark Rutland wrote: > -#ifdef atomic64_andnot > -/* atomic64_fetch_andnot_relaxed */ > +#ifndef atomic_andnot > +#define atomic_andnot(i, v) atomic_and(~(int)(i), (v)) > +#endif Ugh; s/atomic/atomic64 here. I've pushed out a corrected branch.

Re: [PATCH 10/19 v3] regulator: s2mps11: Pass descriptor instead of GPIO number

2018-05-30 Thread Bartlomiej Zolnierkiewicz
: wm8994: Pass descriptor instead of GPIO number"): [2.278330] wm8994 4-001a: Failed to get supply 'DBVDD1': -517 [2.282773] wm8994 4-001a: Failed to get supplies: -517 [2.291919] [ cut here ] [2.295210] WARNING: CPU: 3 PID: 1 at drivers

Re: [PATCH] lib/bch: Remove VLA usage

2018-05-30 Thread Ivan Djelic
On Tue, May 29, 2018 at 03:42:07PM -0700, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this removes > the on-stack working buffers in favor of pre-allocated working buffers > (which were already used in other places). Since these routines must > already be

Re: [PATCH v9 0/7] Enable cpuset controller in default hierarchy

2018-05-30 Thread Waiman Long
On 05/30/2018 09:05 AM, Juri Lelli wrote: > On 30/05/18 08:56, Waiman Long wrote: >> On 05/30/2018 06:13 AM, Juri Lelli wrote: >>> Hi, >>> >>> On 29/05/18 09:41, Waiman Long wrote: v9: - Rename cpuset.sched.domain to cpuset.sched.domain_root to better identify its purpose as the

Re: [PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-05-30 Thread Dan Streetman
On Wed, May 30, 2018 at 6:39 AM, Li Wang wrote: > The '/sys/../zswap/stored_pages:' keep raising in zswap test with > "zswap.max_pool_percent=0" parameter. But theoretically, it should > not compress or store pages any more since there is no space in > compressed pool. > > Reproduce steps: > 1.

Re: [PATCH] ARM: debug: Add Iproc UART3 debug addresses

2018-05-30 Thread Clément Péron
Hi Baruch, On Wed, 30 May 2018 at 14:47, Baruch Siach wrote: > Hi Clément, > On Wed, May 30, 2018 at 02:29:22PM +0200, Clément Péron wrote: > > From: Clément Peron > > > > Broadcom Iproc SoCs typically use the UART3 for > > debug/console, provide a known good location for that. > > > >

Re: [PATCH v4 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-30 Thread Matti Vaittinen
On Wed, May 30, 2018 at 12:00:00PM +0100, Mark Brown wrote: > On Wed, May 30, 2018 at 12:05:12PM +0300, Matti Vaittinen wrote: > > > Other 4 can be used on PWM or PFM switching mode. When PWM is used > > voltages can be changed without disabling regulator. On PFM this should > > not be done.

Re: [RFC] rcu: Check the range of jiffies_till_xxx_fqs on setting them

2018-05-30 Thread Byungchul Park
On 2018-05-29 21:01, Paul E. McKenney wrote: On Tue, May 29, 2018 at 04:23:36PM +0900, Byungchul Park wrote: Hello Paul and folks, I've thought the code should've been like the below since the range checking of jiffies_till_first_fqs and jiffies_till_next_fqs everytime in the loop of

[PATCH 10/11] ARM64: dts: ls1046a: Remove fsl,qspi-has-second-chip as it is not used

2018-05-30 Thread Frieder Schrempf
After switching to the new FSL QSPI driver the property 'fsl,qspi-has-second-chip' is not needed anymore. The driver now uses the 'reg' property to determine the bus and the chipselect. Signed-off-by: Frieder Schrempf --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 - 1 file changed, 1

[PATCH 11/11] MAINTAINERS: Move the Freescale QSPI driver to the SPI framework

2018-05-30 Thread Frieder Schrempf
The driver was ported to the SPI framework so it can be used as a generic SPI memory driver and not only for SPI NOR. Reflect this transition in the MAINTAINERS file. Signed-off-by: Frieder Schrempf --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 01/11] spi: spi-mem: Extend the SPI mem interface to set a custom memory name

2018-05-30 Thread Frieder Schrempf
When porting (Q)SPI controller drivers from the MTD layer to the SPI layer, the naming scheme for the memory devices changes. To be able to keep compatibility with the old drivers naming scheme, a function is added to the SPI mem interface to let controller drivers set a custom name for the

Re: [PATCH v2] Bluetooth: btusb: Add additional device ID for RTL8822BE

2018-05-30 Thread Marcel Holtmann
Hi Artiom, > The Asus ROG GL702ZC laptop contains a Realtek RTL8822BE device with > an associated BT chip using a USB ID of 13d3:3526. This ID is added > to the driver. > > The /sys/kernel/debug/usb/devices portion for this device is: > > T: Bus=01 Lev=01 Prnt=01 Port=09 Cnt=04 Dev#= 5 Spd=12

Re: [RFC] rcu: Check the range of jiffies_till_xxx_fqs on setting them

2018-05-30 Thread Paul E. McKenney
On Wed, May 30, 2018 at 10:06:52PM +0900, Byungchul Park wrote: > > > On 2018-05-29 21:01, Paul E. McKenney wrote: > >On Tue, May 29, 2018 at 04:23:36PM +0900, Byungchul Park wrote: > >>Hello Paul and folks, > >> > >>I've thought the code should've been like the below since the range >

RE: [PATCH 03/11] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-05-30 Thread Yogesh Narayan Gaur
Hi Frieder, Thanks for migrating the fsl-quadspi.c driver on the new SPI framework. This patch is using dynamic LUT approach to create the LUT at run time instead of fixed static LUT as being used in current driver present at mtd/spi-nor/fsl-quadspi.c. I have pushed the changes for dynamic LUT

Re: Regression in Linux next again

2018-05-30 Thread Maciej Purski
On 05/30/2018 11:13 AM, Mark Brown wrote: On Tue, May 29, 2018 at 03:15:01PM -0700, Tony Lindgren wrote: I think I bisected this same issue for the second time now but for a different merge window. What's up with that? Last time we just reverted it as Maciej was unable to reproduce your

[PATCH v2 0/6] Add MCAN Support for dra76x

2018-05-30 Thread Faiz Abbas
The following patches add dts, hwmod and sysconfig support for MCAN on TI's dra76 SOCs The patches depend on the following series: https://patchwork.kernel.org/patch/10221105/ Changes in v2: 1. Added Support for mcan in the ti-sysc driver Also added the target-module node for the same 2.

[PATCH v2 2/6] ARM: dts: dra762: Add MCAN clock support

2018-05-30 Thread Faiz Abbas
From: Lokesh Vutla MCAN is clocked by H14 divider of DPLL_GMAC. Unlike other DPLL dividers this DPLL_GMAC H14 divider is controlled by control module. Adding support for these clocks. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 33

[PATCH v2 3/6] clk: ti: dra7: Add clkctrl clock data for the mcan clocks

2018-05-30 Thread Faiz Abbas
Add clkctrl data for the m_can clocks and register it within the clkctrl driver CC: Tero Kristo Signed-off-by: Faiz Abbas --- drivers/clk/ti/clk-7xx.c | 1 + include/dt-bindings/clock/dra7.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/clk/ti/clk-7xx.c

Re: [PATCH 10/19 v3] regulator: s2mps11: Pass descriptor instead of GPIO number

2018-05-30 Thread Mark Brown
On Wed, May 30, 2018 at 03:44:08PM +0200, Bartlomiej Zolnierkiewicz wrote: > The similar issue with shared GPIOs seems to be present in commit > c89c00e2b8f0 ("regulator: max77686: Pass descriptor instead of GPIO > number") and Midas board (arch/arm/boot/dts/exynos4412-midas.dtsi). > I don't have

Re: [PATCH 2/2] FUSE: fix congested state leak on aborted connections

2018-05-30 Thread Miklos Szeredi
On Tue, Feb 6, 2018 at 5:25 PM, Jan Kara wrote: > On Fri 02-02-18 09:54:14, Tejun Heo wrote: >> If a connection gets aborted while congested, FUSE can leave >> nr_wb_congested[] stuck until reboot causing wait_iff_congested() to >> wait spuriously which can lead to severe performance degradation.

[PATCH V3 1/5 selinux-next] selinux: Make allocation atomic in policydb objects functions.

2018-05-30 Thread Peter Enderborg
From: peter As preparation for RCU the allocation need to be atomic, there is a lot of them so they do in this patch. Signed-off-by: Peter Enderborg --- security/selinux/ss/avtab.c | 8 +-- security/selinux/ss/conditional.c | 14 ++--- security/selinux/ss/ebitmap.c | 3 +-

[PATCH V3 3/5 selinux-next] selinux: sidtab_clone switch to use rwlock.

2018-05-30 Thread Peter Enderborg
We need a copy of sidtabs, so change the generic sidtab_clone as from a function pointer and let it use a read rwlock while do the clone. Signed-off-by: Peter Enderborg --- security/selinux/ss/services.c | 20 +--- security/selinux/ss/sidtab.c | 39

Re: [PATCH 03/11] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-05-30 Thread Boris Brezillon
Hi Yogesh, On Wed, 30 May 2018 13:50:51 + Yogesh Narayan Gaur wrote: > Hi Frieder, > > Thanks for migrating the fsl-quadspi.c driver on the new SPI > framework. This patch is using dynamic LUT approach to create the LUT > at run time instead of fixed static LUT as being used in current >

Re: LKMM litmus test for Roman Penyaev's rcu-rr

2018-05-30 Thread Alan Stern
On Tue, 29 May 2018, Linus Torvalds wrote: > On Tue, May 29, 2018 at 3:49 PM Alan Stern > wrote: > > > Putting this into herd would be extremely difficult, if not impossible, > > because it involves analyzing code that was not executed. > > Does it? > > Can't we simplify the whole sequence as

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