Re: [GIT PULL] Kernel lockdown for secure boot

2018-04-08 Thread joeyli
On Wed, Apr 04, 2018 at 04:31:46AM +, Matthew Garrett wrote: > On Tue, Apr 3, 2018 at 7:34 PM Alexei Starovoitov < > alexei.starovoi...@gmail.com> wrote: > > If the only thing that folks are paranoid about is reading > > arbitrary kernel memory with bpf_probe_read() helper > > then preferred

答复: [PATCH] mmc: dw_mmc-k3: Fix DDR52 mode by setting required clock divisor

2018-04-08 Thread liwei (CM)
+jinguojun jingbing -邮件原件- 发件人: Shawn Lin [mailto:shawn@rock-chips.com] 发送时间: 2018年4月8日 9:52 收件人: Ryan Grachek 抄送: shawn@rock-chips.com; Jaehoon Chung; Ulf Hansson; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Zhangfei Gao; liwei (CM); Suzhuangluan 主题: Re: [PATCH]

Re: [GIT PULL] Kernel lockdown for secure boot

2018-04-08 Thread Pavel Machek
On Wed 2018-04-04 00:39:05, David Howells wrote: > Linus Torvalds wrote: > > > The same thing is true of some lockdown patch. Maybe it's a good thing > > in general. But whether it's a good thing is _entirely_ independent of > > any secure boot issue. I can see

[PATCH] x86/Centaur: show more HW features in /proc/cpuinfo

2018-04-08 Thread David Wang
We add this patch to show correct HW features(arch_perfmon, tpr_shadow, vnmi, flexpriority, ept and vpid) when user execute "cat /proc/cpuinfo". Signed-off-by: David Wang --- arch/x86/kernel/cpu/centaur.c | 49 +++ 1 file changed,

Re: [PATCH/RFC] soc: bcm2835: Make !RASPBERRYPI_FIRMWARE dummies return failure

2018-04-08 Thread Stefan Wahren
Hi Geert, [add Phil] > Geert Uytterhoeven hat am 8. April 2018 um 11:05 > geschrieben: > > > If CONFIG_RASPBERRYPI_FIRMWARE=n: > > drivers/gpio/gpio-raspberrypi-exp.c: In function > ‘rpi_exp_gpio_get_polarity’: > drivers/gpio/gpio-raspberrypi-exp.c:71:

Re: [PATCH bpf-next v8 05/11] seccomp,landlock: Enforce Landlock programs per process hierarchy

2018-04-08 Thread Mickaël Salaün
On 02/27/2018 10:48 PM, Mickaël Salaün wrote: > > On 27/02/2018 17:39, Andy Lutomirski wrote: >> On Tue, Feb 27, 2018 at 5:32 AM, Alexei Starovoitov >> wrote: >>> On Tue, Feb 27, 2018 at 05:20:55AM +, Andy Lutomirski wrote: On Tue, Feb 27, 2018 at 4:54 AM,

Re: [PATCH] firmware: Fix firmware documentation for recent file renames

2018-04-08 Thread Luis R. Rodriguez
On Sun, Apr 08, 2018 at 03:47:49PM +0200, Hans de Goede wrote: > firmware_class.c was split into several files under > drivers/base/firmware_loader. The new main.c has the functions which > /request_firmware.rst references. > > Signed-off-by: Hans de Goede Acked-by: Luis R.

Re: possible deadlock in perf_event_detach_bpf_prog

2018-04-08 Thread Y Song
On Thu, Mar 29, 2018 at 2:18 PM, Daniel Borkmann wrote: > On 03/29/2018 11:04 PM, syzbot wrote: >> Hello, >> >> syzbot hit the following crash on upstream commit >> 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +) >> Linux 4.16-rc7 >> syzbot

Re: simultaneous voice/data works (was Re: call/normal switch was Re: omap4-droid4: voice call support was)

2018-04-08 Thread Pavel Machek
Hi! > > mmcli -m 0 --enable > > mmcli -m 0 --location-enable-gps-nmea > > watch -n .3 sudo mmcli -m 0 --location-get-gps-nmea > > > > ...can be used to get GPS data. Droid4 seems to have rather bad GPS, > > so you should probably put it near window for testing. > > > > Is there way to grab

Re: [GIT PULL] Kernel lockdown for secure boot

2018-04-08 Thread joeyli
On Tue, Apr 03, 2018 at 07:34:25PM -0700, Alexei Starovoitov wrote: > On Tue, Apr 3, 2018 at 9:26 AM, Andy Lutomirski wrote: > > On Tue, Apr 3, 2018 at 8:41 AM, Alexei Starovoitov > > wrote: > >> On Tue, Apr 03, 2018 at 08:11:07AM -0700, Andy

