pull-request: wireless-drivers-next 2019-07-06

2019-07-06 Thread Kalle Valo
Hi Dave, here's a pull request to net-next tree for v5.3, more info below. I will be offline from Sunday to Thursday, but Johannes should be able to help during that time. Kalle The following changes since commit 8b89d8dad5df177032e7e97ecfb18f01134e0e4b: Merge branch 'macb-build-fixes' (2019-

[GIT PULL] i3c: Changes for 5.3

2019-07-06 Thread Boris Brezillon
Hello Linus, Here is the I3C PR for 5.3. Regards, Boris The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux.git tags/i3c/for-

Re: [PATCH] ACPI: PM: Fix "multiple definition of acpi_sleep_state_supported" for ARM64

2019-07-06 Thread Rafael J. Wysocki
On Fri, Jul 5, 2019 at 10:18 PM Dexuan Cui wrote: > > > If CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT is not set, the dummy version of > the function should be static. > > Fixes: 1e2c3f0f1e93 ("ACPI: PM: Make acpi_sleep_state_supported() non-static") > Signed-off-by: Dexuan Cui > Reported-by: kbuild

[tip:timers/core] timer: Document TIMER_PINNED

2019-07-06 Thread tip-bot for Peter Xu
Commit-ID: 876d00da42ecd4e985e58faa6239f7ee7e01a8b1 Gitweb: https://git.kernel.org/tip/876d00da42ecd4e985e58faa6239f7ee7e01a8b1 Author: Peter Xu AuthorDate: Fri, 28 Jun 2019 18:59:42 +0800 Committer: Thomas Gleixner CommitDate: Sat, 6 Jul 2019 09:57:36 +0200 timer: Document TIMER_PINNE

[PATCH] staging: speakup: One function call less in speakup_win_enable()

2019-07-06 Thread Markus Elfring
From: Markus Elfring Date: Sat, 6 Jul 2019 10:03:56 +0200 Avoid an extra function call by using a ternary operator instead of a conditional statement. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/staging/speakup/main.c | 7 +++ 1 file

Re: The tick is active on idle adaptive-tick CPUs when /dev/cpu_dma_latency is used

2019-07-06 Thread Rafael J. Wysocki
On Fri, Jul 5, 2019 at 7:22 PM Thomas Lindroth wrote: > > On recent kernels the tick remains active on idle adaptive-tick CPUs when a > small value is written to /dev/cpu_dma_latency to restrict the highest > C-state. Before the idle loop redesign in 4.17 idle CPUs had the tick > disabled even

Re: [PATCH] powerpc/hw_breakpoint: move instruction stepping out of hw_breakpoint_handler()

2019-07-06 Thread Christophe Leroy
Le 03/07/2019 à 08:20, Ravi Bangoria a écrit : On 6/28/19 9:25 PM, Christophe Leroy wrote: On 8xx, breakpoints stop after executing the instruction, so stepping/emulation is not needed. Move it into a sub-function and remove the #ifdefs. Signed-off-by: Christophe Leroy --- Reviewed-by:

[PATCH] kvm: x86: Fix -Wmissing-prototypes warnings

2019-07-06 Thread Yi Wang
We get a warning when build kernel W=1: arch/x86/kvm/../../../virt/kvm/eventfd.c:48:1: warning: no previous prototype for ‘kvm_arch_irqfd_allowed’ [-Wmissing-prototypes] kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *args) ^ The reason is kvm_arch_irqfd_allowed is declared in arch/x

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Greg Kroah-Hartman
On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > Hi Greg, > > On Thu, Jul 4, 2019 at 5:15 AM Greg Kroah-Hartman > wrote: > > > > Platform drivers like to add sysfs groups to their device, but right now > > they have to do it "by hand". The driver core should handle this for > >

Re: suspend broken in next-20190704 on Thinkpad X60

2019-07-06 Thread Rafael J. Wysocki
On Fri, Jul 5, 2019 at 8:50 PM Pavel Machek wrote: > > On Fri 2019-07-05 00:59:35, Rafael J. Wysocki wrote: > > On Thu, Jul 4, 2019 at 9:20 PM Pavel Machek wrote: > > > > > > Hi! > > > > > > Suspend is broken in next-20190704 on Thinkpad X60. > > > > Broken in what way? Any details? > > > > > It

Re: linux-next: Tree for Jul 4

