Re: sparse: __pure declaration only

2019-10-19 Thread Luc Van Oostenryck
On Fri, Oct 18, 2019 at 08:31:48AM -0700, Linus Torvalds wrote: > On Fri, Oct 18, 2019 at 4:15 AM Ben Dooks wrote: > > > > is this a valid warning? if not, should sparse be ignoring these. > > It's technically valid, but maybe it's not useful. > > If we make sure that any pure bits from a

[PATCH v7 3/3] HID: logitech-hidpp: Support WirelessDeviceStatus connect events

2019-10-19 Thread Mazin Rezk
This patch allows hidpp_report_is_connect_event to support WirelessDeviceStatus connect events. The WirelessDeviceStatus feature index is stored in hidpp_device when probed. The connect event's fap feature_index is compared against it if the device supports it. Thanks, Mazin Signed-off-by:

[PATCH v7 2/3] HID: logitech-hidpp: Support MX Master (b012, b01e) over Bluetooth

2019-10-19 Thread Mazin Rezk
This patch adds support for the MX Master over Bluetooth (b012, b01e). I have only added the devices that have been tested, so the 0xb017 variant of the MX Master needs to be added once it is tested. Since this patch series adds support for Bluetooth LE devices in general, other Bluetooth LE

[PATCH v7 1/3] HID: logitech-hidpp: Support translations from short to long reports

2019-10-19 Thread Mazin Rezk
This patch allows short reports to be translated into long reports. hidpp_validate_device now returns a u8 instead of a bool which represents the supported reports. The corresponding bits (i.e. HIDPP_REPORT_*_SUPPORTED) are set if an HID++ report is supported. If a short report is being sent and

[PATCH v7 0/3] Logitech HID++ Bluetooth LE support

2019-10-19 Thread Mazin Rezk
This series allows hid-logitech-hidpp to support Bluetooth LE HID++ devices. Only the MX Master is added right now but more HID++ Bluetooth LE devices can be added once they are tested. Thanks, Mazin Changes since [v6]: - Based patch on "HID: logitech-hidpp: rework device validation"

linux-next: cleanup the kgdb trees