Re: [PATCH 0/3] syscalls: clean up stub naming convention

2018-04-08 Thread Dominik Brodowski
On Sun, Apr 08, 2018 at 10:35:50AM +0200, Ingo Molnar wrote: > - _sys_waitid() # ridiculous number of underscores? > - __sys_waitid() # too generic sounding? ... and we'd need to rename internal helpers in net/ > - __inline_sys_waitid() # too long? sounds acceptable,

Re: [PATCH] staging: pi433: add descriptions for mutex locks

2018-04-08 Thread Marcus Wolf
Hi Valentin, like promissed, I finally had a deeper look to your proposal with kfifo_avail and your patch from 24th of March. In principle, I think it is a very nice idea, and we should try to implement it. But there is a snag: There is no guarantee, that kfifo_in will only fail, if the fifo is

Re: WARNING in kmem_cache_free

2018-04-08 Thread Stephan Müller
Am Sonntag, 8. April 2018, 13:18:06 CEST schrieb Dmitry Vyukov: Hi Dmitry, > > Running syz-repro utility on this log, I think I've found the guilty guy: > https://gist.githubusercontent.com/dvyukov/1dd75d55efd238e7207af1cc38478b3a/ > raw/403859b56b161a6fbb158e8953fac5bb6e73b1a1/gistfile1.txt >

Re: [RFC v3 0/2] WhiteEgret LSM module

2018-04-08 Thread Serge E. Hallyn
Quoting shinya1.tak...@toshiba.co.jp (shinya1.tak...@toshiba.co.jp): > I am one of developers of WhiteEgret. > > > regardling the last one, do you have a plan for handling it? > Yes, we have a plan to release WhiteEgret v4 patch with a WEUA sample of > access control for script programs. Do you

Re: [RFC PATCH 1/2] i2c: Add i2c_verify_device_id() to verify device id

2018-04-08 Thread Peter Rosin
On 2018-04-08 09:34, Wolfram Sang wrote: > Hi, > > On Mon, Mar 19, 2018 at 09:10:58AM -0700, Guenter Roeck wrote: >> Commit dde67eb1beeb ("i2c: add i2c_get_device_id() to get the standard >> I2C device id") added a function to return the standard I2C device ID. >> Use that function to verify the

Re: [PATCH v2 1/3] resource: Use list_head to link sibling resource

2018-04-08 Thread Baoquan He
tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Baoquan-He/resource-Use-list_head-to-link-sibling-resource/20180408-110108 > config: parisc-c3000_defconfig (attached as .config) > compiler: hppa-linux-gnu-

[PATCH 1/3] ARM: dra762: hwmod: Add MCAN support

2018-04-08 Thread Faiz Abbas
From: Lokesh Vutla Add MCAN hwmod data and register it for dra762 silicons. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 32 +++ 1 file changed, 32

[PATCH 3/3] ARM: dts: dra76x: Add MCAN node

2018-04-08 Thread Faiz Abbas
From: Franklin S Cooper Jr Add support for the MCAN peripheral which supports both classic CAN messages along with the new CAN-FD message. Add MCAN node to evm and enable it with a maximum datarate of 5 mbps Signed-off-by: Franklin S Cooper Jr Signed-off-by:

[PATCH 0/3] Add MCAN Support for dra76x

2018-04-08 Thread Faiz Abbas
The following patches add dts and hwmod support for MCAN in TI's dra76 SOCs. The patches depend on the following series: https://patchwork.kernel.org/patch/10221105/ Tested on linux-next Franklin S Cooper Jr (1): ARM: dts: dra76x: Add MCAN node Lokesh Vutla (2): ARM: dra762: hwmod: Add

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

2018-04-08 Thread Faiz Abbas
From: Lokesh Vutla MCAN is clocked by H14 divider of DPLL_GMAC. Unlike other DPLL dividers this DPLL_GMAC H14 divider is controlled by control module. Adding support for these clocks. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas

[PATCH v2 0/2] Add QCOM RPMh Clock driver

2018-04-08 Thread Taniya Das
[v2] * Addressed comments from Stephen * Addressed comments from Evan This patch series adds a driver and device tree documentation binding for the clock control via Resource Power Manager-hardened (RPMh) on some Qualcomm Technologies, Inc, SoCs such as SDM845. The clock RPMh driver would

[[PATCH v2] 1/2] clk: qcom: clk-rpmh: Add QCOM RPMh clock driver

2018-04-08 Thread Taniya Das
From: Amit Nischal Add the RPMh clock driver to control the RPMh managed clock resources on some of the Qualcomm Technologies, Inc. SoCs. Signed-off-by: David Collins Signed-off-by: Amit Nischal Signed-off-by: Taniya

[[PATCH v2] 2/2] dt-bindings: clock: Introduce QCOM RPMh clock bindings

