KASAN: use-after-free Read in seq_escape

2018-09-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:17b57b1883c1 Linux 4.19-rc6 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1672d71140 kernel config: https://syzkaller.appspot.com/x/.config?x=c0af03fe452b65fb dashboard link: https://syzkaller.a

[PATCH 01/19] perf scripts python: call-graph-from-sql.py: Use SPDX license identifier

2018-09-30 Thread Adrian Hunter
Use SPDX license identifier in call-graph-from-sql.py. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/call-graph-from-sql.py | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/tools/perf/scripts/python/call-graph-from-sql.py b/tools/perf/scripts/pyth

[PATCH 03/19] perf scripts python: call-graph-from-sql.py: Set a minimum window size

2018-09-30 Thread Adrian Hunter
Prevent weirdly small window size. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/call-graph-from-sql.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/scripts/python/call-graph-from-sql.py b/tools/perf/scripts/python/call-graph-from-sql.py index e1014f2628a7..68153f

[PATCH 05/19] perf scripts python: call-graph-from-sql.py: Make a "Main" function

2018-09-30 Thread Adrian Hunter
Make a "Main" function so that the variables used do not pollute the global namespace. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/call-graph-from-sql.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/perf/scripts/python/call-graph-from-sql.py b/t

[PATCH 06/19] perf scripts python: call-graph-from-sql.py: Separate the database details into a class

2018-09-30 Thread Adrian Hunter
Separate the database details into a class that can provide different connections using the same connection information. That paves the way for sub-processes that require their own connection. Signed-off-by: Adrian Hunter --- .../scripts/python/call-graph-from-sql.py | 63 +++---

[PATCH 02/19] perf scripts python: call-graph-from-sql.py: Provide better default column sizes

2018-09-30 Thread Adrian Hunter
Set initial column sizes to improve initial display. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/call-graph-from-sql.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/scripts/python/call-graph-from-sql.py b/tools/perf/scripts/python/call-graph-from-sql.py index

[PATCH 00/19] perf scripts python: call-graph-from-sql.py / exported-sql-viewer.py disassembly

2018-09-30 Thread Adrian Hunter
Hi Here are some patches to the call-graph-from-sql.py script which is renamed exported-sql-viewer.py in patch 12 "perf scripts python: call-graph-from-sql.py: Rename to exported-sql-viewer.py". The purpose of these patches is to add support for disassembly - refer patch 23 "perf scripts python:

[PATCH 04/19] perf scripts python: call-graph-from-sql.py: Change icon

2018-09-30 Thread Adrian Hunter
There are not many standard icons, but the computer icon looks slightly better than the information icon. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/call-graph-from-sql.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/perf/scripts/python/call-graph-

[PATCH 18/19] perf scripts python: exported-sql-viewer.py: Add Selected branches report

2018-09-30 Thread Adrian Hunter
Fetching data from the database can be slow. Add a report that provides the ability to select a subset of branches. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 268 ++ 1 file changed, 268 insertions(+) diff --git a/tools/perf/scripts/python/e

[PATCH 15/19] perf scripts python: exported-sql-viewer.py: Add ability to shrink / enlarge font

2018-09-30 Thread Adrian Hunter
Shrinking the font allows more information to display. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 24 +++ 1 file changed, 24 insertions(+) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b/tools/perf/scripts/python/exported-sq

[PATCH 07/19] perf scripts python: call-graph-from-sql.py: Add a class for global data

2018-09-30 Thread Adrian Hunter
Keep global data in a single object that is easy to pass around as needed, without polluting the global namespace. Signed-off-by: Adrian Hunter --- .../scripts/python/call-graph-from-sql.py | 26 +++ 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/tools/perf/sc

[PATCH 17/19] perf scripts python: exported-sql-viewer.py: Add All branches report

2018-09-30 Thread Adrian Hunter
Add a report to display branches in a similar fashion to perf script. The main purpose of this report is to display disassembly, however, presently, the only supported disassembler is Intel XED, and additionally the object code must be present in perf build ID cache. To use Intel XED, libxed.so mu

[PATCH 10/19] perf scripts python: call-graph-from-sql.py: Add data helper functions

2018-09-30 Thread Adrian Hunter
Add helper functions for a few common cases. Signed-off-by: Adrian Hunter --- .../scripts/python/call-graph-from-sql.py | 54 ++- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/tools/perf/scripts/python/call-graph-from-sql.py b/tools/perf/scripts/python/call

[PATCH 14/19] perf scripts python: exported-sql-viewer.py: Add ability to find symbols in the call-graph

2018-09-30 Thread Adrian Hunter
Add a Find bar that appears at the bottom of the call-graph window. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 306 +- 1 file changed, 305 insertions(+), 1 deletion(-) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b/tools/pe

[PATCH 09/19] perf scripts python: call-graph-from-sql.py: Factor out CallGraphModel from TreeModel