2019-10-19 Thread Stephen Rothwell
Hi all, The kgdb tree (git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb.git#kgdb-next) has not been updated in more than a year, so I have rmeoved it from linux-next. It contained: 3bd67b37e350 kdb: print real address of pointers instead of hashed addresses a0ca72c2d1ac kdb: use

linux-next: remove the pcmcia tree

2019-10-19 Thread Stephen Rothwell
Hi all, The pcmcia tree (git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux.git#pcmcia-next) has not been updated in more than a year, so I have removed it from linux-next. Please let me know if/when you want it reinstated. -- Cheers, Stephen Rothwell pgpbACrVOT79P.pgp Description:

[PATCH v2 1/8] dt-bindings: watchdog: realtek: Convert RTD119x to schema

2019-10-19 Thread Andreas Färber
Convert the Realtek watchdog binding to a YAML schema. Signed-off-by: Andreas Färber --- v2: New .../bindings/watchdog/realtek,rtd119x.txt | 17 -- .../bindings/watchdog/realtek,rtd119x.yaml | 38 ++ 2 files changed, 38 insertions(+), 17

[PATCH v2 5/8] arm64: dts: realtek: Change dual-license from MIT to BSD

2019-10-19 Thread Andreas Färber
Move the SPDX-License-Identifier to the top line and update to SPDX 2.0. While at it, switch from GPLv2+/MIT to GPLv2+/BSD2c before adding more. Suggested-by: Rob Herring Cc: Rob Herring Signed-off-by: Andreas Färber --- v2: New arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts | 3 +--

[PATCH v2 2/8] dt-bindings: rtc: realtek: Convert RTD119x to schema

2019-10-19 Thread Andreas Färber
Convert the RTD119x binding to a YAML schema. Signed-off-by: Andreas Färber --- v2: New .../devicetree/bindings/rtc/realtek,rtd119x.txt| 16 - .../devicetree/bindings/rtc/realtek,rtd119x.yaml | 38 ++ 2 files changed, 38 insertions(+), 16 deletions(-)

[PATCH v2 4/8] dt-bindings: arm: realtek: Document RTD1293 and Synology DS418j

2019-10-19 Thread Andreas Färber
Define compatible strings for Realtek RTD1293 SoC and Synology DiskStation DS418j NAS. Cc: i...@synology.com Acked-by: Rob Herring [AF: Converted to json-schema] Signed-off-by: Andreas Färber --- v1 -> v2: * Converted to YAML schema Documentation/devicetree/bindings/arm/realtek.yaml | 6

[PATCH v2 8/8] arm64: dts: realtek: Add RTD1296 and Synology DS418

2019-10-19 Thread Andreas Färber
Add Device Trees for RTD1296 SoC and Synology DiskStation DS418. Cc: i...@synology.com Signed-off-by: Andreas Färber --- v1 -> v2: * Moved SPDX-License-Identifier to top * Dropped "arm,armv8" (Rob) * Changed from MIT to BSD-2-Clause (Rob) * Dropped accidental enable-method and

[PATCH v2 7/8] dt-bindings: arm: realtek: Document RTD1296 and Synology DS418

2019-10-19 Thread Andreas Färber
Define compatible strings for Realtek RTD1296 SoC and Synology DiskStation DS418 NAS. Cc: i...@synology.com Acked-by: Rob Herring [AF: Converted to json-schema] Signed-off-by: Andreas Färber --- v1 -> v2: * Converted to YAML schema Documentation/devicetree/bindings/arm/realtek.yaml | 6

[PATCH v2 3/8] dt-bindings: arm: realtek: Tidy up conversion to json-schema

2019-10-19 Thread Andreas Färber
Restore the device names for compatible strings as comments. Prepare for adding more SoCs by inserting oneOf. Fixes: 693af5f3eeaa ("dt-bindings: arm: Convert Realtek board/soc bindings to json-schema") Signed-off-by: Andreas Färber --- v2: New

[PATCH v2 6/8] arm64: dts: realtek: Add RTD1293 and Synology DS418j

2019-10-19 Thread Andreas Färber
Add Device Trees for RTD1293 SoC and Synology DiskStation DS418j NAS. Cc: i...@synology.com Signed-off-by: Andreas Färber --- v1 -> v2: * Moved SPDX-License-Identifier to top * Dropped "arm,armv8" (Rob) * Changed from MIT to BSD-2-Clause (Rob) * Dropped accidental enable-method and

linux-next: remove the actions tree

2019-10-19 Thread Stephen Rothwell
Hi all, The actions tree (git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions.git#for-next) has not been updated in more than a year, so I have removed it from linux-next. Please let me know if/when you want it reinstated. -- Cheers, Stephen Rothwell pgpI9wXVoDwH1.pgp

linux-next: remove the siox tree

2019-10-19 Thread Stephen Rothwell
Hi all, The siox tree (https://git.pengutronix.de/git/ukl/linux#siox/next) has not bee updated in more than a year, so I have removed it from linux-next. Please let me know if/when you want it reinstated. -- Cheers, Stephen Rothwell pgppBmIJWJCD8.pgp Description: OpenPGP digital signature

linux-next: remove the hdlcd tree

2019-10-19 Thread Stephen Rothwell
Hi all, The hdlcd tree (git://linux-arm.org/linux-ld#for-upstream/hdlcd) has not been updated in more than a year, so I have removed it from linux-next. Plesee let me know if/when you want it reinstated. -- Cheers, Stephen Rothwell pgpTGjpksI5wQ.pgp Description: OpenPGP digital signature

linux-next: cleanup the btrfs trees

2019-10-19 Thread Stephen Rothwell
Hi all, The btrfs tree (git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git#next) has not bee updated in more than a year, so I have removed it and then renamed the btrfs-kdave tree to btrfs. I hope this is OK and if any other changes are needed, please let me know. -- Cheers,

[PATCH net-next 10/16] net: dsa: use ports list to setup default CPU port

2019-10-19 Thread Vivien Didelot
Use the new ports list instead of iterating over switches and their ports when setting up the default CPU port. Unassign it on teardown. Now that we can iterate over multiple CPU ports, remove dst->cpu_dp. At the same time, provide a better error message for CPU-less tree. Signed-off-by: Vivien

[PATCH net-next 01/16] net: dsa: use dsa_to_port helper everywhere

2019-10-19 Thread Vivien Didelot
Do not let the drivers access the ds->ports static array directly while there is a dsa_to_port helper for this purpose. At the same time, un-const this helper since the SJA1105 driver assigns the priv member of the returned dsa_port structure. Signed-off-by: Vivien Didelot ---

[PATCH net-next 09/16] net: dsa: use ports list to find first CPU port

2019-10-19 Thread Vivien Didelot
Use the new ports list instead of iterating over switches and their ports when looking up the first CPU port in the tree. Signed-off-by: Vivien Didelot --- net/dsa/dsa2.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index

[PATCH net-next 04/16] net: dsa: use ports list to find slave

2019-10-19 Thread Vivien Didelot
Use the new ports list instead of iterating over switches and their ports when looking for a slave device from a given master interface. Signed-off-by: Vivien Didelot --- net/dsa/dsa_priv.h | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git

[PATCH net-next 08/16] net: dsa: use ports list to setup multiple master devices

2019-10-19 Thread Vivien Didelot
Now that we have a potential list of CPU ports, make use of it instead of only configuring the master device of an unique CPU port. Signed-off-by: Vivien Didelot --- net/dsa/dsa2.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/net/dsa/dsa2.c

[PATCH net-next 07/16] net: dsa: use ports list to find a port by node

2019-10-19 Thread Vivien Didelot
Use the new ports list instead of iterating over switches and their ports to find a port from a given node. Signed-off-by: Vivien Didelot --- net/dsa/dsa2.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index

[PATCH net-next 05/16] net: dsa: use ports list to setup switches

2019-10-19 Thread Vivien Didelot
Use the new ports list instead of iterating over switches and their ports when setting up the switches and their ports. At the same time, provide setup states and messages for ports and switches as it is done for the trees. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 4 ++

[PATCH net-next 14/16] net: dsa: sja1105: register switch before assigning port private data

2019-10-19 Thread Vivien Didelot
Like the dsa_switch_tree structures, the dsa_port structures will be allocated on switch registration. The SJA1105 driver is the only one accessing the dsa_port structure after the switch allocation and before the switch registration. For that reason, move switch registration prior to assigning

[PATCH net-next 13/16] net: dsa: mv88e6xxx: use ports list to map bridge

2019-10-19 Thread Vivien Didelot
Instead of digging into the other dsa_switch structures of the fabric and relying too much on the dsa_to_port helper, use the new list of switch fabric ports to remap the Port VLAN Map of local bridge group members or remap the Port VLAN Table entry of external bridge group members.

[PATCH net-next 12/16] net: dsa: mv88e6xxx: use ports list to map port VLAN

2019-10-19 Thread Vivien Didelot
Instead of digging into the other dsa_switch structures of the fabric and relying too much on the dsa_to_port helper, use the new list of switch fabric ports to define the mask of the local ports allowed to receive frames from another port of the fabric. Signed-off-by: Vivien Didelot ---

[PATCH net-next 15/16] net: dsa: allocate ports on touch

2019-10-19 Thread Vivien Didelot
Allocate the struct dsa_port the first time it is accessed with dsa_port_touch, and remove the static dsa_port array from the dsa_switch structure. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 2 -- net/dsa/dsa2.c| 16 ++-- 2 files changed, 14 insertions(+), 4

[PATCH net-next 16/16] net: dsa: remove dsa_switch_alloc helper

2019-10-19 Thread Vivien Didelot
Now that ports are dynamically listed in the fabric, there is no need to provide a special helper to allocate the dsa_switch structure. This will give more flexibility to drivers to embed this structure as they wish in their private structure. Signed-off-by: Vivien Didelot ---

[PATCH net-next 11/16] net: dsa: mv88e6xxx: silently skip PVT ops

2019-10-19 Thread Vivien Didelot
Since mv88e6xxx_pvt_map is a static helper, no need to return -EOPNOTSUPP if the chip has no PVT, simply silently skip the operation. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/chip.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git

[PATCH net-next 06/16] net: dsa: use ports list for routing table setup

2019-10-19 Thread Vivien Didelot
Use the new ports list instead of accessing the dsa_switch array of ports when iterating over DSA ports of a switch to set up the routing table. Signed-off-by: Vivien Didelot --- net/dsa/dsa2.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net/dsa/dsa2.c

[PATCH net-next 02/16] net: dsa: add ports list in the switch fabric

2019-10-19 Thread Vivien Didelot
Add a list of switch ports within the switch fabric. This will help the lookup of a port inside the whole fabric, and it is the first step towards supporting multiple CPU ports, before deprecating the usage of the unique dst->cpu_dp pointer. In preparation for a future allocation of the dsa_port

[PATCH net-next 03/16] net: dsa: use ports list in dsa_to_port

2019-10-19 Thread Vivien Didelot
Use the new ports list instead of accessing the dsa_switch array of ports in the dsa_to_port helper. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/net/dsa.h b/include/net/dsa.h index

[PATCH net-next 00/16] net: dsa: turn arrays of ports into a list

2019-10-19 Thread Vivien Didelot
The dsa_switch structure represents the physical switch device itself, and is allocated by the driver. The dsa_switch_tree and dsa_port structures represent the logical switch fabric (eventually composed of multiple switch devices) and its ports, and are allocated by the DSA core. This branch

From Lisa Tofan

2019-10-19 Thread Lisa Tofan
Hello Dear, This is Miss Lisa Tofan, How are you today hope all is well with you, please I will need your urgent attention regarding this important discussion kindly write me back here : lisatofan...@gmail.com : for more details, Thanks, Lisa Tofan

Re: [PATCH] mm/vmstat: do not use size of vmstat_text as count of /proc/vmstat items

2019-10-19 Thread Randy Dunlap
On 10/19/19 2:45 PM, Konstantin Khlebnikov wrote: > Strings from vmstat_text[] will be used for printing memory cgroup > statistics which exists even if CONFIG_VM_EVENT_COUNTERS=n. > > This should be applied before patch "mm/memcontrol: use vmstat names > for printing statistics". > >

[PATCH] of: reserved_mem: add missing of_node_put() for proper ref-counting

2019-10-19 Thread Chris Goldsworthy
Commit d698a388146c ("of: reserved-memory: ignore disabled memory-region nodes") added an early return in of_reserved_mem_device_init_by_idx(), but didn't call of_node_put() on a device_node whose ref-count was incremented in the call to of_parse_phandle() preceding the early exit. Fixes:

[PATCH] usb: xhci: fix Immediate Data Transfer endianness

2019-10-19 Thread Samuel Holland
The arguments to queue_trb are always byteswapped to LE for placement in the ring, but this should not happen in the case of immediate data; the bytes copied out of transfer_buffer are already in the correct order. Add a complementary byteswap so the bytes end up in the ring correctly. This was

[PATCH] platform/x86: huawei-wmi: Remove unnecessary battery mutex

2019-10-19 Thread Ayman Bagabas
battery_lock mutex is never used and not needed. Fixes: 355a070b09ab ("platform/x86: huawei-wmi: Add battery charging thresholds") Signed-off-by: Ayman Bagabas --- drivers/platform/x86/huawei-wmi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/platform/x86/huawei-wmi.c

Re: [GIT] Networking

2019-10-19 Thread pr-tracker-bot
The pull request you sent on Sat, 19 Oct 2019 12:39:27 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git refs/heads/master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/531e93d11470aa2e14e6a3febef50d9bc7bab7a1 Thank you! -- Deet-doot-dot,

Re: [PATCH 2/2] platform/x86: huawei-wmi: No need to check for battery name

2019-10-19 Thread ayman . bagabas
On Fri, 2019-10-18 at 18:42 -0400, Ayman Bagabas wrote: > No need to check for battery name, we already check if the WMI > function is > available in huawei_wmi_battery_setup. Signed-off-by: Ayman Bagabas Thank you, Ayman > --- > drivers/platform/x86/huawei-wmi.c | 4 > 1 file changed, 4

Re: [PATCH 1/2] platform/x86: huawei-wmi: Stricter battery thresholds set

2019-10-19 Thread ayman . bagabas
On Sat, 2019-10-19 at 11:31 +0300, Dan Carpenter wrote: > On Fri, Oct 18, 2019 at 06:42:13PM -0400, Ayman Bagabas wrote: > > Check if battery thresholds are within 0 and 100. > > --- > > Thanks! > > Don't forget to add your Signed-off-by: though. Signed-off-by: Ayman Bagabas Thank you, Ayman

Re: [PATCH] fs: exFAT read-only driver GPL implementation by Paragon Software.

2019-10-19 Thread Pali Rohár
Hello! I have not read deeply whole implementation, just spotted suspicious options. See below. On Friday 18 October 2019 15:18:39 Konstantin Komarov wrote: > diff --git a/fs/exfat/exfat_fs.h b/fs/exfat/exfat_fs.h > new file mode 100644 > index ..5f8713fe1b0c > --- /dev/null > +++

Re: [PATCH] fs/dax: Fix pmd vs pte conflict detection

2019-10-19 Thread Dan Williams
On Sat, Oct 19, 2019 at 4:09 PM Dan Williams wrote: > > On Sat, Oct 19, 2019 at 1:50 PM Matthew Wilcox wrote: > > > > On Sat, Oct 19, 2019 at 09:26:19AM -0700, Dan Williams wrote: > > > Check for NULL entries before checking the entry order, otherwise NULL > > > is misinterpreted as a present

DNS Records for Teo En Ming Corporation (Office 365 Business Premium)

2019-10-19 Thread Turritopsis Dohrnii Teo En Ming
Subject: DNS Records for Teo En Ming Corporation (Office 365 Business Premium) Good day from Singapore, Office 365 Business Premium User: c...@teo-en-ming-corp.com Windows Command Prompt nslookup: teo-en-ming-corp.cominternet address = 184.168.221.46 teo-en-ming-corp.comnameserver =

Re: [PATCH] fs/dax: Fix pmd vs pte conflict detection

2019-10-19 Thread Dan Williams
On Sat, Oct 19, 2019 at 1:50 PM Matthew Wilcox wrote: > > On Sat, Oct 19, 2019 at 09:26:19AM -0700, Dan Williams wrote: > > Check for NULL entries before checking the entry order, otherwise NULL > > is misinterpreted as a present pte conflict. The 'order' check needs to > > happen before the

Re: [PATCH] scripts: prune-kernel : prune kernels generalized way

2019-10-19 Thread Bhaskar Chowdhury
On 12:01 Sat 19 Oct 2019, J. Bruce Fields wrote: On Sat, Oct 19, 2019 at 06:37:22PM +0530, Bhaskar Chowdhury wrote: This patch will remove old kernel from the system in a selective way. Please don't comment out code, just delete it, git's there to keep the old code. I thought it would be

[PATCH] arm64: dts: qcom: msm8998: Fixup uart3 gpio config for bluetooth

2019-10-19 Thread Jeffrey Hugo
It turns out that the wcn3990 can float the gpio lines during bootup, etc which will result in the uart core thinking there is incoming data. This results in the bluetooth stack getting garbage. By applying a bias to match what wcn3990 would drive, the issue is corrected. Signed-off-by: Jeffrey

[PATCH] perf/x86/intel/pt: Fix base for single entry topa

2019-10-19 Thread Jiri Olsa
Jan reported failing ltp test for pt. It looks like the reason is commit 38bb8d77d0b9, that did not keep the TOPA_SHIFT for entry base, adding it back. [1] https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/tracing/pt_test/pt_test.c Reported-by: Jan Stancek Fixes:

Re: [RESEND RFC PATCH v3] rtc: Fix the AltCentury value on AMD/Hygon platform

2019-10-19 Thread Alexandre Belloni
On 15/10/2019 16:08:27+0800, Jinke Fan wrote: > When using following operations: > date -s "21190910 19:20:00" > hwclock -w > to change date from 2019 to 2119 for test, it will fail on Hygon > Dhyana and AMD Zen CPUs, while the same operations run ok on Intel i7 > platform. > > MC146818 driver

RE:PERSONAL LETTER FROM MRS RASHIA AMIRA

2019-10-19 Thread Mr Barrister Hans Erich
Greetings My name is Barrister Hans Erich. I have a client who is interested to invest in your country, she is a well known politician in her country and deserve a lucrative investment partnership with you outside her country without any delay Please can you manage such investment please

Re: [musl] [PATCH] arm64: uapi: Fix user space compile with musl libc

2019-10-19 Thread Hauke Mehrtens
On 10/19/19 10:29 PM, Rich Felker wrote: > On Sat, Oct 19, 2019 at 10:17:17PM +0200, Hauke Mehrtens wrote: >> musl libc also defines the structures in their arch/aarch64/bits/signal.h >> header file. Some applications like strace and gdb include both of them >> and then the structure definitions

[PATCH] mm/vmstat: do not use size of vmstat_text as count of /proc/vmstat items

2019-10-19 Thread Konstantin Khlebnikov
Strings from vmstat_text[] will be used for printing memory cgroup statistics which exists even if CONFIG_VM_EVENT_COUNTERS=n. This should be applied before patch "mm/memcontrol: use vmstat names for printing statistics". Signed-off-by: Konstantin Khlebnikov Link:

Re: [dax] 23c84eb783: fio.write_bw_MBps -61.6% regression

2019-10-19 Thread Matthew Wilcox
On Fri, Oct 18, 2019 at 04:12:03PM -0700, Dan Williams wrote: > I've got several reports of v5.3 performance regressions tracking back > to this change. I instrumented the ndctl "dax.sh" unit test to > validate that it is getting huge page faults and it always falls back > to 4K starting with

Re: [PATCH] net: fix sk_page_frag() recursion from memory reclaim

2019-10-19 Thread Eric Dumazet
On 10/19/19 2:18 PM, Tejun Heo wrote: > Whatever works is fine by me. gfpflags_allow_blocking() is clearer > than testing __GFP_DIRECT_RECLAIM directly tho. Maybe a better way is > introducing a new gfpflags_ helper? Sounds good to me !

Re: [PATCH] net: fix sk_page_frag() recursion from memory reclaim

2019-10-19 Thread Tejun Heo
Hello, On Sat, Oct 19, 2019 at 11:15:28AM -0700, Eric Dumazet wrote: > It seems compiler generates better code with : > > diff --git a/include/net/sock.h b/include/net/sock.h > index > ab905c4b1f0efd42ebdcae333b3f0a2c7c1b2248..56de6ac99f0952bd0bc003353c094ce3a5a852f4 > 100644 > ---

Re: [PATCH] Bluetooth: hci_qca: Add delay for wcn3990 stability

2019-10-19 Thread Marcel Holtmann
Hi Jeffrey, > On the msm8998 mtp, the response to the baudrate change command is > never > received. On the Lenovo Miix 630, the response to the baudrate change > command is corrupted - "Frame reassembly failed (-84)". > > Adding a 50ms delay

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-19 Thread Alexander Sverdlin
Hi! On Sat, 19 Oct 2019 22:44:18 +0200 Arnd Bergmann wrote: > > > > # cat /proc/interrupts > > > >CPU0 > > > > 39:146 VIC 7 Edge eth0 > > > > 51: 162161 VIC 19 Edge ep93xx timer > > > > 52:139 VIC 20 Edge uart-pl010 > > > >

Re: [PATCH v2] rtc: rv3028: add clkout support

2019-10-19 Thread Alexandre Belloni
On 18/10/2019 12:04:25+0200, Parthiban Nallathambi wrote: > rv3028 provides clkout (enabled by default). Add clkout > to clock framework source and control from device tree for > variable frequency with enable and disable functionality. > > Signed-off-by: Parthiban Nallathambi > --- > > Notes:

[PATCH] tty: serial: msm_serial: Fix flow control

2019-10-19 Thread Jeffrey Hugo
hci_qca interfaces to the wcn3990 via a uart_dm on the msm8998 mtp and Lenovo Miix 630 laptop. As part of initializing the wcn3990, hci_qca disables flow, configures the uart baudrate, and then reenables flow - at which point an event is expected to be received over the uart from the wcn3990. It

[PATCH] rtc: introduce lock helpers

2019-10-19 Thread Alexandre Belloni
Introduce rtc_lock and rtc_unlock to shorten the code when locking and unlocking ops_lock from drivers. Signed-off-by: Alexandre Belloni --- include/linux/rtc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/rtc.h b/include/linux/rtc.h index e86a9f307b82..4e9d3c71addb

[PATCH 2/9] rtc: ds1343: remove dead code

2019-10-19 Thread Alexandre Belloni
RTC_SET_CHARGE doesn't exist, the ioctl code is never used. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1343.c | 21 - 1 file changed, 21 deletions(-) diff --git a/drivers/rtc/rtc-ds1343.c b/drivers/rtc/rtc-ds1343.c index b45d1b8fd631..9d7d571e722b 100644 ---

[PATCH 6/9] rtc: ds1343: check regmap_read return value

2019-10-19 Thread Alexandre Belloni
Check whether regmap_read fails before continuing in the sysfs .show callbacks. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1343.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-ds1343.c b/drivers/rtc/rtc-ds1343.c index

Re: [PATCH] fs/dax: Fix pmd vs pte conflict detection

2019-10-19 Thread Matthew Wilcox
On Sat, Oct 19, 2019 at 09:26:19AM -0700, Dan Williams wrote: > Check for NULL entries before checking the entry order, otherwise NULL > is misinterpreted as a present pte conflict. The 'order' check needs to > happen before the locked check as an unlocked entry at the wrong order > must fallback

[PATCH 3/9] rtc: ds1343: use burst write to set time

2019-10-19 Thread Alexandre Belloni
To avoid possible race condition, use regmap_bulk_write to write all the date/time registers at once instead of sequentially. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1343.c | 52 ++-- 1 file changed, 12 insertions(+), 40 deletions(-) diff

[PATCH 1/9] rtc: ds1343: set range

2019-10-19 Thread Alexandre Belloni
This is a standard BCD rtc with a useless century bit (no leap year correction after 2099). Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1343.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rtc/rtc-ds1343.c b/drivers/rtc/rtc-ds1343.c index fa6de31d5793..b45d1b8fd631

[PATCH 4/9] rtc: ds1343: use rtc_add_group

2019-10-19 Thread Alexandre Belloni
Use rtc_add_group to add the sysfs group in a race free manner. This has the side effect of moving the files to their proper location. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1343.c | 47 ++-- 1 file changed, 16 insertions(+), 31 deletions(-)

[PATCH 7/9] rtc: ds1343: remove unnecessary mutex

2019-10-19 Thread Alexandre Belloni
Use rtc_lock and rtc_unlock to lock the rtc from the interrupt handler. This removes the need for a driver specific lock. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1343.c | 36 +++- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git

[PATCH 8/9] rtc: ds1343: rework interrupt handling

2019-10-19 Thread Alexandre Belloni
Rework the interrupt handling to avoid caching the values as the core is already doing that. The core also always ensures the rtc_time passed for the alarm is fully populated. The only trick is in read_alarm where status needs to be read before the alarm registers to ensure the potential irq is

[PATCH 5/9] rtc: ds1343: use regmap_update_bits for glitch filter

2019-10-19 Thread Alexandre Belloni
Use regmap_update_bits to update DS1343_CONTROL_REG in a race free manner when setting the glitch filter. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1343.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/rtc/rtc-ds1343.c

[PATCH 9/9] rtc: ds1343: cleanup .remove

2019-10-19 Thread Alexandre Belloni
It is not necessary to call device_init_wakeup(dev, false) in .remove as device_del will take care of that. It is also not necessary to devm_free_irq. Finally, dev_pm_clear_wake_irq can be called unconditionally. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1343.c | 10 +- 1

Re: [PATCH 6/6 v2] MMC: JZ4740: Add support for LPM.

2019-10-19 Thread Ezequiel Garcia
On Friday, October 18, 2019 13:54 -03, Zhou Yanjie wrote: > > > > > I also have a general question. Should we perhaps rename the driver > > from jz4740_mmc.c to ingenic.c (and the file for the DT bindings, the > > Kconfig, etc), as that seems like a more appropriate name? No? > > I am very

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-19 Thread Arnd Bergmann
On Sat, Oct 19, 2019 at 10:24 PM Alexander Sverdlin wrote: > On Sat, 19 Oct 2019 22:08:40 +0200 > Arnd Bergmann wrote: > > > > # cat /proc/interrupts > > >CPU0 > > > 39:146 VIC 7 Edge eth0 > > > 51: 162161 VIC 19 Edge ep93xx timer > > > 52:

[PATCH v2] w1: new driver. DS2430 chip

2019-10-19 Thread Angelo Dureghello
add support for ds2430, 1 page, 256bit (32bytes) eeprom (family 0x14). Tests done: 32 bytes dump: x@y:~# hexdump -C -n 32 /sys/bus/w1/devices/14-0158556e/eeprom 39 39 0a 00 00 36 0a ff ff ff ff ff ff ff ff ff 0010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0020 34

Re: [PATCH] Bluetooth: hci_qca: Add delay for wcn3990 stability

2019-10-19 Thread Jeffrey Hugo
On Fri, Oct 18, 2019 at 5:15 PM Matthias Kaehlcke wrote: > > On Fri, Oct 18, 2019 at 04:36:23PM -0600, Jeffrey Hugo wrote: > > On Fri, Oct 18, 2019 at 3:33 PM Matthias Kaehlcke wrote: > > > > > > On Fri, Oct 18, 2019 at 01:51:39PM -0600, Jeffrey Hugo wrote: > > > > On Fri, Oct 18, 2019 at 1:40

Re: [musl] [PATCH] arm64: uapi: Fix user space compile with musl libc

2019-10-19 Thread Rich Felker
On Sat, Oct 19, 2019 at 10:17:17PM +0200, Hauke Mehrtens wrote: > musl libc also defines the structures in their arch/aarch64/bits/signal.h > header file. Some applications like strace and gdb include both of them > and then the structure definitions are clashing and the build of these > user

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-19 Thread Alexander Sverdlin
Hi! On Sat, 19 Oct 2019 22:08:40 +0200 Arnd Bergmann wrote: > > # cat /proc/interrupts > >CPU0 > > 39:146 VIC 7 Edge eth0 > > 51: 162161 VIC 19 Edge ep93xx timer > > 52:139 VIC 20 Edge uart-pl010 > > 53: 4

[PATCH] arm64: uapi: Fix user space compile with musl libc

2019-10-19 Thread Hauke Mehrtens
musl libc also defines the structures in their arch/aarch64/bits/signal.h header file. Some applications like strace and gdb include both of them and then the structure definitions are clashing and the build of these user space applications fails. This patch allows a libc to define a constant

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-19 Thread Arnd Bergmann
On Sat, Oct 19, 2019 at 6:43 PM Alexander Sverdlin wrote: > On Fri, 18 Oct 2019 18:29:15 +0200 > Arnd Bergmann wrote: > > > Without CONFIG_SPARSE_IRQ, we rely on mach/irqs.h to define NR_IRQS > > globally. Do the minimal conversion by setting .nr_irqs in each > > machine descriptor. > > > > Only

Re: [PATCH v1 1/5] staging: wfx: fix warnings of no space is necessary

2019-10-19 Thread Joe Perches
On Sat, 2019-10-19 at 21:05 +0300, Dan Carpenter wrote: > On Sat, Oct 19, 2019 at 04:09:03PM +0100, Jules Irenge wrote: > > Checkpatch was complaining about space between type cast and the > > variable. I just get rid of the space. Well I don't know whether this was > > false positive one. > >

[PATCH v2] arm64: defconfig: Enable Qualcomm pseudo rng

2019-10-19 Thread Bjorn Andersson
Most Qualcomm platforms contain a pseudo random number generator hardware block. Enable the driver for this block and also enable the interface for exposing this to userspace. Signed-off-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[GIT] Networking

2019-10-19 Thread David Miller
I was battling a cold after some recent trips, so quite a bit piled up meanwhile, sorry about that. Highlights: 1) Fix fd leak in various bpf selftests, from Brian Vazquez. 2) Fix crash in xsk when device doesn't support some methods, from Magnus Karlsson. 3) Fix various leaks and

Re: [PATCH 44/46] ARM: mmp: remove tavorevb board support

2019-10-19 Thread Arnd Bergmann
On Sat, Oct 19, 2019 at 4:20 PM Lubomir Rintel wrote: > On Fri, 2019-10-18 at 17:41 +0200, Arnd Bergmann wrote: > > > > There is a third board named TavorEVB in the Kconfig description, > > but this refers to the "TTC_DKB" machine. The two are clearly > > related, so I change the Kconfig

Re: [PATCH] Bluetooth: hci_qca: Add delay for wcn3990 stability

2019-10-19 Thread Marcel Holtmann
Hi Matthias, >> On the msm8998 mtp, the response to the baudrate change command is never >> received. On the Lenovo Miix 630, the response to the baudrate change >> command is corrupted - "Frame reassembly failed (-84)". >> >> Adding a 50ms delay before re-enabling flow to

Re: [PATCH v2] net: ethernet: dwmac-sun8i: show message only when switching to promisc

2019-10-19 Thread David Miller
From: Mans Rullgard Date: Fri, 18 Oct 2019 17:56:58 +0100 > Printing the info message every time more than the max number of mac > addresses are requested generates unnecessary log spam. Showing it only > when the hw is not already in promiscous mode is equally informative > without being

Re: [PATCH v2] net: aquantia: add an error handling in aq_nic_set_multicast_list

2019-10-19 Thread David Miller
From: Chen Wandun Date: Fri, 18 Oct 2019 18:20:37 +0800 > From: Chenwandun > > add an error handling in aq_nic_set_multicast_list, it may not > work when hw_multicast_list_set error; and at the same time > it will remove gcc Wunused-but-set-variable warning. > > Signed-off-by: Chenwandun

Re: [PATCH v2] rtlwifi: Fix potential overflow on P2P code

2019-10-19 Thread Laura Abbott
On 10/19/19 6:51 AM, Kalle Valo wrote: Laura Abbott writes: Nicolas Waisman noticed that even though noa_len is checked for a compatible length it's still possible to overrun the buffers of p2pinfo since there's no check on the upper bound of noa_num. Bound noa_num against P2P_MAX_NOA_NUM.

Re: [PATCH] xen/netback: fix error path of xenvif_connect_data()

2019-10-19 Thread David Miller
From: Juergen Gross Date: Fri, 18 Oct 2019 09:45:49 +0200 > xenvif_connect_data() calls module_put() in case of error. This is > wrong as there is no related module_get(). > > Remove the superfluous module_put(). > > Fixes: 279f438e36c0a7 ("xen-netback: Don't destroy the netdev until the vif

[PATCH v2 09/11] mmc: core: fix wl1251 sdio quirks

2019-10-19 Thread H. Nikolaus Schaller
wl1251 and wl1271 have different vendor id and device id. So we need to handle both with sdio quirks. Fixes: 884f38607897 ("mmc: core: move some sdio IDs out of quirks file") Signed-off-by: H. Nikolaus Schaller Cc: # 4.11.0 --- drivers/mmc/core/quirks.h | 7 +++ 1 file changed, 7

[PATCH v2 08/11] mmc: sdio: fix wl1251 vendor id

2019-10-19 Thread H. Nikolaus Schaller
v4.11-rc1 did introduce a patch series that rearranged the sdio quirks into a header file. Unfortunately this did forget to handle SDIO_VENDOR_ID_TI differently between wl1251 and wl1271 with the result that although the wl1251 was found on the sdio bus, the firmware did not load any more and

[PATCH v2 04/11] mmc: host: omap_hsmmc: add code for special init of wl1251 to get rid of pandora_wl1251_init_card

2019-10-19 Thread H. Nikolaus Schaller
Pandora_wl1251_init_card was used to do special pdata based setup of the sdio mmc interface. This does no longer work with v4.7 and later. A fix requires a device tree based mmc3 setup. Therefore we move the special setup to omap_hsmmc.c instead of calling some pdata supplied init_card function.

[PATCH v2 01/11] Documentation: dt: wireless: update wl1251 for sdio

2019-10-19 Thread H. Nikolaus Schaller
The standard method for sdio devices connected to an sdio interface is to define them as a child node like we can see with wlcore. Signed-off-by: H. Nikolaus Schaller Acked-by: Kalle Valo --- .../bindings/net/wireless/ti,wl1251.txt | 26 +++ 1 file changed, 26

[PATCH v2 07/11] omap: remove old hsmmc.[ch] and in Makefile

2019-10-19 Thread H. Nikolaus Schaller
There is a new one in drivers/mmc/host/omap_hsmmc.c configured by CONFIG_MMC_OMAP_HS and the last user was the pdata-quirks for pandora. Suggested-by: Tony Lindgren Signed-off-by: H. Nikolaus Schaller --- arch/arm/mach-omap2/Makefile | 1 - arch/arm/mach-omap2/hsmmc.c| 171

[PATCH v2 03/11] DTS: ARM: pandora-common: define wl1251 as child node of mmc3

2019-10-19 Thread H. Nikolaus Schaller
Since v4.7 the dma initialization requires that there is a device tree property for "rx" and "tx" channels which is not provided by the pdata-quirks initialization. By conversion of the mmc3 setup to device tree this will finally allows to remove the OpenPandora wlan specific omap3 data-quirks.

[PATCH v2 02/11] net: wireless: ti: wl1251 add device tree support

2019-10-19 Thread H. Nikolaus Schaller
We will have the wl1251 defined as a child node of the mmc interface and can read setup for gpios, interrupts and the ti,use-eeprom property from there instead of pdata to be provided by pdata-quirks. Fixes: 81eef6ca9201 ("mmc: omap_hsmmc: Use dma_request_chan() for requesting DMA channel")

Re: [PATCH net] net: hns3: fix mis-counting IRQ vector numbers issue

2019-10-19 Thread David Miller
From: Huazhong Tan Date: Fri, 18 Oct 2019 11:42:59 +0800 > From: Yonglong Liu > > Currently, the num_msi_left means the vector numbers of NIC, > but if the PF supported RoCE, it contains the vector numbers > of NIC and RoCE(Not expected). > > This may cause interrupts lost in some case,

[PATCH v2 10/11] net: wireless: ti: wl1251 use new SDIO_VENDOR_ID_TI_WL1251 definition

2019-10-19 Thread H. Nikolaus Schaller
SDIO_VENDOR_ID_TI_WL1251 is now defined in mmc/sdio_ids.h separately from SDIO_VENDOR_ID_TI for wl1271. Fixes: 884f38607897 ("mmc: core: move some sdio IDs out of quirks file") Signed-off-by: H. Nikolaus Schaller Acked-by: Kalle Valo Cc: # 4.11.0 --- drivers/net/wireless/ti/wl1251/sdio.c | 2

[PATCH v2 00/11] OpenPandora: make wl1251 connected to mmc3 sdio port of OpenPandora work again

2019-10-19 Thread H. Nikolaus Schaller
* added acked-by for wl1251 patches - Kalle Valo * really removed old pdata-quirks code (not through #if 0) * splited out a partial revert of efdfeb079cc3b ("regulator: fixed: Convert to use GPIO descriptor only") because that was introduced after v4.19 and stops the removal of the

  1   2   3   >