2018-04-08 Thread Taniya Das
From: Amit Nischal Add RPMh clock device bindings for Qualcomm Technology Inc's SoCs. These devices would be used for communicating resource state requests to control the clocks managed by RPMh. Signed-off-by: Amit Nischal Signed-off-by: Taniya

[PATCH v3] backlight: otm3225a: add support for ORISE OTM3225A LCD SoC

2018-04-08 Thread Felix Brack
This patch adds a LCD driver supporting the OTM3225A LCD SoC from ORISE Technology. This device can drive TFT LC panels having a resolution of 240x320 pixels. After initializing the OTM3225A using it's SPI interface it switches to use 16-bib RGB as external display interface. Signed-off-by: Felix

Re: Running syzkaller repros using kvm-xfstests

2018-04-08 Thread Dmitry Vyukov
On Sun, Apr 8, 2018 at 8:31 AM, Theodore Y. Ts'o wrote: > On Thu, Apr 05, 2018 at 09:37:41PM -0400, Theodore Y. Ts'o wrote: >> Note that I haven't just been complaining about it. I've been working >> on ways so that the gce-xfstests and kvm-xfstests test appliances can >> more

Re: [GIT PULL] SELinux patches for v4.17

2018-04-08 Thread Richard Haines
On Sun, 2018-04-08 at 08:50 -0400, Paul Moore wrote: > On April 7, 2018 1:03:57 PM Linus Torvalds .org> wrote: > On Sat, Apr 7, 2018 at 9:54 AM, Richard Haines > wrote: > > So please check my resolution, but also somebody should tell

Re: Linux 3.18.103

2018-04-08 Thread Harsh Shandilya
On 8 April 2018 8:37:08 PM IST, Greg KH wrote: >I'm announcing the release of the 3.18.103 kernel. > >All users of the 3.18 kernel series must upgrade. > >The updated 3.18.y git tree can be found at: >

[PATCH] ACPI: prefer bool over int for predicates

2018-04-08 Thread Joey Pabalinas
Prefer bool over int for variables / returns which are predicate expressions to make it explicit that these expressions are evaluating simple "yes or no?" queries. This makes it more obvious which expressions are _not_ that simple and require more attention, e.g. an `int ret` meant to hold 0 or

Re: [PATCH 2/6] crypto: ctr - avoid VLA use

2018-04-08 Thread Salvatore Mesoraca
018-04-08 5:19 GMT+02:00 Herbert Xu : > On Sat, Apr 07, 2018 at 08:38:19PM +0200, Salvatore Mesoraca wrote: >> >> @@ -206,6 +207,14 @@ static struct crypto_instance *crypto_ctr_alloc(struct >> rtattr **tb) >> if (alg->cra_blocksize < 4) >> goto

Re: [PATCH 1/2] clk: at91: Added more information logging.

2018-04-08 Thread Marcin Ziemianowicz
On Sun, Apr 08, 2018 at 11:54:49AM +0200, Greg Kroah-Hartman wrote: > On Sun, Apr 08, 2018 at 05:43:30AM -0400, Marcin wrote: > > I noticed that when debugging some USB clocking issue that there weren't > > many ways to tell what the state of the USB clocking system was. This > > adds a few

Re: WARNING in kmem_cache_free

2018-04-08 Thread Dmitry Vyukov
On Sun, Apr 8, 2018 at 8:01 AM, Matthew Wilcox wrote: > On Fri, Apr 06, 2018 at 03:33:36PM +0200, Dmitry Vyukov wrote: >> On Fri, Apr 6, 2018 at 3:24 PM, syzbot >> wrote: >> > Unfortunately, I don't have any reproducer

Re: [RFC PATCH 1/2] i2c: Add i2c_verify_device_id() to verify device id

2018-04-08 Thread Peter Rosin
Sorry for replying to self... On 2018-04-08 11:08, Peter Rosin wrote: > On 2018-04-08 09:34, Wolfram Sang wrote: >> Hi, >> >> On Mon, Mar 19, 2018 at 09:10:58AM -0700, Guenter Roeck wrote: >>> Commit dde67eb1beeb ("i2c: add i2c_get_device_id() to get the standard >>> I2C device id") added a

[RFC PATCH] x86/acpi: Prevent x2apic id -1 from being accounted

2018-04-08 Thread Li RongQing
local_apic_id of acpi_madt_local_x2apic is u32, it is converted to int when checked by default_apic_id_valid() and return true if it is larger than 0x7fff, this is wrong and if local_apic_id is invalid, we should prevent it from being accounted This fixes a bug that Purley platform displays

[PATCH] f2fs: correct return value of f2fs_trim_fs