2019-07-06 Thread Greg Kroah-Hartman
On Thu, Jul 04, 2019 at 10:24:50PM +1000, Stephen Rothwell wrote: > Hi all, > > This release produces a whole lot (over 200) of this message in my qemu > boot tests: > > [1.698497] debugfs: File 'sched' already present! > > Introduced by commit > > 43e23b6c0b01 ("debugfs: log errors when

[tip:irq/core] genirq: Update irq stats from NMI handlers

2019-07-06 Thread tip-bot for Shijith Thotton
Commit-ID: c09cb1293523dd786ae54a12fd88001542cba2f6 Gitweb: https://git.kernel.org/tip/c09cb1293523dd786ae54a12fd88001542cba2f6 Author: Shijith Thotton AuthorDate: Fri, 5 Jul 2019 07:56:20 + Committer: Thomas Gleixner CommitDate: Sat, 6 Jul 2019 10:40:19 +0200 genirq: Update irq st

[tip:irq/core] irq/irqdomain: Fix comment typo

2019-07-06 Thread tip-bot for Zenghui Yu
Commit-ID: 3a1d24ca9573fbc74a3d32c972c333b161e0e9dc Gitweb: https://git.kernel.org/tip/3a1d24ca9573fbc74a3d32c972c333b161e0e9dc Author: Zenghui Yu AuthorDate: Sat, 6 Jul 2019 04:41:12 + Committer: Thomas Gleixner CommitDate: Sat, 6 Jul 2019 10:40:20 +0200 irq/irqdomain: Fix comment

[PATCH] staging: octeon: One function call less in cvm_oct_common_set_multicast_list()

2019-07-06 Thread Markus Elfring
From: Markus Elfring Date: Sat, 6 Jul 2019 10:48:23 +0200 Avoid an extra function call by using a ternary operator instead of a conditional statement. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/staging/octeon/ethernet.c | 9 ++--- 1

[PATCH] staging: octeon: One function call less in cvm_oct_common_set_multicast_list()

2019-07-06 Thread Markus Elfring
From: Markus Elfring Date: Sat, 6 Jul 2019 10:48:23 +0200 Avoid an extra function call by using a ternary operator instead of a conditional statement. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/staging/octeon/ethernet.c | 9 ++--- 1

Re: [PATCH] staging: speakup: One function call less in speakup_win_enable()

2019-07-06 Thread Samuel Thibault
Markus Elfring, le sam. 06 juil. 2019 10:15:30 +0200, a ecrit: > From: Markus Elfring > Date: Sat, 6 Jul 2019 10:03:56 +0200 > > Avoid an extra function call by using a ternary operator instead of > a conditional statement. > > This issue was detected by using the Coccinelle software. > > Signe

[PATCH RESEND] media: hdpvr: Add device num check and handling

2019-07-06 Thread Luke Nowakowski-Krijger
Add hdpvr device num check and error handling We need to increment the device count atomically before we checkout a device to make sure that we do not reach the max count, otherwise we get out-of-bounds errors as reported by syzbot. Reported-and-tested-by: syzbot+aac8d0d7205f11204...@syzkaller.a

Re: [PATCH] staging: speakup: One function call less in speakup_win_enable()

2019-07-06 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 11:00:19AM +0200, Samuel Thibault wrote: > Markus Elfring, le sam. 06 juil. 2019 10:15:30 +0200, a ecrit: > > From: Markus Elfring > > Date: Sat, 6 Jul 2019 10:03:56 +0200 > > > > Avoid an extra function call by using a ternary operator instead of > > a conditional stateme

Re: linux-next: Tree for Jul 4

2019-07-06 Thread Stephen Rothwell
Hi Greg, On Sat, 6 Jul 2019 10:34:33 +0200 Greg Kroah-Hartman wrote: > > On Thu, Jul 04, 2019 at 10:24:50PM +1000, Stephen Rothwell wrote: > > > > This release produces a whole lot (over 200) of this message in my qemu > > boot tests: > > > > [1.698497] debugfs: File 'sched' already presen

Re: linux-next: Tree for Jul 4

2019-07-06 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 07:44:12PM +1000, Stephen Rothwell wrote: > Hi Greg, > > On Sat, 6 Jul 2019 10:34:33 +0200 Greg Kroah-Hartman > wrote: > > > > On Thu, Jul 04, 2019 at 10:24:50PM +1000, Stephen Rothwell wrote: > > > > > > This release produces a whole lot (over 200) of this message in my

Re: kernel BUG at net/rxrpc/local_object.c:LINE!

2019-07-06 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: kernel BUG at net/rxrpc/local_object.c:LINE! rxrpc: Assertion failed [ cut here ] kernel BUG at net/rxrpc/local_object.c:468! invalid opcode: [#1] PREEMPT SMP KASAN CPU: 1 PID: 1

Re: [PATCH 4/7] staging: most: Use spinlock_t instead of struct spinlock

2019-07-06 Thread Greg Kroah-Hartman
On Thu, Jul 04, 2019 at 05:38:00PM +0200, Sebastian Andrzej Siewior wrote: > For spinlocks the type spinlock_t should be used instead of "struct > spinlock". Why? > Use spinlock_t for spinlock's definition. Why? I agree it makes the code smaller, but why is this required? thanks, greg k-h

[PATCH 0/2] regulator: axp20x: Fix bugs for AXP803/6

2019-07-06 Thread Jernej Skrabec
Driver refactoring caused few bugs and most of them are already fixed. However, some are still present, namely in AXP806 and AXP803 regulator definitions. This short patch series fix them. Please take a look. Best regards, Jernej Jernej Skrabec (2): regulator: axp20x: fix DCDCA and DCDCD for

[PATCH 1/2] regulator: axp20x: fix DCDCA and DCDCD for AXP806

2019-07-06 Thread Jernej Skrabec
Refactoring of the driver introduced few bugs in AXP806's DCDCA and DCDCD regulator definitions. Fix them. Fixes: db4a555f7c4cf ("regulator: axp20x: use defines for masks") Signed-off-by: Jernej Skrabec --- drivers/regulator/axp20x-regulator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 dele

[PATCH 2/2] regulator: axp20x: fix DCDC6 for AXP803

2019-07-06 Thread Jernej Skrabec
Refactoring of axp20x driver introduced a bug in AXP803's DCDC6 regulator definition. Fix it. Fixes: db4a555f7c4cf ("regulator: axp20x: use defines for masks") Signed-off-by: Jernej Skrabec --- drivers/regulator/axp20x-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

Re: [PATCH v2] nvme: fix multipath crash when ANA desactivated

2019-07-06 Thread Max Gurtovoy
On 7/5/2019 5:05 PM, Marta Rybczynska wrote: Fix a crash with multipath activated. It happends when ANA log page is larger than MDTS and because of that ANA is disabled. The driver then tries to access unallocated buffer when connecting to a nvme target. The signature is as follows: [ 300.433

Re: linux-next: Tree for Jul 4

2019-07-06 Thread Stephen Rothwell
Hi Greg, On Sat, 6 Jul 2019 11:46:47 +0200 Greg Kroah-Hartman wrote: > > On Sat, Jul 06, 2019 at 07:44:12PM +1000, Stephen Rothwell wrote: > > > > On Sat, 6 Jul 2019 10:34:33 +0200 Greg Kroah-Hartman > > wrote: > > > > > > On Thu, Jul 04, 2019 at 10:24:50PM +1000, Stephen Rothwell wrote:

Re: [PATCH] Bluetooth: hci_ldisc: check for missing tty operations

2019-07-06 Thread Marcel Holtmann
Hi Vladis, > Certain ttys lack operations (eg: pty_unix98_ops) which still can be > called by certain hci uart proto (eg: mrvl, ath). Currently this leads > to execution at address 0x0. Fix this by adding checks for missing tty > operations. so I really prefer that we just fail setting the line d

Re: [PATCH v3 2/2] Bluetooth: hci_ldisc: Add NULL check for tiocmget() and tiocmset() in hci_uart_set_flow_control()

2019-07-06 Thread Marcel Holtmann
Hi Myungho, > tiocmget() or tiocmset() operations are optional. Just return from > hci_uart_set_flow_control() if tiocmget() or tiocmset() operation is > NULL. > > Fixes: 2a973dfada2b ("hci_uart: Add new line discipline enhancements") > Cc: # 4.2 > Signed-off-by: Myungho Jung > --- > Changes in

Re: [PATCH][next] 6lowpan: fix off-by-one comparison of index id with LOWPAN_IPHC_CTX_TABLE_SIZE

2019-07-06 Thread Marcel Holtmann
Hi Colin, > The WARN_ON_ONCE check on id is off-by-one, it should be greater or equal > to LOWPAN_IPHC_CTX_TABLE_SIZE and not greater than. Fix this. > > Signed-off-by: Colin Ian King > --- > net/6lowpan/debugfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/6lowp

Re: [PATCH v9] Bluetooth: btqca: inject command complete event during fw download

2019-07-06 Thread Marcel Holtmann
Hi Matthias, > Latest qualcomm chips are not sending an command complete event for > every firmware packet sent to chip. They only respond with a vendor > specific event for the last firmware packet. This optimization will > decrease the BT ON time. Due to this we are seeing a timeout error > mess

Re: [PATCH v4] Bluetooth: hci_qca: wcn3990: Drop baudrate change vendor event

2019-07-06 Thread Marcel Holtmann
Hi Matthias, > Firmware download to the WCN3990 often fails with a 'TLV response size > mismatch' error: > > [ 133.064659] Bluetooth: hci0: setting up wcn3990 > [ 133.489150] Bluetooth: hci0: QCA controller version 0x02140201 > [ 133.495245] Bluetooth: hci0: QCA Downloading qca/crbtfw21.tlv >

Re: [PATCH] bluetooth: Cleanup formatting and coding style

2019-07-06 Thread Marcel Holtmann
Hi Fabian, > Fix some warnings and one error reported by checkpatch.pl: > - lines longer than 80 characters are wrapped > - empty lines inserted to separate variable declarations from the actual > code > - line break inserted after if (...) > > Co-developed-by: Thomas Röthenbacher > Signed-off-

Re: [PATCH] Bluetooth: serdev: hci_ll: set operational frequency earlier

2019-07-06 Thread Marcel Holtmann
Hi Philipp, > Uploading the firmware needs quite a few seconds if done at 115200 kbps. So > set > the operational frequency, usually 3 MHz, before uploading the firmware. > > I have successfully tested this with a wl1837mod. > > Signed-off-by: Philipp Puschmann > --- > drivers/bluetooth/hci_ll

Re: [PATCH] bluetooth: hci_ll: Refactor download_firmware

2019-07-06 Thread Marcel Holtmann
Hi Fabian, > Extract the new function send_command_from_firmware from > download_firmware, which helps with the readability of the switch > statement. This way the code is less deeply nested and also no longer > exceeds the 80 character limit. > > Co-developed-by: Thomas Röthenbacher > Signed-of

Re: [PATCH v6 1/2] Bluetooth: hci_qca: Load customized NVM based on the device property

2019-07-06 Thread Marcel Holtmann
Hi Rocky, > QCA BTSOC NVM is a customized firmware file and different vendors may > want to have different BTSOC configuration (e.g. Configure SCO over PCM > or I2S, Setting Tx power, etc.) via this file. This patch will allow > vendors to download different NVM firmware file by reading a device >

Re: [PATCH v3] Bluetooth: btrtl: HCI reset on close for Realtek BT chip

2019-07-06 Thread Marcel Holtmann
Hi Jian-Hong, > Realtek RTL8822BE BT chip on ASUS X420FA cannot be turned on correctly > after on-off several times. Bluetooth daemon sets BT mode failed when > this issue happens. Scanning must be active while turning off for this > bug to be hit. > > bluetoothd[1576]: Failed to set mode: Failed

[PATCH v5 02/12] S.A.R.A.: create framework

2019-07-06 Thread Salvatore Mesoraca
Initial S.A.R.A. framework setup. Creation of a simplified interface to securityfs API to store and retrieve configurations and flags from user-space. Creation of some generic functions and macros to handle concurrent access to configurations, memory allocation and path resolution. Signed-off-by:

[PATCH v5 00/12] S.A.R.A. a new stacked LSM

2019-07-06 Thread Salvatore Mesoraca
S.A.R.A. (S.A.R.A. is Another Recursive Acronym) is a stacked Linux Security Module that aims to collect heterogeneous security measures, providing a common interface to manage them. It can be useful to allow minor security features to use advanced management options, like user-space configuration

[PATCH v5 01/12] S.A.R.A.: add documentation

2019-07-06 Thread Salvatore Mesoraca
Adding documentation for S.A.R.A. LSM. Signed-off-by: Salvatore Mesoraca --- Documentation/admin-guide/LSM/SARA.rst | 177 Documentation/admin-guide/LSM/index.rst | 1 + Documentation/admin-guide/kernel-parameters.txt | 24 3 files changed, 202 i

[PATCH v5 09/12] S.A.R.A.: WX protection procattr interface

2019-07-06 Thread Salvatore Mesoraca
This allow threads to get current WX Protection flags for themselves or for other threads (if they have CAP_MAC_ADMIN). It also allow a thread to set itself flags to a stricter set of rules than the current one. Via a new wxprot flag (SARA_WXP_FORCE_WXORX) is it possible to ask the kernel to rescan

[PATCH v5 11/12] S.A.R.A.: /proc/*/mem write limitation

2019-07-06 Thread Salvatore Mesoraca
Prevent a task from opening, in "write" mode, any /proc/*/mem file that operates on the task's mm. A process could use it to overwrite read-only memory, bypassing S.A.R.A. restrictions. Signed-off-by: Salvatore Mesoraca --- security/sara/include/sara_data.h | 18 - security/sara/

[PATCH v5 08/12] S.A.R.A.: trampoline emulation

2019-07-06 Thread Salvatore Mesoraca
Some programs need to generate part of their code at runtime. Luckily enough, in some cases they only generate well-known code sequences (the "trampolines") that can be easily recognized and emulated by the kernel. This way WX Protection can still be active, so a potential attacker won't be able to

[PATCH v5 10/12] S.A.R.A.: XATTRs support

2019-07-06 Thread Salvatore Mesoraca
Adds support for extended filesystem attributes in security and user namespaces. They can be used to override flags set via the centralized configuration, even when S.A.R.A. configuration is locked or saractl is not used at all. Signed-off-by: Salvatore Mesoraca --- Documentation/admin-guide/LSM

[PATCH v5 12/12] MAINTAINERS: take maintainership for S.A.R.A.

2019-07-06 Thread Salvatore Mesoraca
Signed-off-by: Salvatore Mesoraca --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f16e5d0..de6dab1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13925,6 +13925,15 @@ F: drivers/phy/samsung/phy-s5pv210-usb2.c F: drivers/phy/sam

[PATCH v5 06/12] S.A.R.A.: WX protection

2019-07-06 Thread Salvatore Mesoraca
Introduction of S.A.R.A. WX Protection. It aims to improve user-space programs security by applying: - W^X enforcement - W!->X (once writable never executable) mprotect restriction - Executable MMAP prevention All of the above features can be enabled or disabled both system wide or on a per execut

Re: [PATCH v6 2/2] dt-bindings: net: bluetooth: Add device property firmware-name for QCA6174

2019-07-06 Thread Marcel Holtmann
Hi Rocky, > This patch adds an optional device property "firmware-name" to allow the > driver to load customized nvm firmware file based on this property. > > Signed-off-by: Rocky Liao > --- > Changes in v6: > * Added read firmware-name property for both QCA6174 and WCN399X > --- > Documentatio

[PATCH v5 03/12] S.A.R.A.: cred blob management

2019-07-06 Thread Salvatore Mesoraca
Creation of the S.A.R.A. cred blob management "API". In order to allow S.A.R.A. to be stackable with other LSMs, it doesn't use the "security" field of struct cred, instead it uses an ad hoc field named security_sara. This solution is probably not acceptable for upstream, so this part will be modif

[PATCH v5 07/12] LSM: creation of "pagefault_handler" LSM hook

2019-07-06 Thread Salvatore Mesoraca
Creation of a new hook to let LSM modules handle user-space pagefaults on x86. It can be used to avoid segfaulting the originating process. If it's the case it can modify process registers before returning. This is not a security feature by itself, it's a way to soften some unwanted side-effects of

[PATCH v5 05/12] LSM: creation of "check_vmflags" LSM hook

2019-07-06 Thread Salvatore Mesoraca
Creation of a new LSM hook to check if a given configuration of vmflags, for a new memory allocation request, should be allowed or not. It's placed in "do_mmap", "do_brk_flags", "__install_special_mapping" and "setup_arg_pages". When loading an ELF, this hook is also used to determine what to do wi

[PATCH v5 04/12] S.A.R.A.: generic DFA for string matching

2019-07-06 Thread Salvatore Mesoraca
Creation of a generic Discrete Finite Automata implementation for string matching. The transition tables have to be produced in user-space. This allows us to possibly support advanced string matching patterns like regular expressions, but they need to be supported by user-space tools. Signed-off-b

Re: [PATCH] Bluetooth: btbcm: Add entry for BCM4359C0 UART bluetooth

2019-07-06 Thread Marcel Holtmann
Hi Neil, > The BCM4359C0 BT/Wi-Fi compo chip needs an entry to be discovered > by the btbcm driver. > > Tested using an AP6398S module from Ampak. > > Signed-off-by: Neil Armstrong > --- > drivers/bluetooth/btbcm.c | 1 + > 1 file changed, 1 insertion(+) patch has been applied to bluetooth-next

Re: [PATCH v1 0/4] add boot-gpios and clock property to btmtkuart

2019-07-06 Thread Marcel Holtmann
Hi Sean, > Update dt-binding and the corresponding implmentation of boot-gpios and clock > property to btmtkuart. > > Sean Wang (4): > dt-bindings: net: bluetooth: add boot-gpios property to UART-based >device > dt-bindings: net: bluetooth: add clock property to UART-based device > Bluetoo

Re: [PATCH] Bluetooth: hci_bcsp: Fix memory leak in rx_skb

2019-07-06 Thread Marcel Holtmann
Hi Tomas, > Syzkaller found that it is possible to provoke a memory leak by > never freeing rx_skb in struct bcsp_struct. > > Fix by freeing in bcsp_close() > > Signed-off-by: Tomas Bortoli > Reported-by: syzbot+98162c885993b72f1...@syzkaller.appspotmail.com > --- > drivers/bluetooth/hci_bcsp.c

Re: [PATCH] Bluetooth: Add new 13d3:3501 QCA_ROME device

2019-07-06 Thread Marcel Holtmann
Hi Joao Paulo, > Without the QCA ROME setup routine this adapter fails to establish a SCO > connection. > > T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=13d3 ProdID=3501 Rev=00.01 > C: #Ifs= 2 Cfg#=

Re: [PATCH] Bluetooth: Add new 13d3:3491 QCA_ROME device

2019-07-06 Thread Marcel Holtmann
Hi Joao Paulo, > Without the QCA ROME setup routine this adapter fails to establish a SCO > connection. > > T: Bus=01 Lev=01 Prnt=01 Port=08 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=13d3 ProdID=3491 Rev=00.01 > C: #Ifs= 2 Cfg#=

Re: The tick is active on idle adaptive-tick CPUs when /dev/cpu_dma_latency is used

2019-07-06 Thread Rafael J. Wysocki
On Saturday, July 6, 2019 10:17:15 AM CEST Rafael J. Wysocki wrote: > On Fri, Jul 5, 2019 at 7:22 PM Thomas Lindroth > wrote: > > > > On recent kernels the tick remains active on idle adaptive-tick CPUs when a > > small > > value is written to /dev/cpu_dma_latency to restrict the highest C-state.

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-06 Thread Eiichi Tsukata
On 2019/07/05 11:18, Linus Torvalds wrote: > On Fri, Jul 5, 2019 at 5:03 AM Peter Zijlstra wrote: >> >> Despire the current efforts to read CR2 before tracing happens there >> still exist a number of possible holes: > > So this whole series disturbs me for the simple reason that I thought > tr

Re: [PATCH 1/2] regulator: axp20x: fix DCDCA and DCDCD for AXP806

2019-07-06 Thread Mark Brown
On Sat, Jul 06, 2019 at 12:05:44PM +0200, Jernej Skrabec wrote: > Refactoring of the driver introduced few bugs in AXP806's DCDCA and > DCDCD regulator definitions. This is not a great changelog - what are the bugs and how does this patch fix them? signature.asc Description: PGP signature

[PATCH] ipc/sem: Three function calls less in do_semtimedop()

2019-07-06 Thread Markus Elfring
From: Markus Elfring Date: Sat, 6 Jul 2019 14:16:24 +0200 Avoid three function calls by using ternary operators instead of conditional statements. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- ipc/sem.c | 25 - 1 file chang

Re: [PATCH 1/2] regulator: axp20x: fix DCDCA and DCDCD for AXP806

2019-07-06 Thread Jernej Škrabec
Dne sobota, 06. julij 2019 ob 13:21:44 CEST je Mark Brown napisal(a): > On Sat, Jul 06, 2019 at 12:05:44PM +0200, Jernej Skrabec wrote: > > Refactoring of the driver introduced few bugs in AXP806's DCDCA and > > DCDCD regulator definitions. > > This is not a great changelog - what are the bugs and

Re: The tick is active on idle adaptive-tick CPUs when /dev/cpu_dma_latency is used

2019-07-06 Thread Thomas Lindroth
On 7/6/19 1:06 PM, Rafael J. Wysocki wrote: The patch is below, but note that it adds the tick stopping overhead to the idle loop for CPUs that are not adaptive-tick and when PM QoS latency constraints are used which is not desirable in general. Please test it, but as I said above, the real sol

Re: [PATCH 0/3] Marvell HCI fixes and serdev support

2019-07-06 Thread Marcel Holtmann
Hallo Sascha, > First two patches are a fix for the Marvell HCI driver which fails to > properly upload the firmware. Third patch adds simple serdev support > to the driver. > > Sascha > > Sascha Hauer (3): > Bluetooth: hci_ldisc: Add function to wait for characters to be sent > Bluetooth: hci

Re: [PATCH] i2c: tegra: Add Dmitry as a reviewer

2019-07-06 Thread Dmitry Osipenko
05.07.2019 21:49, Wolfram Sang пишет: > On Sun, Jun 23, 2019 at 08:46:55PM +0300, Dmitry Osipenko wrote: >> I'm contributing to Tegra's upstream development in general and happened >> to review the Tegra's I2C patches for awhile because I'm actively using >> upstream kernel on all of my Tegra-power

RE: linux-next: build failure after merge of the slave-dma tree

2019-07-06 Thread Robin Gong
Hi Stephen, That's caused by 'of_irq_count' NOT export to global symbol, and I'm curious why it has been here for so long since Zhangfei found it in 2015. https://patchwork.kernel.org/patch/7404681/ Hi Rob, Is there something I miss so that Zhangfei's patch not accepted finally?

[PATCH] sched/topology: One function call less in build_group_from_child_sched_domain()

2019-07-06 Thread Markus Elfring
From: Markus Elfring Date: Sat, 6 Jul 2019 16:00:13 +0200 Avoid an extra function call by using a ternary operator instead of a conditional statement. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- kernel/sched/topology.c | 6 +- 1 file changed

Re: [PATCH] kallsyms: exclude kasan local symbols on s390

2019-07-06 Thread Masahiro Yamada
On Sat, Jun 29, 2019 at 2:22 AM Vasily Gorbik wrote: > > gcc asan instrumentation emits the following sequence to store frame pc > when the kernel is built with CONFIG_RELOCATABLE: > debug/vsprintf.s: > .section.data.rel.ro.local,"aw" > .align 8 > .LC3: > .quad .

Re: [PATCH] kbuild: add more hints about SUBDIRS replacement

2019-07-06 Thread Masahiro Yamada
On Wed, Jun 26, 2019 at 11:30 PM Sam Ravnborg wrote: > > On Tue, Jun 25, 2019 at 05:51:27PM +0900, Masahiro Yamada wrote: > > Commit 0126be38d988 ("kbuild: announce removal of SUBDIRS if used") > > added a hint about the 'SUBDIRS' replacement, but it was not clear > > enough. > > > > Multiple peop

Re: linux-next: Tree for Jul 4

2019-07-06 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 08:17:29PM +1000, Stephen Rothwell wrote: > Hi Greg, > > On Sat, 6 Jul 2019 11:46:47 +0200 Greg Kroah-Hartman > wrote: > > > > On Sat, Jul 06, 2019 at 07:44:12PM +1000, Stephen Rothwell wrote: > > > > > > On Sat, 6 Jul 2019 10:34:33 +0200 Greg Kroah-Hartman > > > wrote

Re: [PATCH v5 00/12] S.A.R.A. a new stacked LSM

2019-07-06 Thread Jordan Glover
On Saturday, July 6, 2019 10:54 AM, Salvatore Mesoraca wrote: > S.A.R.A. is meant to be stacked but it needs cred blobs and the procattr > interface, so I temporarily implemented those parts in a way that won't > be acceptable for upstream, but it works for now. I know that there > is some ongoi

[GIT PULL] dmaengine fixes for 5.2

2019-07-06 Thread Vinod Koul
Hi Linus, Couple for fixes came for dmaengine drivers. One fixes a patch in 5.2-rc1 and others and cced stable. Please pull to receive: The following changes since commit d1fdb6d8f6a4109a4263176c84b899076a5f8008: Linux 5.2-rc4 (2019-06-08 20:24:46 -0700) are available in the Git repository a

Re: [PATCH] kbuild: use -E instead of -c for __cc-option

2019-07-06 Thread Masahiro Yamada
On Fri, Jun 28, 2019 at 2:13 PM Masahiro Yamada wrote: > > Use -E instead of -c like scripts/Kconfig.include > This makes the compiler flag evaluation slightly faster. > > Signed-off-by: Masahiro Yamada > --- Applied to linux-kbuild. > scripts/Kbuild.include | 2 +- > 1 file changed, 1 inser

Re: [PATCH v2] fixdep: check return value of printf() and putchar()

2019-07-06 Thread Masahiro Yamada
On Tue, Jun 25, 2019 at 3:54 PM Masahiro Yamada wrote: > > When there is not enough space on your storage device, the build will > fail with 'No space left on device' error message. > > The reason is obvious from the message, so you will free up some disk > space, then you will resume the build. >

Re: linux-next: build failure after merge of the slave-dma tree

2019-07-06 Thread Vinod Koul
On 06-07-19, 13:43, Robin Gong wrote: > Hi Stephen, Please **do not** top post! > That's caused by 'of_irq_count' NOT export to global symbol, and I'm > curious why it has been > here for so long since Zhangfei found it in 2015. > https://patchwork.kernel.org/patch/7404681/ Yes this does

Re: [PATCH 1/2] kbuild: fix missed rebuild of modules.builtin

2019-07-06 Thread Masahiro Yamada
On Mon, Jun 24, 2019 at 1:13 AM Masahiro Yamada wrote: > > Unlike modules.order, modules.builtin is not rebuilt every time. > Once modules.builtin is created, it will not be updated until > auto.conf or tristate.conf is changed. > > So, it misses to notice a change in Makefile, for example, renami

Re: [PATCH 1/3] kbuild: rename arg-check to cmd-check

2019-07-06 Thread Masahiro Yamada
On Sun, Jun 23, 2019 at 1:07 AM Masahiro Yamada wrote: > > I prefer 'cmd-check' for consistency. > > We have 'echo-cmd', 'cmd', 'cmd_and_fixdep', etc. in this file. > > Signed-off-by: Masahiro Yamada > --- Series, applied to linux-kbuild. > scripts/Kbuild.include | 14 +++--- > 1 file

Re: INFO: rcu detected stall in ext4_write_checks

2019-07-06 Thread Theodore Ts'o
On Fri, Jul 05, 2019 at 11:16:31PM -0700, Paul E. McKenney wrote: > I suppose RCU could take the dueling-banjos approach and use increasingly > aggressive scheduler policies itself, up to and including SCHED_DEADLINE, > until it started getting decent forward progress. However, that > sounds like

Re: [PATCH v5 00/12] S.A.R.A. a new stacked LSM

2019-07-06 Thread Salvatore Mesoraca
You are right. I just forgot to remove that paragraph from the cover letter. My bad. Thank you for noticing that :) Il giorno sab 6 lug 2019 alle ore 16:33 Jordan Glover ha scritto: > > On Saturday, July 6, 2019 10:54 AM, Salvatore Mesoraca > wrote: > > > S.A.R.A. is meant to be stacked but it

[PATCH] security/commoncap: Use xattr security prefix len

2019-07-06 Thread Carmeli Tamir
Using the existing defined XATTR_SECURITY_PREFIX_LEN instead of sizeof(XATTR_SECURITY_PREFIX) - 1. Pretty simple cleanup. Signed-off-by: Carmeli Tamir --- security/commoncap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c inde

Regression in mdadm breaks assembling of array

2019-07-06 Thread Stephan Diestelhorst
(Off list, please keep me in CC, thx!) Hi there, TL;DR: https://github.com/neilbrown/mdadm/commit611d95290dd41d73bd8f9cc06f7ec293a40b819e regresses mdadm and does not let me assemble my main drive due to kernel error md: invalid array_size 125035870 > default size 125035776 caused by changed res

Re: suspend broken in next-20190704 on Thinkpad X60

2019-07-06 Thread Pavel Machek
Hi! > > > > Suspend is broken in next-20190704 on Thinkpad X60. > > > > > > Broken in what way? Any details? > > > > > > > It very very probably worked ok in 20190701. > > > > > > Well, please try the linux-next branch from linux-pm.git > > > (git://git.kernel.org/pub/scm/linux/kernel/git/rafael/

Re: [PATCH] Bluetooth: hci_ldisc: check for missing tty operations

2019-07-06 Thread Vladis Dronov
Hello, Marcel, I totally agree, the same came to my mind some time after sending the patch. Let me send a v2 in a while with drivers checking for needed tty operations presence. Best regards, Vladis Dronov | Red Hat, Inc. | The Core Kernel | Senior Software Engineer - Original Message -

Re: [PATCH v5 02/12] S.A.R.A.: create framework

2019-07-06 Thread Randy Dunlap
Hi, On 7/6/19 3:54 AM, Salvatore Mesoraca wrote: > diff --git a/security/sara/Kconfig b/security/sara/Kconfig > new file mode 100644 > index 000..0456220 > --- /dev/null > +++ b/security/sara/Kconfig > @@ -0,0 +1,40 @@ > +menuconfig SECURITY_SARA > + bool "S.A.R.A." > + depends on SECU

Re: [PATCH v5 08/12] S.A.R.A.: trampoline emulation

2019-07-06 Thread Randy Dunlap
On 7/6/19 3:54 AM, Salvatore Mesoraca wrote: > diff --git a/security/sara/Kconfig b/security/sara/Kconfig > index 54a96e0..458e0e8 100644 > --- a/security/sara/Kconfig > +++ b/security/sara/Kconfig > @@ -117,6 +117,24 @@ choice > Documentation/admin-guide/LSM/SARA.rst. > endchoice

Re: suspend broken in next-20190704 on Thinkpad X60

2019-07-06 Thread Pavel Machek
Hi! > > commit 1e2a4c9019eb53f62790fadf86c14a54f4cf4888 (patch) > > treecb5339fcaae2166832f91f4ce9f40575cc6cb6e5 > > parent 3836c60c063581294c3a82f8cbccf3f702951358 (diff) > > parent 0a811974f3f79eea299af79c29595d8e1cb80a15 (diff) > > download > > linux-pm-1e2a4c9019eb53f62790fadf86c14a54f4

Re: [PATCH v5 06/12] S.A.R.A.: WX protection

2019-07-06 Thread Randy Dunlap
On 7/6/19 3:54 AM, Salvatore Mesoraca wrote: > diff --git a/security/sara/Kconfig b/security/sara/Kconfig > index b98cf27..54a96e0 100644 > --- a/security/sara/Kconfig > +++ b/security/sara/Kconfig > @@ -60,3 +60,77 @@ config SECURITY_SARA_NO_RUNTIME_ENABLE > > If unsure, answer Y. > >

Re: linux-next: Tree for Jul 4

2019-07-06 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 08:17:29PM +1000, Stephen Rothwell wrote: > Hi Greg, > > On Sat, 6 Jul 2019 11:46:47 +0200 Greg Kroah-Hartman > wrote: > > > > On Sat, Jul 06, 2019 at 07:44:12PM +1000, Stephen Rothwell wrote: > > > > > > On Sat, 6 Jul 2019 10:34:33 +0200 Greg Kroah-Hartman > > > wrote

[PATCH] debugfs: make error message a bit more verbose

2019-07-06 Thread Greg Kroah-Hartman
When a file/directory is already present in debugfs, and it is attempted to be created again, be more specific about what file/directory is being created and where it is trying to be created to give a bit more help to developers to figure out the problem. Cc: Stephen Rothwell Cc: Rafael J. Wysock

Re: objtool warnings in prerelease clang-9

2019-07-06 Thread Josh Poimboeuf
On Tue, Jul 02, 2019 at 11:58:27PM +0200, Thomas Gleixner wrote: > platform-quirks.o: > > if (x86_platform.set_legacy_features) > 74: 4c 8b 1d 00 00 00 00mov0x0(%rip),%r11# 7b > > 7b: 4d 85 dbtest %r11,%r11 > 7e: 0f 85 00 00 00 00 jne

Re: [PATCH] debugfs: make error message a bit more verbose

2019-07-06 Thread Mark Brown
On Sat, Jul 06, 2019 at 05:42:56PM +0200, Greg Kroah-Hartman wrote: > When a file/directory is already present in debugfs, and it is attempted > to be created again, be more specific about what file/directory is being > created and where it is trying to be created to give a bit more help to > devel

Hi, This is Clara

2019-07-06 Thread Clara Duran
Are you there ?. Can I have a word with you privately?

Aw: Re: Re: [PATCH v2 3/7] rtc: mt6397: improvements of rtc driver

2019-07-06 Thread Frank Wunderlich
> Gesendet: Freitag, 05. Juli 2019 um 23:24 Uhr > Von: "Alexandre Belloni" > Let's say the RTC has been used to start your platform, then the irq > handler will be called as soon as the irq is requested, leading to a > null pointer dereference. i cannot test this with my platform, but i have cha

[GIT PULL] MIPS fixes

2019-07-06 Thread Paul Burton
Hi Linus, Apologies that these are arriving so late in the game, but here are a few MIPS fixes heading your way from a beachside cafe. It's all pretty small, nothing too scary or invasive. Please pull. Thanks, Paul The following changes since commit 9e0babf2c06c73cda2c0cd37a1653d823adb40ec:

[PATCH 2/3] mfd: ab8500: no need to check return value of debugfs_create functions

2019-07-06 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Linus Walleij Cc: Lee Jones Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Greg Kroah-Hartman --- d

[PATCH 1/3] mfd: ab3100: no need to check return value of debugfs_create functions

2019-07-06 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Linus Walleij Cc: Lee Jones Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Greg Kroah-Hartman --- d

[PATCH 3/3] mfd: aat2870: no need to check return value of debugfs_create functions

2019-07-06 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Lee Jones Signed-off-by: Greg Kroah-Hartman --- drivers/mfd/aat2870-core.c | 13 ++--- include/linux

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Dmitry Torokhov
Hi Greg, On Sat, Jul 6, 2019 at 1:32 AM Greg Kroah-Hartman wrote: > > On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > > Hi Greg, > > > > On Thu, Jul 4, 2019 at 5:15 AM Greg Kroah-Hartman > > wrote: > > > > > > Platform drivers like to add sysfs groups to their device, but righ

Re: [PATCH v5 01/12] S.A.R.A.: add documentation

2019-07-06 Thread Randy Dunlap
Hi, Just a few typo fixes (inline). On 7/6/19 3:54 AM, Salvatore Mesoraca wrote: > Adding documentation for S.A.R.A. LSM. > > Signed-off-by: Salvatore Mesoraca > --- > Documentation/admin-guide/LSM/SARA.rst | 177 > > Documentation/admin-guide/LSM/index.rst

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 10:04:39AM -0700, Dmitry Torokhov wrote: > Hi Greg, > > On Sat, Jul 6, 2019 at 1:32 AM Greg Kroah-Hartman > wrote: > > > > On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > > > Hi Greg, > > > > > > On Thu, Jul 4, 2019 at 5:15 AM Greg Kroah-Hartman > > > w

Re: [PATCH] perf: assign proper ff->ph in perf_event__synthesize_features()

2019-07-06 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 19, 2019 at 06:04:53PM -0700, Song Liu escreveu: > bpf/btf write_* functions need ff->ph->env. > > With this missing, pipe-mode (perf record -o -) would crash like: > > Program terminated with signal SIGSEGV, Segmentation fault. > > This patch assign proper ph value to ff. Thanks,

  1   2   >