Re: [PATCH] RISC-V: defconfig: Enable printk timestamps

2018-10-31 Thread Palmer Dabbelt
On Wed, 31 Oct 2018 12:20:40 PDT (-0700), Olof Johansson wrote: On Tue, Oct 30, 2018 at 5:37 AM Anup Patel wrote: The printk timestamps are very useful information to visually see where kernel is spending time during boot. It also helps us see the timing of hotplug events at runtime. This

Re: [PATCH v3 0/7] Standardize onboard LED support for 96Boards

2018-10-31 Thread Linus Walleij
On Wed, Oct 31, 2018 at 4:47 PM Michal Simek wrote: > No doubt about it that this is good. If this is there from day 1 all will be > good. > I am just saying that we are all the time > saying that we shouldn't break userspace. Right now if there is single > application > which uses existing

[tip:perf/urgent] perf trace beauty: Allow syscalls to mask an argument before considering it

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 496fd346b71ffa0ff35623e9ec79df0bad47bd66 Gitweb: https://git.kernel.org/tip/496fd346b71ffa0ff35623e9ec79df0bad47bd66 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 25 Oct 2018 16:09:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:23 -0300

[tip:perf/urgent] tools headers uapi: Update linux/if_link.h header copy

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 76b0b801782b34b3028dcef3de36cb634e3908a8 Gitweb: https://git.kernel.org/tip/76b0b801782b34b3028dcef3de36cb634e3908a8 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 17:06:57 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:54 -0300

Re: [PATCH v2] kselftests/bpf: use ping6 as the default ipv6 ping binary if it exists

2018-10-31 Thread Daniel Borkmann
On 10/30/2018 07:35 PM, Song Liu wrote: > On Mon, Oct 29, 2018 at 7:35 PM Li Zhijian wrote: >> >> ping binary on some distros doesn't support "ping -6" anymore. >> >> Signed-off-by: Li Zhijian > > I think this should go bpf-next. Please resubmit when the bpf-next tree is > open > (after the

[tip:perf/urgent] tools headers: Sync the various kvm.h header copies

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 827758129a0f84fbd0b2dda15e14a77a7604803d Gitweb: https://git.kernel.org/tip/827758129a0f84fbd0b2dda15e14a77a7604803d Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 17:01:46 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:53 -0300

[tip:perf/urgent] tools headers uapi: Update linux/netlink.h header copy

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d45a57fff0a657045a77b395ae713ffae0cb4e46 Gitweb: https://git.kernel.org/tip/d45a57fff0a657045a77b395ae713ffae0cb4e46 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 17:04:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:54 -0300

Re: [PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-31 Thread Florian Fainelli
On 10/25/18 12:26 PM, Andrew Lunn wrote: > On Thu, Oct 25, 2018 at 12:01:08PM -0700, Florian Fainelli wrote: >> Some software such as perf makes unconditional use of the special >> [vectors] page which is only provided when CONFIG_KUSER_HELPERS is >> enabled in the kernel. >> >> Facilitate the

Miss Aminata musa ibrahim from Libya

2018-10-31 Thread Miss Amina musa ibrahim
-- Miss Aminata musa ibrahim from Libya, I am 22 years old, I am in St. Christopher's Parish for refugee in Burkina Faso under United Nations High commission for Refugee ,I lost my parents in the recent war in Libya, right now am in Burkina Faso, please save my life i am in danger need

[PATCH AUTOSEL 4.19 015/146] lightnvm: pblk: fix two sleep-in-atomic-context bugs

2018-10-31 Thread Sasha Levin
From: Jia-Ju Bai [ Upstream commit 7325b4bbe5952e3e939f15de812f2ee0c0d33ca9 ] The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] nvm_dev_dma_alloc(GFP_KERNEL) drivers/lightnvm/pblk-core.c, 754: nvm_dev_dma_alloc in

[PATCH AUTOSEL 4.19 027/146] iwlwifi: pcie: avoid empty free RB queue

2018-10-31 Thread Sasha Levin
From: Shaul Triebitz [ Upstream commit 868a1e863f95183f00809363fefba6d4f5bcd116 ] If all free RB queues are empty, the driver will never restock the free RB queue. That's because the restocking happens in the Rx flow, and if the free queue is empty there will be no Rx. Although there's a

[PATCH AUTOSEL 4.19 026/146] mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES register to 8 if unset

2018-10-31 Thread Sasha Levin
From: Masahiro Yamada [ Upstream commit 0d55c668b218a1db68b5044bce4de74e1bd0f0c8 ] NAND devices need additional data area (OOB) for error correction, but it is also used for Bad Block Marker (BBM). In many cases, the first byte in OOB is used for BBM, but the location actually depends on chip

[PATCH AUTOSEL 4.19 072/146] net: dsa: mv88e6xxx: Fix writing to a PHY page.

2018-10-31 Thread Sasha Levin
From: Andrew Lunn [ Upstream commit c309b158090d788e96ee597444965cb79b040484 ] After changing to the needed page, actually write the value to the register! Fixes: 09cb7dfd3f14 ("net: dsa: mv88e6xxx: describe PHY page and SerDes") Signed-off-by: Andrew Lunn Signed-off-by: David S. Miller