2018-04-08 Thread Chao Yu
From: Chao Yu Correct return value in two cases: - return EINVAL if end boundary is out-of-range. - return EIO if fs needs off-line check. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v1 0/1] arm: npcm: enable L2 cache in NPCM7xx architecture

2018-04-08 Thread Tomer Maimon
This patch Enable ARM L2 cache module in Nuvoton NPCM7xx BMC by adding L2 cache parameters into NPCM7xx DT machine start structure. At patch V7 arm: npcm: add basic support for Nuvoton BMCs we got comments regarding the flags use in L2 cache module. -

[PATCH v1 1/1] arm: npcm: enable L2 cache in NPCM7xx architecture

2018-04-08 Thread Tomer Maimon
Enable ARM L2 cache module in Nuvoton NPCM7xx BMC by adding L2 cache parameters into NPCM7xx DT machine start structure. Signed-off-by: Tomer Maimon --- arch/arm/mach-npcm/npcm7xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-npcm/npcm7xx.c

[no subject]

2018-04-08 Thread E. Yuri
You do not know me, neither i'm not desperate nor in need of help, But I'm sure you are the kind of person I can trust with an investment on gold bars. Only someone bearing your surname will be able to partner with me on this and I hope and pray you don't let me down. Br

Re: 4.15.14 crash with iscsi target and dvd

2018-04-08 Thread Wakko Warner
Bart Van Assche wrote: > On Sat, 2018-04-07 at 12:53 -0400, Wakko Warner wrote: > > Bart Van Assche wrote: > > > On Thu, 2018-04-05 at 22:06 -0400, Wakko Warner wrote: > > > > I know now why scsi_print_command isn't doing anything. cmd->cmnd is > > > > null. > > > > I added a dev_printk in

Re: [PATCH] Documentation: fix reST markup error in driver-api/usb/typec.rst

2018-04-08 Thread Du, Changbin
On Sun, Apr 08, 2018 at 09:19:58AM +0200, Greg KH wrote: > On Sun, Apr 08, 2018 at 10:47:12AM +0800, changbin...@intel.com wrote: > > From: Changbin Du > > > > There is an format error in driver-api/usb/typec.rst that breaks sphinx > > docs building. > > > > reST markup

Re: [PATCH 00/20] afs: Fixes and development

2018-04-08 Thread David Howells
Linus Torvalds wrote: > Now, the conflicts really do look entirely trivial, and that's not the > problem, but the fact that you *didn't* re-send the AFS pull request > makes me wonder if you perhaps didn't want me to pull it after all? Sorry: Al pointed out that I

[PATCH] firmware: dmi_scan: Use lowercase letters for UUID

2018-04-08 Thread Jean Delvare
RFC 4122 asks for letters a-f in UUID to be lowercase. Follow this recommendation. Suggested by Paul Dagnelie at: https://savannah.nongnu.org/bugs/index.php?53569 Signed-off-by: Jean Delvare --- drivers/firmware/dmi_scan.c |4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH v3 4/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-04-08 Thread Baoquan He
On 04/06/18 at 07:50am, Dave Hansen wrote: > I'm having a really hard time tying all the pieces back together. Let > me give it a shot and you can tell me where I go wrong. > > On 02/27/2018 07:26 PM, Baoquan He wrote: > > In sparse_init(), two temporary pointer arrays, usemap_map and map_map >

Re: [PATCH v9 07/10] time: hrtimer: Introduce hrtimer_next_event_without()

2018-04-08 Thread Rafael J. Wysocki
On Saturday, April 7, 2018 4:46:38 PM CEST Frederic Weisbecker wrote: > On Wed, Apr 04, 2018 at 10:45:39AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The next set of changes will need to compute the time to the next > > hrtimer event over all

Re: [PATCH 0/3] syscalls: clean up stub naming convention

2018-04-08 Thread Ingo Molnar
* Dominik Brodowski wrote: > In short (0x prefix removed, re-ordered): > > 810f0af0 tkernel_waitid # common (32/64) kernel helper > > __in_sys_waitid # inlined helper doing actual work > 810f0be0 t __do_sys_waitid # C

Re: [PATCH 1/2] tty: n_gsm: Fix long delays with control frame timeouts in ADM mode

2018-04-08 Thread Pavel Machek
Hi! > Commit ea3d8465ab9b ("tty: n_gsm: Allow ADM response in addition to UA for > control dlci") added support for DLCI to stay in Asynchronous Disconnected > Mode (ADM). But we still get long delays waiting for commands to other > DLCI to complete: > > --> 5) C: SABM(P) > Q> 0) C: UIH(F) > Q>

Re: [RESEND PATCH] ARM: pxa: stargate2: use device properties for at24 eeprom