2018-09-30 Thread Adrian Hunter
Factor out CallGraphModel from TreeModel, which paves the way to reuse TreeModel in future reports. Signed-off-by: Adrian Hunter --- .../scripts/python/call-graph-from-sql.py | 90 +-- 1 file changed, 61 insertions(+), 29 deletions(-) diff --git a/tools/perf/scripts/python/c

[PATCH 16/19] perf scripts python: exported-sql-viewer.py: Add ability to display all the database tables

2018-09-30 Thread Adrian Hunter
Displaying all the database tables can help make the database easier to understand. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 694 ++ 1 file changed, 694 insertions(+) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b/tools/p

[PATCH 11/19] perf scripts python: call-graph-from-sql.py: Refactor TreeItem class

2018-09-30 Thread Adrian Hunter
class TreeItem represents items at all levels of the call-graph tree. However, not all the levels represent the same data i.e. the top-level is comms, the next level is threads, and subsequent levels are functions. Consequently it is simpler to have separate classes for different levels with common

[PATCH 19/19] perf scripts python: exported-sql-viewer.py: Add help window

2018-09-30 Thread Adrian Hunter
Add a window to display help. It is also possible to display the help only, by using the option "--help-only" instead of a database name. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 144 +- 1 file changed, 143 insertions(+), 1 deletion(-) dif

[PATCH 08/19] perf scripts python: call-graph-from-sql.py: Remove use of setObjectName()

2018-09-30 Thread Adrian Hunter
The object name is never used, so don't bother setting it. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/call-graph-from-sql.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/scripts/python/call-graph-from-sql.py b/tools/perf/scripts/python/call-graph-from-sql.py ind

[PATCH 13/19] perf scripts python: exported-sql-viewer.py: Add support for multiple sub-windows

2018-09-30 Thread Adrian Hunter
Use Qt MDI (multiple document interface) to support multiple sub-windows. Put the data model in a cache so that each sub-window can share the same data. This allows mutiple views of the call-graph at the same time and paves the way to add more reports. Signed-off-by: Adrian Hunter --- .../script

[PATCH 12/19] perf scripts python: call-graph-from-sql.py: Rename to exported-sql-viewer.py

2018-09-30 Thread Adrian Hunter
Additional reports will be added to the script so rename to reflect the more general purpose. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/intel-pt.txt | 2 +- tools/perf/scripts/python/export-to-postgresql.py | 2 +- tools/perf/scripts/python/export-

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-30 Thread Alexey Budankov
Hello Jann and Kees, On 29.09.2018 1:02, Jann Horn wrote: > Ah, I guess the answer is "0", since you want to see data about what > other users are doing. > > Does the i915 PMU expose sampling events, counting events, or both? > The thing about sampling events is that they AFAIK always let the us

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-30 Thread Alexey Budankov
Hello Jann, > On Fri, Sep 28, 2018 at 11:22:37PM +0200, Jann Horn wrote: >> >> >> Is that true? IIRC if you want to use the perf tools after a kernel >> update, you have to install a new version of perf anyway, no? There are usages in production where perf_event_open() syscall accompanied with

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-30 Thread Alexey Budankov
Hello, On 28.09.2018 21:20, Thomas Gleixner wrote: > Start with something like Documentation/admin-guide/perf-security.rst or > whatever name fits better and add a proper documentation for the existing > knob. With the infrastructure for fine grained access control add the > general explanation f

[PATCH v6 1/2] arm64: dts: msm8996: add prng-ee node

2018-09-30 Thread Vinod Koul
RNG hardware in 8996 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for msm8996. Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ms

[PATCH v6 0/2] arm64: dts: add prng-ee nodes

2018-09-30 Thread Vinod Koul
This adds prng-ee nodes for msm8996 and sdm845 changes in v6: - Fix comments given by Stan changes in v5: - Add more description in patch logs changes in v4: - Fix node address on sdm845 changes in v3: - Add Bjorn's reviewed-by - Update patch titles to reflect that they add nodes changes

[PATCH v6 2/2] arm64: dts: sdm845: add prng-ee node

2018-09-30 Thread Vinod Koul
RNG hardware in SDM845 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for sdm845. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/