[PATCH AUTOSEL 4.19 073/146] mt76x2u: run device cleanup routine if resume fails

2018-10-31 Thread Sasha Levin
From: Lorenzo Bianconi [ Upstream commit 9b2fd48d36e25b9be9ddb8be8cc1eb263a1d1843 ] Cleanup {tx,rx} and mcu queues if resume operation fails Fixes: ee676cd5017c ("mt76: add driver code for MT76x2u based devices") Signed-off-by: Lorenzo Bianconi Signed-off-by: Kalle Valo Signed-off-by: Sasha

[PATCH AUTOSEL 4.19 066/146] perf tests: Fix record+probe_libc_inet_pton.sh without ping's debuginfo

2018-10-31 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit 1632936480a53d85ef3012cd9f290e247251cbb9 ] When we don't have the iputils-debuginfo package installed, i.e. when we don't have the DWARF information needed to resolve ping's samples, we end up failing this 'perf test' entry: # perf test ping

[PATCH AUTOSEL 4.19 069/146] net: hns3: Preserve vlan 0 in hardware table

2018-10-31 Thread Sasha Levin
From: Yunsheng Lin [ Upstream commit daaa8521760ee4d4e65f309c4c37b3a1e58c9d4e ] When netdev is down, the stack will delete the vlan from hardware including vlan0, which will cause problem when doing loopback selftest when netdev is down. This patch fixes it by always preserving vlan 0 in

[PATCH AUTOSEL 4.19 063/146] pinctrl: qcom: spmi-mpp: Fix drive strength setting

2018-10-31 Thread Sasha Levin
From: Stephen Boyd [ Upstream commit 89c68b102f13f123aaef22b292526d6b92501334 ] It looks like we parse the drive strength setting here, but never actually write it into the hardware to update it. Parse the setting and then write it at the end of the pinconf setting function so that it actually

[PATCH AUTOSEL 4.19 041/146] ath10k: fix tx status flag setting for management frames

2018-10-31 Thread Sasha Levin
From: Rakesh Pillai [ Upstream commit 058a7eab9d9ee12f57282eb0b606668dada70d7a ] The tx_status for management frames is being filled incorrectly in the flags of skb_cb. This incorrect flag setting causes the upper layers to consider that the particular frame was not transmitted properly,

[PATCH AUTOSEL 4.19 040/146] nvme: call nvme_complete_rq when nvmf_check_ready fails for mpath I/O

2018-10-31 Thread Sasha Levin
From: James Smart [ Upstream commit 783f4a4408e1251d17f333ad56abac24dde988b9 ] When an io is rejected by nvmf_check_ready() due to validation of the controller state, the nvmf_fail_nonready_command() will normally return BLK_STS_RESOURCE to requeue and retry. However, if the controller is

[PATCH AUTOSEL 4.19 056/146] net: hns3: Set STATE_DOWN bit of hdev state when stopping net

2018-10-31 Thread Sasha Levin
From: Fuyun Liang [ Upstream commit 2f7e489611bc685b8e00aba436032a8aac6cac57 ] We clear STATE_DOWN bit of hdev state when starting net, but do not set it again when stopping net. It causes that the net is down, but hdev state is still up. STATE_DOWN bit of hdev state should be set when stopping

[PATCH AUTOSEL 4.19 045/146] net: hns3: Fix for packet buffer setting bug

2018-10-31 Thread Sasha Levin
From: Yunsheng Lin [ Upstream commit 996ff91840eb6f288826e472685abde78bac20ea ] The hardware expects a unit of 128 bytes when setting packet buffer. When calculating the packet buffer size, hclge_rx_buffer_calc does not round up the size as a unit of 128 byte, which may casue packet lost

[PATCH AUTOSEL 4.19 005/146] netfilter: xt_nat: fix DNAT target for shifted portmap ranges

2018-10-31 Thread Sasha Levin
From: Paolo Abeni [ Upstream commit cb20f2d2c0507d60d94ef896991e95708f051dd1 ] The commit 2eb0f624b709 ("netfilter: add NAT support for shifted portmap ranges") did not set the checkentry/destroy callbacks for the newly added DNAT target. As a result, rulesets using only such nat targets are

[PATCH AUTOSEL 4.19 002/146] net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode

2018-10-31 Thread Sasha Levin
From: Ivan Khoronzhuk [ Upstream commit 9737cc99dd14b5b8b9d267618a6061feade8ea68 ] After flushing all mcast entries from the table, the ones contained in mc list of ndev are not restored when promisc mode is toggled off, because they are considered as synched with ALE, thus, in order to restore

[PATCH AUTOSEL 4.19 001/146] net: socionext: Reset tx queue in ndo_stop

2018-10-31 Thread Sasha Levin
From: Masahisa Kojima [ Upstream commit 8d5b0bf611ec5b7618d5b772dddc93b8afa78cb8 ] We observed that packets and bytes count are not reset when user performs interface down. Eventually, tx queue is exhausted and packets will not be sent out. To avoid this problem, resets tx queue in ndo_stop.

[PATCH AUTOSEL 4.19 008/146] arm64: cpufeature: ctr: Fix cpu capability check for late CPUs