2018-04-08 Thread Robert Jarzmik
Bartosz Golaszewski writes: > 2018-04-04 21:44 GMT+02:00 Robert Jarzmik : >> Bartosz Golaszewski writes: > Yes, it does use the type field from i2c_board_info implicitly over > i2c-core. The type field is copied over to client->name and then

Re: [PATCH v4 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-04-08 Thread Wolfgang Grandegger
Hello Jacob, just a few minor issues and a question about bus-off handling... Am 03.04.2018 um 16:35 schrieb Jakob Unterwurzacher: > The UCAN driver supports the microcontroller-based USB/CAN > adapters from Theobroma Systems. There are two form-factors > that run essentially the same firmware:

Re: INFO: rcu detected stall in io_playback_transfer

2018-04-08 Thread Tetsuo Handa
I manually simplified the reproducer. It is quite strange that removing unshare() hides this lockup bug. Also, explicitly closing by "close()" hides this lockup bug. Triggering "fput() from do_exit()" from "different namespace" somehow affects this lockup bug?

Re: [PATCH] staging: pi433: add descriptions for mutex locks

2018-04-08 Thread Marcus Wolf
Hi Valentin, The hardware of Pi433 is working with every Raspberry Pi (on zero, you need to solder the GPIO-pins) and with several other fruits like banana pi. The only thing is, that you need different versions of the driver, according to the processor, mounted on your fruit. If you'd like to

Re: Linux 4.15.16

2018-04-08 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/serial/8250.txt b/Documentation/devicetree/bindings/serial/8250.txt index dad3b2ec66d4..aeb6db4e35c3 100644 --- a/Documentation/devicetree/bindings/serial/8250.txt +++ b/Documentation/devicetree/bindings/serial/8250.txt @@ -24,6 +24,7 @@ Required

Linux 4.16.1

2018-04-08 Thread Greg KH
I'm announcing the release of the 4.16.1 kernel. All users of the 4.16 kernel series must upgrade. The updated 4.16.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.16.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.16.1

2018-04-08 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/serial/8250.txt b/Documentation/devicetree/bindings/serial/8250.txt index dad3b2ec66d4..aeb6db4e35c3 100644 --- a/Documentation/devicetree/bindings/serial/8250.txt +++ b/Documentation/devicetree/bindings/serial/8250.txt @@ -24,6 +24,7 @@ Required

Linux 4.15.16

2018-04-08 Thread Greg KH
I'm announcing the release of the 4.15.16 kernel. All users of the 4.15 kernel series must upgrade. The updated 4.15.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.15.y and can be browsed at the normal kernel.org git web

Re: Linux 4.14.33

2018-04-08 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/serial/8250.txt b/Documentation/devicetree/bindings/serial/8250.txt index dad3b2ec66d4..aeb6db4e35c3 100644 --- a/Documentation/devicetree/bindings/serial/8250.txt +++ b/Documentation/devicetree/bindings/serial/8250.txt @@ -24,6 +24,7 @@ Required

Linux 4.14.33

2018-04-08 Thread Greg KH
I'm announcing the release of the 4.14.33 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

[PATCH] Input: alps - Fix reporting pressure of v3 trackstick

2018-04-08 Thread Pali Rohár
According to documentation, all 7 lower bits represents trackpoint pressure. Fixes: 4621c9660459 ("Input: alps - report pressure of v3 and v7 trackstick") Signed-off-by: Pali Rohár --- drivers/input/mouse/alps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] MIPS: lantiq: gphy: Drop reboot/remove reset asserts

2018-04-08 Thread Mathias Kresin
While doing a global software reset, these bits are not cleared and let some bootloader fail to initialise the GPHYs. The bootloader don't expect the GPHYs in reset, as they aren't during power on. The asserts were a workaround for a wrong syscon-reboot mask. With a mask set which includes the

Re: [PATCH v5 08/13] ARM: sunxi: Add initialization of CNTVOFF

2018-04-08 Thread Mylène Josserand
Hello Maxime, On Wed, 4 Apr 2018 09:45:15 +0200 Maxime Ripard wrote: > On Tue, Apr 03, 2018 at 10:06:28PM +0200, Mylène Josserand wrote: > > Hello, > > > > Thank you for the review. > > > > On Tue, 3 Apr 2018 11:12:18 +0200 > > Maxime Ripard

Re: [PATCH v2 1/3] resource: Use list_head to link sibling resource

2018-04-08 Thread Baoquan He
te to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Baoquan-He/resource-Use-list_head-to-link-sibling-resource/20180408-110108 > config: sparc-defconfig (attached as .config) > compiler: sparc-linux-gcc (GCC) 7.2.0 > reproduce: >

Re: [PATCH 3.18 00/93] 3.18.103-stable review