Re: [PATCH v3 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-09-30 Thread Frieder Schrempf
Hi Boris, On 29.09.2018 17:40, Boris Brezillon wrote: Hi Yogesh, On Fri, 21 Sep 2018 15:51:59 +0530 Yogesh Gaur wrote: +/* Registers used by the driver */ +#define FSPI_MCR0 0x00 +#define FSPI_MCR0_AHB_TIMEOUT_SHIFT24 +#define FSPI_MCR0_AHB_TIMEOUT_MASK (0xFF <<

Re: [PATCH 0/3] namei: implement various scoping AT_* flags

2018-09-30 Thread Dave Chinner
On Mon, Oct 01, 2018 at 03:47:23PM +1000, Aleksa Sarai wrote: > On 2018-10-01, Dave Chinner wrote: > > > I've added some selftests for this, but it's not clear to me whether > > > they should live here or in xfstests (as far as I can tell there are no > > > other VFS tests in selftests, while ther

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-09-30 Thread Dave Chinner
On Sat, Sep 29, 2018 at 04:46:09AM -0400, Jerome Glisse wrote: > On Fri, Sep 28, 2018 at 07:28:16PM -0700, John Hubbard wrote: > > On 9/28/18 2:49 PM, Jerome Glisse wrote: > > > On Fri, Sep 28, 2018 at 12:06:12PM -0700, John Hubbard wrote: > > >> use a non-CPU device to read and write to "pinned" m

Re: [PATCH V2 2/2] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-09-30 Thread Viresh Kumar
On 17-09-18, 11:17, Anson Huang wrote: > On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because > the ocotp clock needs to be enabled first. Add support for reading > OCOTP through the nvmem API, and keep the old method there to > support old dtb. > > Signed-off-by: Anson Huang > --- > ch

Re: linux-next: Signed-off-by missing for commit in the parisc-hd tree

2018-09-30 Thread Helge Deller
On 01.10.2018 03:04, Stephen Rothwell wrote: > Commit > f17bbdb5eea2 ("parisc: Remove PTE load and fault check from L2_ptep macro") > is missing a Signed-off-by from its committer. Fixed now. Thanks! Helge signature.asc Description: OpenPGP digital signature

Re: [PATCH RESEND] twl4030_charger: fix charging current out-of-bounds

2018-09-30 Thread Andreas Kemnade
Hi Pavel, On Sun, 30 Sep 2018 22:16:42 +0200 Pavel Machek wrote: > On Mon 2018-09-17 07:20:35, Andreas Kemnade wrote: > > the charging current uses unsigned int variables, if we step back > > if the current is still low, we would run into negative which > > means setting the target to a huge val

Re: [PATCH 2/2] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-09-30 Thread Viresh Kumar
On 14-09-18, 10:59, Anson Huang wrote: > On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because > the ocotp clock needs to be enabled first. Add support for reading > OCOTP through the nvmem API instead. > > Signed-off-by: Anson Huang > --- > drivers/cpufreq/imx6q-cpufreq.c | 39

Re: [PATCH] printk: inject caller information into the body of message

2018-09-30 Thread Sergey Senozhatsky
On (09/29/18 20:13), Sergey Senozhatsky wrote: > We used to flush "incomplete" cont lines (fragments) from console_unlock(). > > void console_unlock(void) > { > ... > /* flush buffered message fragment immediately to console */ > console_cont_flush(text, sizeof(text)); > again: >

Re: [PATCH 0/3] namei: implement various scoping AT_* flags

2018-09-30 Thread Aleksa Sarai
On 2018-10-01, Dave Chinner wrote: > > I've added some selftests for this, but it's not clear to me whether > > they should live here or in xfstests (as far as I can tell there are no > > other VFS tests in selftests, while there are some tests that look like > > generic VFS tests in xfstests). If

Re: [PATCH 2/3] namei: implement AT_THIS_ROOT chroot-like path resolution

2018-09-30 Thread Aleksa Sarai
On 2018-09-29, Jann Horn wrote: > The problem is what happens if a folder you are walking through is > concurrently moved out of the chroot. Consider the following scenario: > > You attempt to open "C/../../etc/passwd" under the root "/A/B". > Something else concurrently moves /A/B/C to /A/C. Thi

Re: [PATCH 4/6] perf report: Use the offset address to find inline frames

2018-09-30 Thread Ravi Bangoria
Hi Milian, Seems this has a regression: With acme/perf/urgent: $ ./perf record -e cycles:u --call-graph=dwarf ls $ ./perf script ls 13585 602082.534478: 28032 cycles:u: 1f1f4 __GI___tunables_init+0xd3dc00a4 (/usr/lib64/ld-2.26.so) 20e2b

[PATCH RFC 3/5] power: supply: bq24190_charger: add of_match for usb-otg-vbus regulator

2018-09-30 Thread Brian Masney
From: Jonathan Marek This patch adds an of_match for the usb-otg-vbus regulator to bq24190_charger. Signed-off-by: Jonathan Marek Signed-off-by: Brian Masney --- drivers/power/supply/bq24190_charger.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/supply/bq24190_charger.c

[PATCH RFC 1/5] dt-bindings: power: supply: bq24190_charger: add bq24192 and usb-otg-vbus

2018-09-30 Thread Brian Masney
Add support for the ti,bq24192 variant and a child node for the usb-otg-vbus regulator. Signed-off-by: Brian Masney --- Documentation/devicetree/bindings/power/supply/bq24190.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/bq24190.txt

[PATCH RFC 0/5] treewide: add USB OTG support for hammerhead

2018-09-30 Thread Brian Masney
This patch set adds USB OTG support for the LG Nexus 5 (hammerhead) phone. My only question is related to patch #4 where the GPIO support is added to bq24190_charger. Based on the information in the device tree binding Documentation/devicetree/bindings/power/supply/bq24190.txt, I should be using a

[PATCH RFC 2/5] power: supply: bq24190_charger: add support for bq24192 variant

2018-09-30 Thread Brian Masney
From: Jonathan Marek This patch adds support for the bq24192 variant to bq24190_charger. Signed-off-by: Jonathan Marek Signed-off-by: Brian Masney --- drivers/power/supply/bq24190_charger.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/power/supply/bq24190_ch

[PATCH RFC 4/5] power: supply: bq24190_charger: add support for extcon and GPIO for USB OTG support

2018-09-30 Thread Brian Masney
From: Jonathan Marek Add extcon support so that we can notify USB drivers of cable state changes. This also adds support for an optional GPIO that is changed depending on the cable state. This patch makes the USB OTG work correctly on a LG Nexus 5 (hammerhead) phone. Signed-off-by: Jonathan Mar

[PATCH RFC 5/5] ARM: dts: qcom: msm8974-hammerhead: add USB OTG support

2018-09-30 Thread Brian Masney
From: Jonathan Marek Add the device tree bindings for USB OTG support. Driver was tested using on a LG Nexus 5 (hammerhead) phone. Signed-off-by: Jonathan Marek Signed-off-by: Brian Masney Tested-by: Brian Masney --- See my cover letter for a question about how I can convert this patch over t

Re: possible deadlock in __do_page_fault

2018-09-30 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:17b57b1883c1 Linux 4.19-rc6 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17920a7e40 kernel config: https://syzkaller.appspot.com/x/.config?x=c0af03fe452b65fb dashboard link: https:

Re: [PATCH] PM / OPP: Refactor counting of added OPPs for v2 to avoid unsupported OPPs

2018-09-30 Thread Viresh Kumar
On 21-08-18, 22:10, Dave Gerlach wrote: Please ping people back if you haven't received a response for too long. Sorry that I missed getting to this at an earlier point of time. > Currently the _of_add_opp_table_v2 call loops through the OPP nodes in > the operating-points-v2 table in the device

Re: [PATCH 01/19] staging: rtl8188eu: cleanup inconsistent indenting

2018-09-30 Thread Dan Carpenter
On Sun, Sep 30, 2018 at 01:30:11PM -0700, Joe Perches wrote: > On Sun, 2018-09-30 at 21:52 +0200, Michael Straube wrote: > > Cleanup all inconsistent indenting reported by smatch. > > There are also some others like: > > drivers/staging/rtl8188eu/core/rtw_mlme.c:1752: WARNING:SUSPECT_CODE_INDENT:

Re: [RFC 0/2] ns: introduce binfmt_misc namespace

2018-09-30 Thread Andy Lutomirski
On Sun, Sep 30, 2018 at 4:47 PM Laurent Vivier wrote: > > This series introduces a new namespace for binfmt_misc. > This seems conceptually quite reasonable, but I'm wondering if the number of namespace types is getting out of hand given the current API. Should we be considering whether we need

Re: [PATCH] staging: rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h

2018-09-30 Thread Kalle Valo
Joe Perches writes: > On Sun, 2018-09-30 at 20:29 +0200, Rick Veens wrote: >> The following: >> bool efuse_re_pg_sec1flag; >> u8 efuse_re_pg_data[8]; >> are not referenced anywhere in the rtlwifi code. >> >> Signed-off-by: Rick Veens >> --- >> drivers/staging/rtlwifi/wifi.h | 4 > > Pres

Re: [PATCH 0/3] namei: implement various scoping AT_* flags

2018-09-30 Thread Dave Chinner
On Sat, Sep 29, 2018 at 08:34:50PM +1000, Aleksa Sarai wrote: > I've added some selftests for this, but it's not clear to me whether > they should live here or in xfstests (as far as I can tell there are no > other VFS tests in selftests, while there are some tests that look like > generic VFS test

Licenses and revocability, in a paragraph or less. (for the lay-man)

2018-09-30 Thread freedomfromruin
As has been stated in easily accessible terms elsewhere: "Most courts hold that simple, non-exclusive licenses with unspecified durations that are silent on revocability are revocable at will. This means that the licensor may terminate the license at any time, with or without cause." + Versio

"You are easily replacable" Bruce Peren's message to past contributors.

2018-09-30 Thread freedomfromruin
"You are easily replacable" Bruce Peren's message to past contributors.: "Any actual kernel developers who leave will be replaced by one of the other 4000 active this year. If they have been vociferous about their rights to entirely unlimited conduct (and all of the side-issues that seem to c

The free software conservancy is wrong.

2018-09-30 Thread freedomfromruin
Gnu GPL version 2, section 0: "Each licensee is addressed as "you". " The "you" is not referring to the licensor (copyright owner). It is referring to the licensees and then future sub-licensees/additional-licensees receiving the work from said previous licensee. It is independently clear fr

Why the FSF collects copyright assignments.

2018-09-30 Thread freedomfromruin
The paramount reason Eben Moglen has the FSF accepting contributions only with copyright assignment is because the grantor of a license that is a gratuity (no consideration (read: usually money) given) can remove the permission regarding the use of his property at his pleasure. (Regardless of

Why the FSF collects copyright assignments.

2018-09-30 Thread freedomfromruin
The paramount reason Eben Moglen has the FSF accepting contributions only with copyright assignment is because the grantor of a license that is a gratuity (no consideration (read: usually money) given) can remove the permission regarding the use of his property at his pleasure. (Regardless of

Re: [PATCH v6 2/2] iio: proximity: vl53l0x: add interrupt support

2018-09-30 Thread Song Qiang
On Fri, Sep 28, 2018 at 06:52:13PM -0500, Rob Herring wrote: > On Fri, Sep 28, 2018 at 4:36 AM Song Qiang wrote: > > > > On Wed, Sep 26, 2018 at 05:46:18PM -0500, Rob Herring wrote: > > > On Sat, Sep 22, 2018 at 04:05:23PM +0100, Jonathan Cameron wrote: > > > > On Tue, 18 Sep 2018 16:24:22 +0800 >

[PATCH] HID: i2c-hid: Add a small delay after powering on/off the device

2018-09-30 Thread Kai-Heng Feng
Raydium touchpanel (2386:4B33) sometimes does not workin desktop session although it works in display manager. During user logging, the display manager exits, close the HID device, then the device gets runtime suspended and powered off. The desktop session begins shortly after, opens the HID devic

[PATCH] ACPI/sbs: Fix GPE storm on recent MacBookPro's.

2018-09-30 Thread Ronald Tschalär
On Apple machines, plugging-in or unplugging the power triggers a GPE for the EC. Since these machines expose an SBS device, this GPE ends up triggering the acpi_sbs_callback(). This in turn tries to get the status of the SBS charger. However, on MBP13,* and MBP14,* machines, performing the smbus-r

[PATCH] ACPI/sbshc: Fix rare oops when removing modules.

2018-09-30 Thread Ronald Tschalär
There was a small race when removing the sbshc module where smbus_alarm() had queued acpi_smbus_callback() for deferred execution but it hadn't been run yet, so that when it did run hc had been freed and the module unloaded, resulting in an invalid paging request. A similar race existed when remov

Re: [PATCH] printk: inject caller information into the body of message

2018-09-30 Thread Sergey Senozhatsky
On (10/01/18 11:37), Sergey Senozhatsky wrote: > If we are about to have a list of printk buffers then we probably can > define a list of NR_CPUS cont buffers. And we probably can reuse the > existing struct cont for buffered printk, having 2 different struct-s > for the same thing - struct cont an

Re: [LKP] [flow_dissector] d58e468b11: BUG:unable_to_handle_kernel

2018-09-30 Thread Willem de Bruijn
On Sat, Sep 29, 2018 at 11:20 PM kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-7): > > commit: d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9 ("flow_dissector: implements > flow dissector BPF hook") > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git m

Re: [PATCH] printk: inject caller information into the body of message

2018-09-30 Thread Sergey Senozhatsky
On (09/29/18 20:15), Tetsuo Handa wrote: > > Because there is no guarantee that memory information is dumped under the > oom_lock mutex. The oom_lock is held when calling out_of_memory(), and it > cannot be held when reporting GFP_ATOMIC memory allocation failures. IOW, static pr_line buffer need

Re: [PATCH 10/11] ALSA: hda/ca0132 - Add ZxR 600 ohm gain control

2018-09-30 Thread Takashi Sakamoto
Hi, On Sep 30 2018 12:03, Connor McAdams wrote: This patch adds a control for 600 ohm gain on the Sound Blaster ZxR. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 44 ++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 05/11] ALSA: hda/ca0132 - Add DBpro hda_codec_ops

2018-09-30 Thread Takashi Sakamoto
Hi, On Sep 30 2018 12:03, Connor McAdams wrote: This patch adds separate hda_codec_ops for the DBPro daughter board, as it behaves more like a generic HDA codec than the other ca0132 cards, despite having a ca0132 on board. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 100

[PATCH V9 3/8] clocksource: add C-SKY SMP timer

2018-09-30 Thread Guo Ren
This timer is used by SMP system and use mfcr/mtcr instruction to access the regs. Changelog: - Remove #define CPUHP_AP_CSKY_TIMER_STARTING - Add CPUHP_AP_CSKY_TIMER_STARTING in cpuhotplug.h - Support csky mp timer alpha version. - Just use low-counter with 32bit width as clocksource. - Codin

[PATCH V9 0/8] C-SKY(csky) Linux Kernel Drivers

2018-09-30 Thread Guo Ren
>From "PATCH V5 00/30] C-SKY(csky) Linux Kernel Port" I seperated the drivers from the patchset. I've sent driver patches with "V5 V6 V7 V8". Now is V9. The changelog is in every patch. Perhaps I should seperate driver patchset earlier and the csky port patchset is too big now. Any feedback is w

Re: [f2fs-dev] [PATCH] f2fs: fix quota info to adjust recovered data

2018-09-30 Thread Chao Yu
On 2018-10-1 9:27, Jaegeuk Kim wrote: > On 10/01, Chao Yu wrote: >> On 2018-10-1 7:58, Jaegeuk Kim wrote: >>> On 09/29, Chao Yu wrote: On 2018/9/29 7:40, Jaegeuk Kim wrote: > Testing other fix. > > --- > fs/f2fs/checkpoint.c | 7 +++ > fs/f2fs/f2fs.h | 1 +

[PATCH V9 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-30 Thread Guo Ren
Dt-bindings doc about C-SKY Multi-processors interrupt controller. Changelog: - Should be: '#interrupt-cells' not 'interrupt-cells' Signed-off-by: Guo Ren --- .../bindings/interrupt-controller/csky,mpintc.txt | 40 ++ 1 file changed, 40 insertions(+) create mode 100644 D

[PATCH V9 5/8] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-30 Thread Guo Ren
- Dt-bindings doc about C-SKY apb bus interrupt controller. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../interrupt-controller/csky,apb-intc.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-cont

[PATCH V9 8/8] clocksource: add gx6605s SOC system timer

2018-09-30 Thread Guo Ren
Changelog: - Add COMIPLE_TEST in Kconfig - no cast is needed for "struct clock_event_device *ce = dev" - remove: extra space after (u64) - Add License and Copyright - Use timer-of framework - Change name with upstream feedback - Use clksource_mmio framework Signed-off-by: Guo Ren --- driv

[PATCH V9 7/8] dt-bindings: timer: gx6605s SOC timer

2018-09-30 Thread Guo Ren
- Dt-bindings doc for gx6605s SOC's system timer. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,gx6605s-timer

[PATCH V9 4/8] dt-bindings: timer: C-SKY Multi-processor timer

2018-09-30 Thread Guo Ren
Dt-bingdings doc for C-SKY SMP system setting. Changelog: - Drop the interrupt-parent. Signed-off-by: Guo Ren --- .../devicetree/bindings/timer/csky,mptimer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,mp

[PATCH V9 6/8] irqchip: add C-SKY APB bus interrupt controller

2018-09-30 Thread Guo Ren
- irq-csky-apb-intc is a simple SOC interrupt controller which is used in a lot of C-SKY CPU SOC products. Changelog: - use "bool ret" instead of "int ret" - add support-pulse-signal in irq-csky-apb-intc.c - change name with upstream feed-back - add INTC_IFR to clear irq-pending - remove

[PATCH V9 1/8] irqchip: add C-SKY SMP interrupt controller

2018-09-30 Thread Guo Ren
- Irq-csky-mpintc is C-SKY smp system interrupt controller and it could support 16 soft irqs, 16 private irqs, and 992 max common irqs. Changelog: - Move IPI_IRQ into the driver - Remove irq_set_default_host() and use set_ipi_irq_mapping() - Change name with upstream feed-back - Change

My Sincere Greetings,

2018-09-30 Thread Mrs Luiza Haydar
My Sincere Greetings, I am Mrs Luiza Haydar, I decided to donate what I have to you for investment towards the good work of charity organization, and also to help the motherless and the less privileged ones and to carry out a charitable works in your Country and around the World on my Beha

Re: [PATCH AUTOSEL 4.18 39/65] fs/cifs: suppress a string overflow warning

2018-09-30 Thread Stephen Rothwell
Hi Sasha, On Mon, 1 Oct 2018 00:38:27 + Sasha Levin wrote: > > From: Stephen Rothwell > > [ Upstream commit bcfb84a996f6fa90b5e6e2954b2accb7a4711097 ] > > A powerpc build of cifs with gcc v8.2.0 produces this warning: > > fs/cifs/cifssmb.c: In function ‘CIFSSMBNegotiate’: > fs/cifs/cifss

Re: [RFC 1/2] ns: introduce binfmt_misc namespace

2018-09-30 Thread Greg KH
On Mon, Oct 01, 2018 at 01:46:27AM +0200, Laurent Vivier wrote: > Signed-off-by: Laurent Vivier > --- I don't take patches without any changelog text, I don't know if other maintainers are as nice. But for a new feature, you really should write something... thanks, greg k-h

Re: [PATCH 1/2] dt-bindings: spi: fsl-lpspi: Option to allow stalling

2018-09-30 Thread Hieu Tran Dang
Agree. I will create new patch which will just allow stalling by default. Vào Th 6, 28 thg 9, 2018 vào lúc 05:47 Mark Brown đã viết: > > On Wed, Sep 26, 2018 at 09:37:39PM +0700, Đặng Trần Hiếu wrote: > > > Default value of the register is to allow stalling (NOSTALL bit not > > set) but the spi-f

linux-next: Signed-off-by missing for commit in the parisc-hd tree

2018-09-30 Thread Stephen Rothwell
Hi all, Commit f17bbdb5eea2 ("parisc: Remove PTE load and fault check from L2_ptep macro") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgp61gh6EvjUt.pgp Description: OpenPGP digital signature

[PATCH AUTOSEL 4.18 02/65] netfilter: xt_checksum: ignore gso skbs

2018-09-30 Thread Sasha Levin
From: Florian Westphal [ Upstream commit 10568f6c5761db24249c610c94d6e44d5505a0ba ] Satish Patel reports a skb_warn_bad_offload() splat caused by -j CHECKSUM rules: -A POSTROUTING -p tcp -m tcp --sport 80 -j CHECKSUM The CHECKSUM target has never worked with GSO skbs, and the above rule makes

[PATCH AUTOSEL 4.18 06/65] pinctrl: msm: Really mask level interrupts to prevent latching

2018-09-30 Thread Sasha Levin
From: Stephen Boyd [ Upstream commit b55326dc969ea2d704a008d9a97583b128f54f4f ] The interrupt controller hardware in this pin controller has two status enable bits. The first "normal" status enable bit enables or disables the summary interrupt line being raised when a gpio interrupt triggers and

[PATCH AUTOSEL 4.18 12/65] perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()

2018-09-30 Thread Sasha Levin
From: Hisao Tanabe [ Upstream commit fd8d2702791a970c751f8b526a17d8e725a05b46 ] If evsel is NULL, we should return NULL to avoid a NULL pointer dereference a bit later in the code. Signed-off-by: Hisao Tanabe Acked-by: Namhyung Kim Cc: Jiri Olsa Cc: Wang Nan Fixes: 03e0a7df3efd ("perf tools

[PATCH AUTOSEL 4.18 05/65] usb: gadget: fotg210-udc: Fix memory leak of fotg210->ep[i]

2018-09-30 Thread Sasha Levin
From: Anton Vasilyev [ Upstream commit c37bd52836296ecc9a0fc8060b819089aebdbcde ] There is no deallocation of fotg210->ep[i] elements, allocated at fotg210_udc_probe. The patch adds deallocation of fotg210->ep array elements and simplifies error path of fotg210_udc_probe(). Found by Linux Driv

[PATCH AUTOSEL 4.18 03/65] HID: intel-ish-hid: Enable Sunrise Point-H ish driver

2018-09-30 Thread Sasha Levin
From: Andreas Bosch [ Upstream commit e0ab8b26aa9661df0541a657e2b2416d90488809 ] Added PCI ID for Sunrise Point-H ISH. Signed-off-by: Andreas Bosch Acked-by: Srinivas Pandruvada Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/intel-ish-hid/ipc/hw-ish.h | 1 + drivers

[PATCH AUTOSEL 4.18 13/65] perf util: Fix bad memory access in trace info.

2018-09-30 Thread Sasha Levin
From: Chris Phlipot [ Upstream commit a72f64261359b7451f8478f2a2bf357b4e6c757f ] In the write to the output_fd in the error condition of record_saved_cmdline(), we are writing 8 bytes from a memory location on the stack that contains a primitive that is only 4 bytes in size. Change the primitive

[PATCH AUTOSEL 4.18 15/65] perf annotate: Fix parsing aarch64 branch instructions after objdump update

2018-09-30 Thread Sasha Levin
From: Kim Phillips [ Upstream commit 4e67b2a5df5d3f341776d12ee575e00ca3ef92de ] Starting with binutils 2.28, aarch64 objdump adds comments to the disassembly output to show the alternative names of a condition code [1]. It is assumed that commas in objdump comments could occur in other arches n

[PATCH AUTOSEL 4.18 09/65] scsi: iscsi: target: Fix conn_ops double free

2018-09-30 Thread Sasha Levin
From: Mike Christie [ Upstream commit 05a86e78ea9823ec25b3515db078dd8a76fc263c ] If iscsi_login_init_conn fails it can free conn_ops. __iscsi_target_login_thread will then call iscsi_target_login_sess_out which will also free it. This fixes the problem by organizing conn allocation/setup into p

[PATCH AUTOSEL 4.18 08/65] scsi: iscsi: target: Set conn->sess to NULL when iscsi_login_set_conn_values fails

2018-09-30 Thread Sasha Levin
From: Vincent Pelletier [ Upstream commit 7915919bb94e12460c58e27c708472e6f85f6699 ] Fixes a use-after-free reported by KASAN when later iscsi_target_login_sess_out gets called and it tries to access conn->sess->se_sess: Disabling lock debugging due to kernel taint iSCSI Login timeout on Networ

[PATCH AUTOSEL 4.18 14/65] perf probe powerpc: Ignore SyS symbols irrespective of endianness

2018-09-30 Thread Sasha Levin
From: Sandipan Das [ Upstream commit fa694160cca6dbba17c57dc7efec5f93feaf8795 ] This makes sure that the SyS symbols are ignored for any powerpc system, not just the big endian ones. Reported-by: Naveen N. Rao Signed-off-by: Sandipan Das Reviewed-by: Kamalesh Babulal Acked-by: Naveen N. Rao

[PATCH AUTOSEL 4.18 17/65] netfilter: nf_tables: release chain in flushing set

2018-09-30 Thread Sasha Levin
From: Taehee Yoo [ Upstream commit 7acfda539c0b9636a58bfee56abfb3aeee806d96 ] When element of verdict map is deleted, the delete routine should release chain. however, flush element of verdict map routine doesn't release chain. test commands: %nft add table ip filter %nft add chain ip fil

[PATCH AUTOSEL 4.18 22/65] HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report

2018-09-30 Thread Sasha Levin
From: Hans de Goede [ Upstream commit ade573eb1e03d1ee5abcb3359b1259469ab6e8ed ] Commit b0f847e16c1e ("HID: hid-sensor-hub: Force logical minimum to 1 for power and report state") not only replaced the descriptor fixup done for devices with the HID_SENSOR_HUB_ENUM_QUIRK with a generic fix, but a

[PATCH AUTOSEL 4.18 10/65] scsi: qedi: Add the CRC size within iSCSI NVM image

2018-09-30 Thread Sasha Levin
From: Nilesh Javali [ Upstream commit c77a2fa3ff8f73d1a485e67e6f81c64823739d59 ] The QED driver commit, 1ac4329a1cff ("qed: Add configuration information to register dump and debug data"), removes the CRC length validation causing nvm_get_image failure while loading qedi driver: [qed_mcp_get_nv

[PATCH AUTOSEL 4.18 16/65] netfilter: kconfig: nat related expression depend on nftables core

2018-09-30 Thread Sasha Levin
From: Florian Westphal [ Upstream commit e0758412208960be9de11e6d2350c81ffd88410f ] NF_TABLES_IPV4 is now boolean so it is possible to set NF_TABLES=m NF_TABLES_IPV4=y NFT_CHAIN_NAT_IPV4=y which causes: nft_chain_nat_ipv4.c:(.text+0x6d): undefined reference to `nft_do_chain' Wrap NFT_CHAIN_NA

[PATCH AUTOSEL 4.18 11/65] perf annotate: Properly interpret indirect call

2018-09-30 Thread Sasha Levin
From: Martin Liška [ Upstream commit 1dc27f63303db58ce1b1a6932d1825305f86d574 ] The patch changes the parsing of: callq *0x8(%rbx) from: 0.26 │ → callq *8 to: 0.26 │ → callq *0x8(%rbx) in this case an address is followed by a register, thus one can't parse only the a

[PATCH AUTOSEL 4.18 27/65] net/mlx5: Consider PCI domain in search for next dev

2018-09-30 Thread Sasha Levin
From: Daniel Jurgens [ Upstream commit df7ddb2396cd162e64aaff9401be05e31e438961 ] The PCI BDF is not unique. PCI domain must also be considered when searching for the next physical device during lag setup. Example below: mlx5_core :01:00.0: MLX5E: StrdRq(1) RqSz(8) StrdSz(128) RxCqeCmprss(0

[PATCH AUTOSEL 4.18 21/65] riscv: Do not overwrite initrd_start and initrd_end

2018-09-30 Thread Sasha Levin
From: Guenter Roeck [ Upstream commit e866d3e84eb7c9588afb77604d417e8cc49fe216 ] setup_initrd() overwrites initrd_start and initrd_end if __initramfs_size is larger than 0, which is always true even if there is no embedded initramfs. This prevents booting qemu with "-initrd" parameter. Overwriti

[PATCH AUTOSEL 4.18 34/65] drm/nouveau/disp/gm200-: enforce identity-mapped SOR assignment for LVDS/eDP panels

2018-09-30 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 53b0cc46f27cfc2cadca609b503a7d92b5185a47 ] Fixes eDP backlight issues on more recent laptops. Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c | 14 ++ drivers/gpu/drm/nouveau/nvkm/engine/d

[PATCH AUTOSEL 4.18 31/65] drm/nouveau/mmu: don't attempt to dereference vmm without valid instance pointer

2018-09-30 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 51ed833c881b9d96557c773f6a37018d79e29a46 ] Fixes oopses in certain failure paths. Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

[PATCH AUTOSEL 4.18 23/65] usb: host: xhci-plat: Iterate over parent nodes for finding quirks

2018-09-30 Thread Sasha Levin
From: Anurag Kumar Vulisha [ Upstream commit 222471f7640d9771a993218d825d84825adc805d ] In xhci_plat_probe() both sysdev and pdev->dev are being used for finding quirks. There are some drivers(like dwc3 host.c) which adds quirks(like usb3-lpm-capable) into pdev and the logic present in xhci_plat

[PATCH AUTOSEL 4.18 30/65] drm/nouveau: fix oops in client init failure path

2018-09-30 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit a43b16dda2d7485f5c5aed075c1dc9785e339515 ] The NV_ERROR macro requires drm->client to be initialised, which it may not be at this stage of the init process. Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/nouveau_drm.c | 14

  1   2   3   4   >