2018-10-31 Thread Sasha Levin
From: Suzuki K Poulose [ Upstream commit 8ab66cbe63aeaf9e5970fb4aaef1c660fca59321 ] The matches() routine for a capability must honor the "scope" passed to it and return the proper results. i.e, when passed with SCOPE_LOCAL_CPU, it should check the status of the capability on the current CPU.

[PATCH AUTOSEL 4.19 012/146] s390/sthyi: Fix machine name validity indication

2018-10-31 Thread Sasha Levin
From: Janosch Frank [ Upstream commit b5130dc2224d1881f24224c0590c6d97f2168d6a ] When running as a level 3 guest with no host provided sthyi support sclp_ocf_cpc_name_copy() will only return zeroes. Zeroes are not a valid group name, so let's not indicate that the group name field is valid.

[PATCH AUTOSEL 4.19 065/146] failover: Add missing check to validate 'slave_dev' in net_failover_slave_unregister

2018-10-31 Thread Sasha Levin
From: YueHaibing [ Upstream commit 9e7e6cabf371cc008cb2244a04c012b516753693 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/net_failover.c: In function 'net_failover_slave_unregister': drivers/net/net_failover.c:598:35: warning: variable 'primary_dev' set but not used

[PATCH AUTOSEL 4.19 018/146] perf tools: Free temporary 'sys' string in read_event_files()

2018-10-31 Thread Sasha Levin
From: Sanskriti Sharma [ Upstream commit 1e44224fb0528b4c0cc176bde2bb31e9127eb14b ] For each system in a given pevent, read_event_files() reads in a temporary 'sys' string. Be sure to free this string before moving onto to the next system and/or leaving read_event_files(). Fixes the following

[PATCH 2/3] ALSA:hda: fix front speakers on Huawei MBXP.

2018-10-31 Thread Ayman Bagabas
This patch enables the front speakers on Huawei Matebook X Pro laptops. These laptops come with Dolby Atmos sound system and these pins configuration enables the front speakers. Signed-off-by: Ayman Bagabas --- sound/pci/hda/patch_realtek.c | 18 ++ 1 file changed, 18

[PATCH anybus v2 2/5] dt-bindings: anybus-bridge: document devicetree binding.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck This patch adds devicetree binding documentation for the Arcx anybus bridge. Signed-off-by: Sven Van Asbroeck --- .../bindings/misc/arcx,anybus-bridge.txt | 34 +++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 35

[PATCH v3 1/3] mfd: upboard: Add UP2 platform controller driver

2018-10-31 Thread Dan O'Donovan
UP Squared (UP2) is a x86 SBC from AAEON based on Intel Apollo Lake. It features a MAX 10 FPGA that routes lines from both SoC and on-board devices to two I/O headers: ++ | 40-pin RPi-like header |

[PATCH v3 3/3] pinctrl: upboard: Add UP2 pinctrl and gpio driver

2018-10-31 Thread Dan O'Donovan
The UP2 board features a Raspberry Pi compatible pin header (HAT) and a board-specific expansion connector (EXHAT). Both expose assorted functions from either the SoC (such as GPIO, I2C, SPI, UART...) or other on-board devices (ADC, FPGA IP blocks...). These lines are routed through an on-board

[PATCH v3 0/3] UP Squared board drivers

2018-10-31 Thread Dan O'Donovan
Hi all, This series adds platform support for AAEON's UP Squared, a x86 SBC based on Apollo Lake [1]. Specifically, it enables control for the board pin headers and for the LEDs, as both of these features are only available behind a FPGA-based platform controller. This is structured around a MFD

[PATCH v3 2/3] leds: upboard: Add LED support

2018-10-31 Thread Dan O'Donovan
Allow userspace to use the on-board LEDs as "upboard::". Acked-by: Pavel Machek Signed-off-by: Dan O'Donovan --- drivers/leds/Kconfig| 10 + drivers/leds/Makefile | 1 + drivers/leds/leds-upboard.c | 103 3 files changed, 114

[PATCH v3] ASoC: AMD: Fix race condition between register access

2018-10-31 Thread Agrawal, Akshu
During simultaneous running of playback and capture, we got hit by incorrect value write on common register. This was due to race condition between 2 streams. Fixing this by locking the common register access. Signed-off-by: Akshu Agrawal --- v2: Added 2 helper functions, removed locking in ch

Re: linux-next: Tree for Oct 31 (vboxguest)

2018-10-31 Thread Randy Dunlap
On 10/31/18 2:41 PM, Arnd Bergmann wrote: > On 10/31/18, Randy Dunlap wrote: >> On 10/30/18 8:59 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Please do not add any v4.21/v5.1 code to your linux-next included trees >>> until after the merge window closes. >>> >>> Changes since 20181030: >>> >>

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2018-10-31 Thread Pierre-Louis Bossart
Just thought it worth mentioning, this new patch that fixes sound again, seems to have ressurected an old issue with PLL unlock. I'm seeing journal entries after fresh boot .. ``` picard kernel: max98090 i2c-193C9890:00: PLL unlocked picard systemd[462]: Started Sound Service. picard

Fix for 10-second delay bug for -stable

2018-10-31 Thread Paul E. McKenney
Hello! I have lightly tested the following backport of 92aa39e9dc77 ("rcu: Make need_resched() respond to urgent RCU-QS needs") on v4.12-v4.19. Does it look reasonable from your viewpoint? If I don't hear otherwise, I will send it along to -stable at the end of this coming weekend, Pacific Time.

[PATCH anybus v2 1/5] misc: support the Arcx anybus bridge.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck Add a driver for the Arcx anybus bridge. This chip embeds up to two Anybus-S application connectors (slots), and connects to the SoC via a parallel memory bus. There is also a CAN power readout, unrelated to the Anybus. Signed-off-by: Sven Van Asbroeck ---

[PATCH anybus v2 5/5] misc: support HMS Profinet IRT industrial controller.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck The Anybus-S PROFINET IRT communication module provides instant integration to any Ethernet based LAN via SMTP, FTP, HTTP as well as PROFINET and Modbus-TCP. Additional protocols can be implemented on top of TCP/IP or UDP using the transparent socket interface. Official

[PATCH anybus v2 3/5] bus: support HMS Anybus-S bus.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck The Anybus-S/Anybus-M is a series of interchangeable fieldbus communication modules featuring on board memory and processing power. All software and hardware functionality required to communicate on the fieldbus is incorporated in the module itself, allowing the

[PATCH anybus v2 4/5] dt-bindings: anybuss-host: document devicetree binding.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck This patch adds devicetree binding documentation for the Arcx Anybus-S host. Signed-off-by: Sven Van Asbroeck --- .../bindings/bus/arcx,anybuss-host.txt| 36 +++ 1 file changed, 36 insertions(+) create mode 100644

[PATCH anybus v2 0/5] Support HMS Profinet Card over Anybus

2018-10-31 Thread thesven73
From: Sven Van Asbroeck This patch set adds support for the HMS Industrial Networks AB Profinet card. Profinet is an industry technical standard for data communication over Industrial Ethernet, designed for collecting data from, and controlling, equipment in industrial systems, with a

[GIT PULL] fuse update for 4.20

2018-10-31 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-update-4.20 As well as the usual bug fixes, this adds the following new features: - cached readdir and readlink - max I/O size increased from 128k to 1M - improved performance and

Re: [PATCH 3/7] dt-bindings: pinctrl: ds90ux9xx: add description of TI DS90Ux9xx pinmux

2018-10-31 Thread Vladimir Zapolskiy
Hi Luca, On 10/30/2018 06:44 PM, Luca Ceresoli wrote: > Hi Vladimir, > > On 16/10/18 14:48, Laurent Pinchart wrote: >> Hi Vladimir, >> >> On Saturday, 13 October 2018 16:47:48 EEST Vladimir Zapolskiy wrote: >>> On 10/12/2018 03:01 PM, Laurent Pinchart wrote: On Tuesday, 9 October 2018

Re: [GIT PULL] fuse update for 4.20

2018-10-31 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 1:31 PM Miklos Szeredi wrote: > > As well as the usual bug fixes, this adds the following new features: > [...] Pulled, Linus

[tip:perf/urgent] perf trace beauty: Use the mmap flags table generated from headers

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2f967f1dbbc1f746ad0deda8352bcf563d59e1c7 Gitweb: https://git.kernel.org/tip/2f967f1dbbc1f746ad0deda8352bcf563d59e1c7 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 16:30:38 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:53 -0300

[tip:perf/urgent] tools include uapi: Update linux/mmap.h copy

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 685626dc26bd9cead850d06520708acbd16bcfda Gitweb: https://git.kernel.org/tip/685626dc26bd9cead850d06520708acbd16bcfda Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 16:50:08 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:53 -0300

[tip:perf/urgent] perf beauty: Wire up the mmap flags table generator to the Makefile

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: fbd7458db75790e37903c75be68513a4c087737c Gitweb: https://git.kernel.org/tip/fbd7458db75790e37903c75be68513a4c087737c Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 16:11:59 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:52 -0300

Re: remove exofs and the T10 OSD code V2

2018-10-31 Thread Finn Thain
On Wed, 31 Oct 2018, Boaz Harrosh wrote: > > [...] All changes made by other kernel developers than you are the > > result of tree-wide refactoring, compiler warning fixes, fixes for > > issues detected by static source code analyzers or spelling fixes. > > Hence my question: how big is the

[PATCH AUTOSEL 4.19 085/146] cifs: fix a credits leak for compund commands

2018-10-31 Thread Sasha Levin
From: Ronnie Sahlberg [ Upstream commit cb5c2e63948451d38c977685fffc06e23beb4517 ] When processing the mids for compounds we would only add credits based on the last successful mid in the compound which would leak credits and eventually triggering a re-connect. Fix this by splitting the mid

[PATCH AUTOSEL 4.19 086/146] cgroup, netclassid: add a preemption point to write_classid

2018-10-31 Thread Sasha Levin
From: Michal Hocko [ Upstream commit a90e90b7d55e789c71d85b946ffb5c1ab2f137ca ] We have seen a customer complaining about soft lockups on !PREEMPT kernel config with 4.4 based kernel [1072141.435366] NMI watchdog: BUG: soft lockup - CPU#21 stuck for 22s! [systemd:1] [1072141.444090] Modules

[PATCH AUTOSEL 4.19 076/146] iwlwifi: mvm: fix BAR seq ctrl reporting

2018-10-31 Thread Sasha Levin
From: Sara Sharon [ Upstream commit 941ab4eb66c10bc5c7234e83a7a858b2806ed151 ] There is a bug in FW where the sequence control may be incorrect, and the driver overrides it with the value of the ieee80211 header. However, in BAR there is no sequence control in the header, which result with

[PATCH AUTOSEL 4.19 031/146] wlcore: Fix BUG with clear completion on timeout

2018-10-31 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 4e651bad848955d88b29a568bfbfb4b831270e16 ] We do not currently clear wl->elp_compl on ELP timeout and we have bogus lingering pointer that wlcore_irq then will try to access after recovery is done: BUG: spinlock bad magic on CPU#1, irq/255-wl12xx/580 ...