2018-04-08 Thread Greg Kroah-Hartman
On Sun, Apr 08, 2018 at 07:07:26AM -0700, Guenter Roeck wrote: > On Fri, Apr 06, 2018 at 03:22:29PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.103 release. > > There are 93 patches in this series, all will be posted as a response > > to this one.

Re: WARNING in kmem_cache_free

2018-04-08 Thread Dmitry Vyukov
On Sun, Apr 8, 2018 at 5:31 PM, Stephan Müller wrote: > Am Sonntag, 8. April 2018, 13:18:06 CEST schrieb Dmitry Vyukov: > > Hi Dmitry, > >> >> Running syz-repro utility on this log, I think I've found the guilty guy: >>

Re: [PATCH] selftests/livepatch: introduce tests

2018-04-08 Thread Joe Lawrence
On Fri, Apr 06, 2018 at 09:36:46PM -0500, Josh Poimboeuf wrote: > On Wed, Mar 28, 2018 at 03:49:48PM -0400, Joe Lawrence wrote: > > Add a few livepatch modules and simple target modules that the included > > regression suite can run tests against. > > > > Signed-off-by: Joe Lawrence

KMSAN: uninit-value in af_alg_free_areq_sgls

2018-04-08 Thread syzbot
Hello, syzbot hit the following crash on https://github.com/google/kmsan.git/master commit e2ab7e8abba47a2f2698216258e5d8727ae58717 (Fri Apr 6 16:24:31 2018 +) kmsan: temporarily disable visitAsmInstruction() to help syzbot syzbot dashboard link:

Re: [PATCH v2] add -Wpointer-arith sparse flag to toggle sizeof(void) warnings

2018-04-08 Thread Luc Van Oostenryck
On Sat, Apr 07, 2018 at 11:58:05AM -1000, Joey Pabalinas wrote: > Recent changes to the min()/max() macros in include/linux/kernel.h > have added a lot of noise when compiling the kernel with Sparse checking > enabled. This mostly is due to the *huge* increase in the number of > sizeof(void)

Re: [PATCH 0/6] Remove several VLAs in the crypto subsystem

2018-04-08 Thread Salvatore Mesoraca
2018-04-07 21:56 GMT+02:00 Kees Cook : > On Sat, Apr 7, 2018 at 11:38 AM, Salvatore Mesoraca > wrote: >> As suggested by Laura Abbott[2], I'm resending my patch with >> MAX_BLOCKSIZE and MAX_ALIGNMASK defined in an header, so they >> can be used in

Re: [PATCH 1/6] crypto: api - laying macros for statically allocated buffers

2018-04-08 Thread Salvatore Mesoraca
2018-04-08 5:15 GMT+02:00 Herbert Xu : > On Sat, Apr 07, 2018 at 08:38:18PM +0200, Salvatore Mesoraca wrote: >> Creating 2 new compile-time constants for internal use, >> in preparation for the removal of VLAs[1] from crypto code. >> All ciphers implemented in Linux

Re: [PATCH 3/6] crypto: api - avoid VLA use

2018-04-08 Thread Herbert Xu
On Sun, Apr 08, 2018 at 11:07:12AM +0200, Salvatore Mesoraca wrote: > > > This check should be done when the algorithm is registered. Perhaps > > crypto_check_alg. > > Please correct me if I'm wrong: > isn't crypto_check_alg invoked also during hashing algorithm registration? > In this patch-set

Re: [PATCH 2/2] dt-bindings: clock: Introduce QCOM RPMh clock bindings

2018-04-08 Thread Taniya Das
Thanks Stephen for the review. On 4/6/2018 4:50 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-03-28 23:17:53) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmh.txt b/Documentation/devicetree/bindings/clock/qcom,rpmh.txt new file mode 100644 index 000..8222c88 --- /dev/null

Re: [PATCH 14/15] ARM: pxa: change SSP devices allocation

2018-04-08 Thread Robert Jarzmik
Arnd Bergmann writes: > I don't know exactly how the probing works, but I'd assume that we have > the correct device pointers in pxa2xx_ac97_dev_probe() and > asoc_ssp_probe(), or maybe in pxa2xx_ac97_*_startup() and > pxa_ssp_startup(). Yes, let's try this way, in the former

[PATCH] firmware: Fix firmware documentation for recent file renames

2018-04-08 Thread Hans de Goede
firmware_class.c was split into several files under drivers/base/firmware_loader. The new main.c has the functions which /request_firmware.rst references. Signed-off-by: Hans de Goede --- Documentation/driver-api/firmware/request_firmware.rst | 10 +- 1 file

Re: [PATCH 3.18 00/93] 3.18.103-stable review

2018-04-08 Thread Guenter Roeck
On Fri, Apr 06, 2018 at 03:22:29PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.103 release. > There are 93 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 1/2] clk: at91: Added more information logging.

2018-04-08 Thread Alan Stern
On Sun, 8 Apr 2018, Marcin wrote: > I noticed that when debugging some USB clocking issue that there weren't > many ways to tell what the state of the USB clocking system was. This > adds a few logging statements to see what the relevant code is trying to > do. > > Signed-off-by: Marcin

Re: Linux 4.9.93

2018-04-08 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt index caf297bee1fb..c28d4eb83b76 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt +++

Re: Linux 3.18.103

2018-04-08 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt index caf297bee1fb..c28d4eb83b76 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt +++

Re: Linux 4.4.127

2018-04-08 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt index caf297bee1fb..c28d4eb83b76 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt +++

Linux 4.9.93

2018-04-08 Thread Greg KH
I'm announcing the release of the 4.9.93 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 3.18.103

2018-04-08 Thread Greg KH
I'm announcing the release of the 3.18.103 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Linux 4.4.127

2018-04-08 Thread Greg KH
I'm announcing the release of the 4.4.127 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

KMSAN: uninit-value in _decode_session6

2018-04-08 Thread syzbot
Hello, syzbot hit the following crash on https://github.com/google/kmsan.git/master commit e2ab7e8abba47a2f2698216258e5d8727ae58717 (Fri Apr 6 16:24:31 2018 +) kmsan: temporarily disable visitAsmInstruction() to help syzbot syzbot dashboard link:

[PATCH] f2fs: set deadline to drop expired inmem pages

2018-04-08 Thread Chao Yu
f2fs doesn't allow abuse on atomic write class interface, so except limiting in-mem pages' total memory usage capacity, we need to limit start-commit time as well, otherwise we may run into infinite loop during foreground GC because target blocks in victim segment are belong to atomic opened file

[PATCH] slimbus: Fix out-of-bounds access in slim_slicesize()

2018-04-08 Thread Geert Uytterhoeven
With gcc-4.1.2: slimbus/messaging.c: In function ‘slim_slicesize’: slimbus/messaging.c:186: warning: statement with no effect Indeed, clamp() is a macro not operating in-place, but returning the clamped value. Hence the value is not clamped at all, which may lead to an out-of-bounds

Re: [PATCH 2/6] crypto: ctr - avoid VLA use

2018-04-08 Thread Herbert Xu
On Sun, Apr 08, 2018 at 10:58:48AM +0200, Salvatore Mesoraca wrote: > > Fair enough. > After removing the individual checks the modification to the single files > will be just a couple of lines, is it OK for you if I collapse all of them in > just a single commit? Sure. -- Email: Herbert Xu

[PATCH 1/2] clk: at91: Added more information logging.

2018-04-08 Thread Marcin
I noticed that when debugging some USB clocking issue that there weren't many ways to tell what the state of the USB clocking system was. This adds a few logging statements to see what the relevant code is trying to do. Signed-off-by: Marcin Ziemianowicz ---

[PATCH 2/2] clk: at91: Fix for PLL set_rate changes not being actually written to PLL peripheral bits

2018-04-08 Thread Marcin
When a USB device is connected to the USB host port on the SAM9N12 then you get "-62" error which seems to indicate USB replies from the device are timing out. Looking around, I saw the USB bus was running at half speed. Going further, it seems that in ..._set_rate() the PLL wasn't actually being

[PATCH] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-04-08 Thread srplinux2008
From: srp linux Correct the typecast with const to struct thermal_cooling_device_ops. It is the last argument to the function thermal_of_cooling_device_register and this argument is of type const. So, declare this structure thermal_cooling_device_ops as constant.

Re: [GIT PULL] SELinux patches for v4.17

2018-04-08 Thread Paul Moore
On April 7, 2018 1:03:57 PM Linus Torvalds wrote: On Sat, Apr 7, 2018 at 9:54 AM, Richard Haines wrote: So please check my resolution, but also somebody should tell me "Linus, you're a cretin, sctp_connect() doesn't want that

Re: INFO: rcu detected stall in io_playback_transfer

2018-04-08 Thread Dmitry Vyukov
On Sun, Apr 8, 2018 at 2:58 PM, Tetsuo Handa wrote: > I manually simplified the reproducer. > > It is quite strange that removing unshare() hides this lockup bug. > Also, explicitly closing by "close()" hides this lockup bug. > Triggering "fput() from

[PATCH] ARM64: dts: meson-axg: add GPIO interrupt controller support

2018-04-08 Thread Yixun Lan
Add the GPIO interrupt controller driver which found in the Amlogic's Meson-AXG SoC, the controller share the similar ASIC IP as other meson SoCs. Signed-off-by: Yixun Lan --- Hi Kevin Please note this patch depend on the GPIO interrupt driver here[0] [0]