[PATCH AUTOSEL 4.19 039/146] regulator: fixed: Default enable high on DT regulators

2018-10-31 Thread Sasha Levin
From: Linus Walleij [ Upstream commit 28be5f15df2ee6882b0a122693159c96a28203c7 ] commit efdfeb079cc3 ("regulator: fixed: Convert to use GPIO descriptor only") switched to use gpiod_get() to look up the regulator from the gpiolib core whether that is device tree or boardfile. This meant that we

[PATCH AUTOSEL 4.19 053/146] pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux

2018-10-31 Thread Sasha Levin
From: YueHaibing [ Upstream commit 69f8455f6cc78fa6cdf80d0105d7a748106271dc ] 'ret' should be returned while pmic_mpp_write_mode_ctl fails. Fixes: 0e948042c420 ("pinctrl: qcom: spmi-mpp: Implement support for sink mode") Signed-off-by: YueHaibing Signed-off-by: Linus Walleij Signed-off-by:

[PATCH AUTOSEL 4.19 049/146] x86: boot: Fix EFI stub alignment

2018-10-31 Thread Sasha Levin
From: Ben Hutchings [ Upstream commit 9c1442a9d039a1a3302fa93e9a11001c5f23b624 ] We currently align the end of the compressed image to a multiple of 16. However, the PE-COFF header included in the EFI stub says that the file alignment is 32 bytes, and when adding an EFI signature to the file