[PATCH v2] resource: Fix integer overflow at reallocation

2018-04-08 Thread Takashi Iwai
We've got a bug report indicating a kernel panic at booting on an x86-32 system, and it turned out to be the invalid resource assigned after PCI resource reallocation. __find_resource() first aligns the resource start address and resets the end address with start+size-1 accordingly, then checks

Re: [PATCH] Documentation: fix reST markup error in driver-api/usb/typec.rst

2018-04-08 Thread Greg KH
On Sun, Apr 08, 2018 at 10:47:12AM +0800, changbin...@intel.com wrote: > From: Changbin Du > > There is an format error in driver-api/usb/typec.rst that breaks sphinx > docs building. > > reST markup error: >

Re: [RFC PATCH 1/2] i2c: Add i2c_verify_device_id() to verify device id

2018-04-08 Thread Wolfram Sang
Hi, On Mon, Mar 19, 2018 at 09:10:58AM -0700, Guenter Roeck wrote: > Commit dde67eb1beeb ("i2c: add i2c_get_device_id() to get the standard > I2C device id") added a function to return the standard I2C device ID. > Use that function to verify the device ID of a given device. I am very open to

RE: Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-08 Thread Wang, Dongsheng
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Thursday, April 05, 2018 2:57 AM > To: Lorenzo Pieralisi ; Wang, Dongsheng > > Cc: r...@rjwysocki.net; gre...@linuxfoundation.org;

Re: [GIT PULL] Kernel lockdown for secure boot

2018-04-08 Thread Pavel Machek
On Tue 2018-04-03 21:08:54, Matthew Garrett wrote: > On Tue, Apr 3, 2018 at 2:01 PM Linus Torvalds > > wrote: > > > On Tue, Apr 3, 2018 at 1:54 PM, Matthew Garrett wrote: > > > > > >> .. maybe you don't *want* secure boot, but it's been pushed in

[PATCH/RFC] soc: bcm2835: Make !RASPBERRYPI_FIRMWARE dummies return failure

2018-04-08 Thread Geert Uytterhoeven
If CONFIG_RASPBERRYPI_FIRMWARE=n: drivers/gpio/gpio-raspberrypi-exp.c: In function ‘rpi_exp_gpio_get_polarity’: drivers/gpio/gpio-raspberrypi-exp.c:71: warning: ‘get.polarity’ is used uninitialized in this function drivers/gpio/gpio-raspberrypi-exp.c: In function

Re: [PATCH 3/6] crypto: api - avoid VLA use

2018-04-08 Thread Salvatore Mesoraca
2018-04-08 5:16 GMT+02:00 Herbert Xu : > On Sat, Apr 07, 2018 at 08:38:20PM +0200, Salvatore Mesoraca wrote: >> >> int crypto_init_cipher_ops(struct crypto_tfm *tfm) >> { >> + const unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); >> + const unsigned

Re: [PATCH 1/2] clk: at91: Added more information logging.

2018-04-08 Thread Greg Kroah-Hartman
On Sun, Apr 08, 2018 at 05:43:30AM -0400, Marcin wrote: > I noticed that when debugging some USB clocking issue that there weren't > many ways to tell what the state of the USB clocking system was. This > adds a few logging statements to see what the relevant code is trying to > do. > >

[PATCH] m68k: Fix style, spelling, and grammar in siginfo_build_tests()

2018-04-08 Thread Geert Uytterhoeven
Fixes: 4be33329d46f80e8 ("m68k: Verify the offsets in struct siginfo never change.") Signed-off-by: Geert Uytterhoeven --- arch/m68k/kernel/signal.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/arch/m68k/kernel/signal.c

Re: WARNING in kmem_cache_free

2018-04-08 Thread Dmitry Vyukov
On Sun, Apr 8, 2018 at 12:26 PM, Dmitry Vyukov wrote: > On Sun, Apr 8, 2018 at 8:01 AM, Matthew Wilcox wrote: >> On Fri, Apr 06, 2018 at 03:33:36PM +0200, Dmitry Vyukov wrote: >>> On Fri, Apr 6, 2018 at 3:24 PM, syzbot >>>

[PATCH for-next v2] tracing: optimize trace_buffer_iter()

2018-04-08 Thread yuan linyu
From: yuan linyu use conditional operation. Signed-off-by: yuan linyu --- kernel/trace/trace.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index

[PATCH] f2fs: don't split checkpoint in fstrim

2018-04-08 Thread Chao Yu
From: Chao Yu Now, we issue discard asynchronously in separated thread instead of in checkpoint, after that, we won't encounter long latency in checkpoint due to huge number of synchronous discard command handling, so, we don't need to split checkpoint to do trim in batch,

  1   2   3   4   5   6   7   8   9   10   >