[PATCH AUTOSEL 4.19 103/146] PCI: mediatek: Fix mtk_pcie_find_port() endpoint/port matching logic

2018-10-31 Thread Sasha Levin
From: Honghui Zhang [ Upstream commit 074d6f32689ce05a084b6fa3db38445745bf11cc ] The Mediatek's host controller has two slots, each with its own control registers. The host driver needs to identify what slot is connected to what port in order to access the device's configuration space. Current

[PATCH AUTOSEL 4.19 108/146] Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu mask

2018-10-31 Thread Sasha Levin
From: Dexuan Cui [ Upstream commit 25355252607ca288f329ee033f387764883393f6 ] A cpumask structure on the stack can cause a warning with CONFIG_NR_CPUS=8192 (e.g. Ubuntu 16.04 and 18.04 use this): drivers/hv//channel_mgmt.c: In function ‘init_vp_index’: drivers/hv//channel_mgmt.c:702:1:

[PATCH AUTOSEL 4.19 110/146] VMCI: Resource wildcard match fixed

2018-10-31 Thread Sasha Levin
From: Jorgen Hansen [ Upstream commit 11924ba5e671d6caef1516923e2bd8c72929a3fe ] When adding a VMCI resource, the check for an existing entry would ignore that the new entry could be a wildcard. This could result in multiple resource entries that would match a given handle. One disastrous

[PATCH AUTOSEL 4.19 105/146] usb: typec: tcpm: Report back negotiated PPS voltage and current

2018-10-31 Thread Sasha Levin
From: Adam Thomson [ Upstream commit 554fab6dbf20ee7298ed2d4e8398b85e6058abb7 ] Currently when requesting a specific voltage or current through the psy interface, for PPS, when reading back from that interface the values will always be the same as previously given, if the request was

[PATCH AUTOSEL 4.19 094/146] UAPI: ndctl: Fix g++-unsupported initialisation in headers

2018-10-31 Thread Sasha Levin
From: David Howells [ Upstream commit 9607871f37dc3e717639694b8d0dc738f2a68efc ] The following code in the linux/ndctl header file: static inline const char *nvdimm_bus_cmd_name(unsigned cmd) { static const char * const names[] = {

[PATCH AUTOSEL 4.19 124/146] f2fs: fix to recover inode's i_flags during POR

2018-10-31 Thread Sasha Levin
From: Chao Yu [ Upstream commit 19c73a691ccf6fb2f12d4e9cf9830023966cec88 ] Testcase to reproduce this bug: 1. mkfs.f2fs /dev/sdd 2. mount -t f2fs /dev/sdd /mnt/f2fs 3. touch /mnt/f2fs/file 4. sync 5. chattr +A /mnt/f2fs/file 6. xfs_io -f /mnt/f2fs/file -c "fsync" 7. godown /mnt/f2fs 8. umount

Re: [PATCH] RISC-V: defconfig: Enable printk timestamps

2018-10-31 Thread Olof Johansson
On Tue, Oct 30, 2018 at 5:37 AM Anup Patel wrote: > > The printk timestamps are very useful information to visually see > where kernel is spending time during boot. It also helps us see > the timing of hotplug events at runtime. > > This patch enables printk timestamps in RISC-V defconfig so that

[PATCH] ASoC: stm32: sai: fix less than zero comparison on unsigned int

2018-10-31 Thread Colin King
From: Colin Ian King Currently, the comparison of div < 0 is always false because div is an unsigned int. Fix this by making div an int. Detected by CoverityScan, CID#1475309 ("Unsigned compared against 0") Fixes: 8307b2afd386 "(ASoC: stm32: sai: set sai as mclk clock provider") Signed-off-by:

[PATCH v3] include/linux/compiler*.h: define asm_volatile_goto

2018-10-31 Thread ndesaulniers
asm_volatile_goto should also be defined for other compilers that support asm goto. Fixes commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"). Signed-off-by: Nick Desaulniers --- V2 -> V3: update subject line & add reference to fixed commit. V1 -> V2: drop

Re: s390: runtime warning about pgtables_bytes

2018-10-31 Thread Joe Lawrence
On Fri, Oct 12, 2018 at 05:08:33PM +0200, Martin Schwidefsky wrote: > On Thu, 11 Oct 2018 15:02:11 +0200 > Martin Schwidefsky wrote: > > > On Thu, 11 Oct 2018 18:04:12 +0800 > > Li Wang wrote: > > > > > When running s390 system with LTP/cve-2017-17052.c[1], the following BUG > > > is > > >

Re: [PATCH v2 1/3] mfd: upboard: Add UP2 platform controller driver

2018-10-31 Thread Dan O'Donovan
On 10/20/2018 12:49 PM, Andy Shevchenko wrote: > On Fri, Oct 19, 2018 at 8:26 PM Dan O'Donovan wrote: >> From: Javier Arteaga >> >> UP Squared (UP2) is a x86 SBC from AAEON based on Intel Apollo Lake. It >> features a MAX 10 FPGA that routes lines from both SoC and on-board >> devices to two

Re: [PATCH 0/4] ntb: idt: Add hwmon temperature sensor interface

2018-10-31 Thread Jon Mason
On Sat, Jul 14, 2018 at 02:58:30PM +0300, Serge Semin wrote: > IDT PCIe-switches are equipped with an embedded temperature sensor. It > works within the range [0; 127.5]C with a resolution of 0.5C. It can > be used to monitor the chip core temperature so to have prevent it from > possible

linux-next: build warning in Linus' tree tree

2018-10-31 Thread Stephen Rothwell
Hi all, Building Linus' tree, today's linux-next build (x86_64 allmodconfig) produced this warning: ./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include Introduced by commit c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and

Re: 4.18: early boot crash in thermal_cooling_device_destroy_sysfs

2018-10-31 Thread Randy Dunlap
On 10/30/18 10:47 PM, Randy Dunlap wrote: > On 10/30/18 6:07 PM, Zhang Rui wrote: >> Hi, Randy, >> >> On 五, 2018-10-26 at 20:35 -0700, Randy Dunlap wrote: >>> On 10/26/18 2:14 AM, Rafael J. Wysocki wrote: On Monday, October 22, 2018 8:37:25 PM CEST Randy Dunlap wrote: > > >

Re: [PATCH v2] Implement /proc/pid/kill

2018-10-31 Thread Joel Fernandes
On Thu, Nov 01, 2018 at 04:33:53AM +1100, Aleksa Sarai wrote: > On 2018-10-31, Joel Fernandes wrote: > > I suggest to maintainers we take this in as an intermediate solution > > since we don't have anything close to it and this is a real issue, and > > the fix proposed is simple. > > I would

[tip:perf/urgent] tools include uapi: Grab a copy of linux/fs.h

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f443f38c5789ece6ebe59ae21c27bf861e61c4e2 Gitweb: https://git.kernel.org/tip/f443f38c5789ece6ebe59ae21c27bf861e61c4e2 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 24 Oct 2018 14:31:12 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:22 -0300

[tip:perf/urgent] perf beauty: Add a generator for MAP_ mmap's flag constants

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 80ee5668b8a755039ca6180c6272a6e8efee5aad Gitweb: https://git.kernel.org/tip/80ee5668b8a755039ca6180c6272a6e8efee5aad Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 15:26:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:52 -0300

[tip:perf/urgent] tools arch uapi: Update asm-generic/unistd.h and arm64 unistd.h copies

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8dd4c0f68c0db4c0f01af60a99a7ed34fd3dee2b Gitweb: https://git.kernel.org/tip/8dd4c0f68c0db4c0f01af60a99a7ed34fd3dee2b Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 13:10:50 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:51 -0300

[tip:perf/urgent] tools include uapi: Update asound.h copy

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 89eb1f3b7f2a9156ce6f78713d7924c1bb2fab9f Gitweb: https://git.kernel.org/tip/89eb1f3b7f2a9156ce6f78713d7924c1bb2fab9f Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 14:20:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:52 -0300

[Patch v4 1/3] CIFS: Add support for direct I/O read

2018-10-31 Thread Long Li
From: Long Li With direct I/O read, we transfer the data directly from transport layer to the user data buffer. Change in v3: add support for kernel AIO Change in v4: Refactor common read code to __cifs_readv for direct and non-direct I/O. Retry on direct I/O failure. Signed-off-by: Long Li

[Patch v4 2/3] CIFS: Add support for direct I/O write

2018-10-31 Thread Long Li
From: Long Li With direct I/O write, user supplied buffers are pinned to the memory and data are transferred directly from user buffers to the transport layer. Change in v3: add support for kernel AIO Change in v4: Refactor common write code to __cifs_writev for direct and non-direct I/O.

[tip:perf/urgent] perf intel-pt/bts: Calculate cpumode for synthesized samples

2018-10-31 Thread tip-bot for Adrian Hunter
Commit-ID: 5d4f0edaa3ac4f1844ed7c64cd2bae6f1912bac5 Gitweb: https://git.kernel.org/tip/5d4f0edaa3ac4f1844ed7c64cd2bae6f1912bac5 Author: Adrian Hunter AuthorDate: Wed, 31 Oct 2018 11:10:43 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 12:56:26 -0300 perf

[Patch v4 3/3] CIFS: Add direct I/O functions to file_operations

2018-10-31 Thread Long Li
From: Long Li With direct read/write functions implemented, add them to file_operations. Dircet I/O is used under two conditions: 1. When mounting with "cache=none", CIFS uses direct I/O for all user file data transfer. 2. When opening a file with O_DIRECT, CIFS uses direct I/O for all data

[PATCH AUTOSEL 4.4 27/32] driver/dma/ioat: Call del_timer_sync() without holding prep_lock

2018-10-31 Thread Sasha Levin
From: Waiman Long [ Upstream commit cfb03be6c7e8a1591285849c361d67b09f5149f7 ] The following lockdep splat was observed: [ 1222.241750] == [ 1222.271301] WARNING: possible circular locking dependency detected [ 1222.301060]

[PATCH AUTOSEL 4.4 31/32] dmaengine: dma-jz4780: Return error if not probed from DT

2018-10-31 Thread Sasha Levin
From: Paul Cercueil [ Upstream commit 54f919a04cf221bc1601d1193682d4379dacacbd ] The driver calls clk_get() with the clock name set to NULL, which means that the driver could only work when probed from devicetree. From now on, we explicitly require the driver to be probed from devicetree.

[PATCH AUTOSEL 3.18 08/22] mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01

2018-10-31 Thread Sasha Levin
From: Yu Zhao [ Upstream commit 5169894982bb67486d93cc1e10151712bb86bcb6 ] This device reports SDHCI_CLOCK_INT_STABLE even though it's not ready to take SDHCI_CLOCK_CARD_EN. The symptom is that reading SDHCI_CLOCK_CONTROL after enabling the clock shows absence of the bit from the register (e.g.

[PATCH AUTOSEL 3.18 07/22] cpupower: Fix coredump on VMWare

2018-10-31 Thread Sasha Levin
From: Prarit Bhargava [ Upstream commit f69ffc5d3db8f1f03fd6d1df5930f9a1fbd787b6 ] cpupower crashes on VMWare guests. The guests have the AMD PStateDef MSR (0xC0010064 + state number) set to zero. As a result fid and did are zero and the crash occurs because of a divide by zero (cof =

[PATCH AUTOSEL 3.18 06/22] perf tools: Cleanup trace-event-info 'tdata' leak

2018-10-31 Thread Sasha Levin
From: Sanskriti Sharma [ Upstream commit faedbf3fd19f2511a39397f76359e4cc6ee93072 ] Free tracing_data structure in tracing_data_get() error paths. Fixes the following coverity complaint: Error: RESOURCE_LEAK (CWE-772): leaked_storage: Variable "tdata" going out of scope leaks the storage

[PATCH AUTOSEL 3.18 03/22] swim: fix cleanup on setup error

2018-10-31 Thread Sasha Levin
From: Omar Sandoval [ Upstream commit 1448a2a5360ae06f25e2edc61ae070dff5c0beb4 ] If we fail to allocate the request queue for a disk, we still need to free that disk, not just the previous ones. Additionally, we need to cleanup the previous request queues. Signed-off-by: Omar Sandoval

[PATCH AUTOSEL 3.18 09/22] x86/olpc: Indicate that legacy PC XO-1 platform should not register RTC

2018-10-31 Thread Sasha Levin
From: Lubomir Rintel [ Upstream commit d92116b800fb79a72ad26121f5011f6aa3ad94c2 ] On OLPC XO-1, the RTC is discovered via device tree from the arch initcall. Don't let the PC platform register another one from its device initcall, it's not going to work: sysfs: cannot create duplicate

[PATCH AUTOSEL 4.9 48/48] ALSA: hda: Check the non-cached stream buffers more explicitly

2018-10-31 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit 78c9be61c3a5cd9e2439fd27a5ffad73a81958c7 ] Introduce a new flag, uc_buffer, to indicate that the controller requires the non-cached pages for stream buffers, either as a chip-specific requirement or specified via snoop=0 option. This improves the

[PATCH AUTOSEL 4.9 43/48] driver/dma/ioat: Call del_timer_sync() without holding prep_lock

2018-10-31 Thread Sasha Levin
From: Waiman Long [ Upstream commit cfb03be6c7e8a1591285849c361d67b09f5149f7 ] The following lockdep splat was observed: [ 1222.241750] == [ 1222.271301] WARNING: possible circular locking dependency detected [ 1222.301060]

[PATCH AUTOSEL 4.9 46/48] signal: Always deliver the kernel's SIGKILL and SIGSTOP to a pid namespace init

2018-10-31 Thread Sasha Levin
From: "Eric W. Biederman" [ Upstream commit 3597dfe01d12f570bc739da67f857fd222a3ea66 ] Instead of playing whack-a-mole and changing SEND_SIG_PRIV to SEND_SIG_FORCED throughout the kernel to ensure a pid namespace init gets signals sent by the kernel, stop allowing a pid namespace init to ignore

[PATCH AUTOSEL 4.9 47/48] dmaengine: dma-jz4780: Return error if not probed from DT

2018-10-31 Thread Sasha Levin
From: Paul Cercueil [ Upstream commit 54f919a04cf221bc1601d1193682d4379dacacbd ] The driver calls clk_get() with the clock name set to NULL, which means that the driver could only work when probed from devicetree. From now on, we explicitly require the driver to be probed from devicetree.

[PATCH AUTOSEL 4.14 56/73] ext4: fix argument checking in EXT4_IOC_MOVE_EXT

2018-10-31 Thread Sasha Levin
From: Theodore Ts'o [ Upstream commit f18b2b83a727a3db208308057d2c7945f368e625 ] If the starting block number of either the source or destination file exceeds the EOF, EXT4_IOC_MOVE_EXT should return EINVAL. Also fixed the helper function mext_check_coverage() so that if the logical block is

Re: [PATCH v3 4/5] modpost: Changes parameter name to avoid shadowing.

2018-10-31 Thread Leonardo Bras
Em seg, 2018-10-29 às 01:42 +0900, Masahiro Yamada escreveu: > On Wed, Oct 24, 2018 at 1:05 PM Leonardo Bras > wrote: > > Changes the parameter name to avoid shadowing a variable. > > > > Signed-off-by: Leonardo Bras > > For this one, I'd rather like to see code refactoring > than renaming the

RE: [PATCH V2 3/5] Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up

2018-10-31 Thread Dexuan Cui
> From: Michael Kelley > Sent: Wednesday, October 24, 2018 08:38 > From: k...@linuxonhyperv.com Sent: Wednesday, > October 17, 2018 10:10 PM > > From: Dexuan Cui > > > > In kvp_send_key(), we do need call process_ib_ipinfo() if > > message->kvp_hdr.operation is KVP_OP_GET_IP_INFO, because it

[PATCH AUTOSEL 4.14 53/73] VMCI: Resource wildcard match fixed

2018-10-31 Thread Sasha Levin
From: Jorgen Hansen [ Upstream commit 11924ba5e671d6caef1516923e2bd8c72929a3fe ] When adding a VMCI resource, the check for an existing entry would ignore that the new entry could be a wildcard. This could result in multiple resource entries that would match a given handle. One disastrous

[PATCH AUTOSEL 4.14 60/73] coresight: etb10: Fix handling of perf mode

2018-10-31 Thread Sasha Levin
From: Suzuki K Poulose [ Upstream commit 987d1e8dcd370d96029a3d76a0031b043c4a69ae ] If the ETB is already enabled in sysfs mode, the ETB reports success even if a perf mode is requested. Fix this by checking the requested mode. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose

[PATCH AUTOSEL 4.14 63/73] usb: chipidea: Prevent unbalanced IRQ disable

2018-10-31 Thread Sasha Levin
From: Loic Poulain [ Upstream commit 8b97d73c4d72a2abf58f8e49062a7ee1e5f1334e ] The ChipIdea IRQ is disabled before scheduling the otg work and re-enabled on otg work completion. However if the job is already scheduled we have to undo the effect of disable_irq int order to balance the IRQ

[PATCH AUTOSEL 4.14 71/73] dmaengine: dma-jz4780: Return error if not probed from DT

2018-10-31 Thread Sasha Levin
From: Paul Cercueil [ Upstream commit 54f919a04cf221bc1601d1193682d4379dacacbd ] The driver calls clk_get() with the clock name set to NULL, which means that the driver could only work when probed from devicetree. From now on, we explicitly require the driver to be probed from devicetree.

[PATCH AUTOSEL 4.14 59/73] PCI/MSI: Warn and return error if driver enables MSI/MSI-X twice

2018-10-31 Thread Sasha Levin
From: Tonghao Zhang [ Upstream commit 4c1ef72e9b71a19fb405ebfcd37c0a5e16fa44ca ] It is a serious driver defect to enable MSI or MSI-X more than once. Doing so may panic the kernel as in the stack trace below: Call Trace: sysfs_add_one+0xa5/0xd0 create_dir+0x7c/0xe0

[PATCH AUTOSEL 4.14 64/73] driver/dma/ioat: Call del_timer_sync() without holding prep_lock

2018-10-31 Thread Sasha Levin
From: Waiman Long [ Upstream commit cfb03be6c7e8a1591285849c361d67b09f5149f7 ] The following lockdep splat was observed: [ 1222.241750] == [ 1222.271301] WARNING: possible circular locking dependency detected [ 1222.301060]

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