Re: [PATCH v4 2/3] security: Expose a mechanism to load lsm hooks dynamically at runtime

2018-03-07 Thread Casey Schaufler
On 3/6/2018 11:23 PM, Sargun Dhillon wrote: > This patch adds dynamic security hooks. These hooks are designed to allow > for safe runtime loading. > > These hooks are only run after all built-in, and major LSMs are run. > The LSMs enabled by this feature must be minor LSMs, but they can poke > at

Re: [PATCH v1] xen: acpi: upload _PSD info for offline CPUs too

2018-03-07 Thread Joao Martins
On 03/07/2018 05:51 PM, Boris Ostrovsky wrote: > On 03/06/2018 03:12 PM, Joao Martins wrote: >> All uploaded PM data from offline CPUs takes the info from vCPU 0 and > > "offline" may not be the right term here. Maybe "non-dom0"? > Yeah, probably clearer to use that. >> changing only the

arm crypto .S_shipped files sometimes get rebuilt randomly

2018-03-07 Thread Leonard Crestez
Hello, I am using a toolchain with a broken/old version of perl which doesn't include integer.pm and I noticed it triggers occasional build failures on arch/arm64/crypto/sha512-core.S_shipped. Workarounds are easy, but if the purpose of the .S_shipped is to avoid the need to have all dependencies

Re: [PATCH 19/19] perf build: Force llvm/clang test compile output to .make.output

2018-03-07 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 07, 2018 at 04:50:20PM +0100, Jiri Olsa escreveu: > So we can see the output of feature compile > in following files: Applied 16-19 - Arnaldo

[PATCH 4.14 095/110] ARM: kvm: fix building with gcc-8

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 67870eb1204223598ea6d8a4467b482e9f5875b5 upstream. In banked-sr.c, we use a top-level '__asm__(".arch_extension virt")' statement to allow compilation of a

[PATCH 4.14 089/110] KVM: s390: consider epoch index on TOD clock syncs

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand commit 1575767ef3cf5326701d2ae3075b7732cbc855e4 upstream. For now, we don't take care of over/underflows. Especially underflows are critical: Assume the

[PATCH 4.14 106/110] ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kai Heng Feng commit 36904703aeeeb6cd31993f1353c8325006229f9a upstream. The i2c touchpad on Dell XPS 9570 and Precision M5530 doesn't work out of box. The

[PATCH 4.14 103/110] PCI/ASPM: Deal with missing root ports in link state handling

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit ee8bdfb6568d86bb93f55f8d99c4c643e77304ee upstream. Even though it is unconventional, some PCIe host implementations omit the root ports

Re: [PATCHv2 4/7] dt-bindings: fpga: add Stratix10 SoC FPGA manager binding

2018-03-07 Thread Rob Herring
On Thu, Mar 01, 2018 at 06:19:32PM -0600, richard.g...@linux.intel.com wrote: > From: Alan Tull > > Add a Device Tree binding for the Intel Stratix10 SoC FPGA manager. > > Signed-off-by: Alan Tull > --- > v2: this patch is added in patch set version 2 > ---

[PATCH 4.14 100/110] KVM: x86: move LAPIC initialization after VMCS creation

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 0b2e9904c15963e715d33e5f3f1387f17d19333a upstream. The initial reset of the local APIC is performed before the VMCS has been created, but it tries to

[PATCH 4.14 092/110] ARM: orion: fix orion_ge00_switch_board_info initialization

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 8337d083507b9827dfb36d545538b7789df834fd upstream. A section type mismatch warning shows up when building with LTO, since orion_ge00_mvmdio_bus_name was

[PATCH 4.14 084/110] media: m88ds3103: dont call a non-initalized function

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit b9c97c67fd19262c002d94ced2bfb513083e161e upstream. If m88d3103 chip ID is not recognized, the device is not initialized. However, it

[PATCH 4.14 085/110] EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Anna Karbownik commit bf8486709ac7fad99e4040dea73fe466c57a4ae1 upstream. Commit 3286d3eb906c ("EDAC, sb_edac: Drop NUM_CHANNELS from 8 back to 4") decreased

[PATCH 4.14 087/110] KVM: s390: provide only a single function for setting the tod (fix SCK)

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand commit 0e7def5fb0dc53ddbb9f62a497d15f1e11ccdc36 upstream. Right now, SET CLOCK called in the guest does not properly take care of the epoch index, as the

[PATCH 4.14 088/110] KVM: s390: consider epoch index on hotplugged CPUs

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand commit d16b52cb9cdb6f06dea8ab2f0a428e7d7f0b0a81 upstream. We must copy both, the epoch and the epoch_idx. Signed-off-by: David Hildenbrand

[PATCH 4.14 021/110] parisc: Use cr16 interval timers unconditionally on qemu

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 5ffa8518851f1401817c15d2a7eecc0373c26ff9 upstream. When running on qemu we know that the (emulated) cr16 cpu-internal clocks are syncronized. So let's use

[PATCH 4.14 009/110] tpm_tis_spi: Use DMA-safe memory for SPI transfers

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Steffen commit 6b3a13173f23e798e1ba213dd4a2c065a3b8d751 upstream. The buffers used as tx_buf/rx_buf in a SPI transfer need to be DMA-safe. This

Re: [PATCH 3/4] module: Support to show the current enforcement policy

2018-03-07 Thread Jessica Yu
+++ Jia Zhang [01/03/18 17:09 +0800]: /sys/kernel/security/modsign/enforce gives the result of current enforcement policy of loading module. Signed-off-by: Jia Zhang Why is this being added as part of securityfs? AFAIK that's primarily used by LSMs. And we

Re: [PATCH] iio:magnetometer: Remove duplications in iio_chan_spec

2018-03-07 Thread Jonathan Cameron
On Tue, 6 Mar 2018 09:00:11 -0300 Rodrigo Siqueira wrote: > The magn_3d_channels array has multiple declarations of iio_chan_spec. > Most of the iio_chan_spec are very similar, changing only by the .type > and .channel2 field. This patch reduces the code

Re: [PATCH V1] Input: pm8941-pwrkey: add resin key capabilities

2018-03-07 Thread Dmitry Torokhov
Hi Tirupathi, On Wed, Mar 07, 2018 at 01:39:33PM +0530, Tirupathi Reddy wrote: > Add resin key support to handle different types of key events > defined in different platforms. > > Signed-off-by: Tirupathi Reddy > --- > .../bindings/input/qcom,pm8941-pwrkey.txt

[PATCH 4.15 107/122] ARM: orion: fix orion_ge00_switch_board_info initialization

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 8337d083507b9827dfb36d545538b7789df834fd upstream. A section type mismatch warning shows up when building with LTO, since orion_ge00_mvmdio_bus_name was

Re: [RFC V3 1/3] perf, tools: Support wildcards on pmu name in dynamic pmu events

2018-03-07 Thread Jiri Olsa
On Wed, Mar 07, 2018 at 03:09:08PM -0500, Agustin Vega-Frias wrote: SNIP > > > > #include > > > > +/* > > > > + * GNU extension, so better define it to 0 for systems such > > > > + * as Android and Alpine Linux. > > > > + */ > > > > +#ifndef FNM_EXTMATCH > > > > +#define FNM_EXTMATCH 0 > > > >

[PATCH 4.15 085/122] l2tp: fix races with tunnel socket close

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: James Chapman [ Upstream commit d00fa9adc528c1b0e64d532556764852df8bd7b9 ] The tunnel socket tunnel->sock (struct sock) is accessed when preparing a new ppp session on

[PATCH 4.15 084/122] l2tp: dont use inet_shutdown on ppp session destroy

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: James Chapman [ Upstream commit 225eb26489d05c679a4c4197ffcb81c81e9dcaf4 ] Previously, if a ppp session was closed, we called inet_shutdown to mark the socket as

[PATCH 4.15 082/122] tcp: tracepoint: only call trace_tcp_send_reset with full socket

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Song Liu [ Upstream commit 5c487bb9adddbc1d23433e09d2548759375c2b52 ] tracepoint tcp_send_reset requires a full socket to work. However, it may be called when in

Re: [PATCH v3 1/2] dt-bindings: phy: add support for STM32 USB PHY Controller (USBPHYC)

2018-03-07 Thread Rob Herring
On Fri, Mar 02, 2018 at 03:56:24PM +0100, Amelie Delaunay wrote: > This patch adds the device tree bindings description for STM32 USBPHYC > (USB PHY Controller). > > Signed-off-by: Amelie Delaunay > --- > .../devicetree/bindings/phy/phy-stm32-usbphyc.txt | 73 >

Re: [PATCH 01/11] Staging: iio: accel: Prefer alphabetical sequence of header files

2018-03-07 Thread Jonathan Cameron
On Mon, 5 Mar 2018 13:19:20 +0530 Himanshu Jha wrote: > Arrange header files in alphabetical sequence to improve readability. > > Signed-off-by: Himanshu Jha One general comment - when naming a patch it will form the description in the

[PATCH 4.15 081/122] net: phy: Restore phy_resume() locking assumption

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Lunn [ Upstream commit 9c2c2e62df3fa30fb13fbeb7512a4eede729383b ] commit f5e64032a799 ("net: phy: fix resume handling") changes the locking semantics for phy_resume()

[PATCH 4.15 054/122] mlxsw: spectrum_switchdev: Check success of FDB add operation

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Shalom Toledo [ Upstream commit 0a8a1bf17e3af34f1f8d2368916a6327f8b3bfd5 ] Until now, we assumed that in case of error when adding FDB entries, the write operation will

Re: [PATCH 04/11] Staging: iio: accel: Rename few macro definitions

2018-03-07 Thread Jonathan Cameron
On Mon, 5 Mar 2018 13:19:23 +0530 Himanshu Jha wrote: > Rename few macros with appropriate names specifying their usage/function. Most of these are obviously good, but for one I didn't understand your reasoning. Given there are only a few of them, I'd put some more

[PATCH 4.15 052/122] net/mlx5e: Fix TCP checksum in LRO buffers

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Gal Pressman [ Upstream commit 8babd44d2079079f9d5a4aca7005aed80236efe0 ] When receiving an LRO packet, the checksum field is set by the hardware to the checksum of the

[PATCH 0/3] More error codes for usbip request/reply messages

2018-03-07 Thread Shuah Khan
Currently ST_OK and ST_NA are the only values defined to communicate status of a request from a client. Client doesn't know what failed and prints a cryptic error message that something failed. This patch series adds more error codes to clearly indicate what failed. For example, when client sends

[PATCH 4.15 025/122] parisc: Reduce irq overhead when run in qemu

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 636a415bcc7f4fd020ece8fd5fc648c4cef19c34 upstream. When run under QEMU, calling mfctl(16) creates some overhead because the qemu timer has to be scaled and

[PATCH 4.15 024/122] parisc: Use cr16 interval timers unconditionally on qemu

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 5ffa8518851f1401817c15d2a7eecc0373c26ff9 upstream. When running on qemu we know that the (emulated) cr16 cpu-internal clocks are syncronized. So let's use

[PATCH 4.15 022/122] mmc: dw_mmc: Fix out-of-bounds access for slots caps

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Shawn Lin commit 0d84b9e5631d923744767dc6608672df906dd092 upstream. Add num_caps field for dw_mci_drv_data to validate the controller id from DT alias and non-DT

[PATCH 4.15 023/122] timers: Forward timer base before migrating timers

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Lingutla Chandrasekhar commit c52232a49e203a65a6e1a670cd5262f59e9364a0 upstream. On CPU hotunplug the enqueued timers of the unplugged CPU are migrated to a live

Re: [PATCH 02/17] staging: lustre: fix bug in osc_enter_cache_try

2018-03-07 Thread Dilger, Andreas
On Mar 1, 2018, at 16:31, NeilBrown wrote: > > The lustre-release patch commit bdc5bb52c554 ("LU-4933 osc: > Automatically increase the max_dirty_mb") changed > > - if (cli->cl_dirty + PAGE_CACHE_SIZE <= cli->cl_dirty_max && > + if (cli->cl_dirty_pages <

Re: [PATCH] security: Fix IMA Kconfig for dependencies on ARM64

2018-03-07 Thread Jiandi An
On 03/07/2018 01:41 PM, James Bottomley wrote: On Wed, 2018-03-07 at 14:21 -0500, Mimi Zohar wrote: On Wed, 2018-03-07 at 11:08 -0800, James Bottomley wrote: On Wed, 2018-03-07 at 13:55 -0500, Mimi Zohar wrote: On Wed, 2018-03-07 at 11:51 -0700, Jason Gunthorpe wrote: On Tue, Mar 06,

Re: [BUG] Kernel crash on Allwinner H3 due to sound core changes

2018-03-07 Thread Jernej Škrabec
Hi, Dne ponedeljek, 05. marec 2018 ob 22:30:23 CET je Jernej Škrabec napisal(a): > Hi, > > Dne petek, 02. marec 2018 ob 13:40:50 CET je Mark Brown napisal(a): > > On Thu, Mar 01, 2018 at 11:23:57PM +0100, Jernej Škrabec wrote: > > > I removed parts of the code from the sun4i codec driver and > >

Re: [PATCH] docs: clarify security-bugs disclosure policy

2018-03-07 Thread Linus Torvalds
On Tue, Mar 6, 2018 at 3:31 PM, Dave Hansen wrote: > > I think we need to soften the language a bit. It might scare folks > off, especially the: > > We prefer to fully disclose the bug as soon as possible. > > which is not really the case. Ack. What we do

Re: [PATCH] selftest: net: reuseport_bpf_numa: don't fail if no numa support

2018-03-07 Thread David Miller
From: Anders Roxell Date: Tue, 6 Mar 2018 16:10:04 +0100 > The reuseport_bpf_numa test case fails there's no numa support. The > test shouldn't fail if there's no support it should be skipped with a > pass. > > Fixes: 3c2c3c16aaf6 ("reuseport, bpf: add test case for

Re: [PATCH] KVM: x86: Make enum conversion explicit in kvm_pdptr_read()

2018-03-07 Thread Radim Krčmář
2018-02-26 14:42-0800, Matthias Kaehlcke: > The type 'enum kvm_reg_ex' is an extension of 'enum kvm_reg', however > the extension is only semantical and the compiler doesn't know about the > relationship between the two types. In kvm_pdptr_read() a value of the > extended type is passed to

Re: [PATCH 0/29] arm meltdown fix backporting review for lts 4.9

2018-03-07 Thread Ard Biesheuvel
On 2 March 2018 at 16:54, Greg KH wrote: > On Fri, Mar 02, 2018 at 05:14:50PM +0800, Alex Shi wrote: >> >> >> On 03/01/2018 11:24 PM, Greg KH wrote: >> > On Wed, Feb 28, 2018 at 11:56:22AM +0800, Alex Shi wrote: >> >> Hi All, >> >> >> >> This backport patchset fixed the meltdown

Re: [PATCH 1/3 RESEND] tpm: add longer timeouts for creation commands.

2018-03-07 Thread Jonathan Corbet
On Wed, 07 Mar 2018 11:35:03 -0500 Mimi Zohar wrote: > Some maintainers are saying to put the Changelog after the "---" so > that it isn't included in the patch description. > > One of the reasons for including the Changelog in the patch > description, is to credit

Re: [RFC V3 1/3] perf, tools: Support wildcards on pmu name in dynamic pmu events

2018-03-07 Thread Andi Kleen
> Sorry about that. That's probably because FNM_EXTMATCH is a GNU extension, > not POSIX, and the Alpine and Android runtimes likely don't implement > that... > I'll send a fix reverting back to the strncmp to ignore the uncore_ prefix, > and dropping that extension. Just don't set it? Even the

Re: [PATCH v2 2/6] dt-bindings: phy-rockchip-typec: move extcon property to be optional.

2018-03-07 Thread Rob Herring
On Thu, Mar 01, 2018 at 04:25:11PM +0100, Enric Balletbo i Serra wrote: > The extcon property is used to detect the cable-state but some boards > just connect the type-c phy to a regular USB-A connector without any > power-delivery and thus no controller reporting the cable-state. > So the extcon

[PATCH 4.15 049/122] ppp: prevent unregistered channels from connecting to PPP units

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 77f840e3e5f09c6d7d727e85e6e08276dd813d11 ] PPP units don't hold any reference on the channels connected to it. It is the channel's

[PATCH 4.15 050/122] sctp: verify size of a new chunk in _sctp_make_chunk()

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 07f2c7ab6f8d0a7e7c5764c4e6cc9c52951b9d9c ] When SCTP makes INIT or INIT_ACK packet the total chunk length can exceed

[PATCH 4.15 051/122] udplite: fix partial checksum initialization

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 15f35d49c93f4fa9875235e7bf3e3783d2dd7a1b ] Since UDP-Lite is always using checksum, the following path is triggered when

[PATCH 4.15 058/122] rxrpc: Fix send in rxrpc_send_data_packet()

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 93c62c45ed5fad1b87e3a45835b251cd68de9c46 ] All the kernel_sendmsg() calls in rxrpc_send_data_packet() need to send both parts of the

[PATCH 4.15 009/122] tpm: fix potential buffer overruns caused by bit glitches on the bus

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit 3be23274755ee85771270a23af7691dc9b3a95db upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have

[PATCH 4.15 067/122] sctp: fix dst refcnt leak in sctp_v6_get_dst()

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 957d761cf91cdbb175ad7d8f5472336a4d54dbf2 ] When going through the bind address list in sctp_v6_get_dst() and the previously found

[PATCH 4.14 110/110] nvme-rdma: dont suppress send completions

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sagi Grimberg commit b4b591c87f2b0f4ebaf3a68d4f13873b241aa584 upstream. The entire completions suppress mechanism is currently broken because the HCA might retry a send

[PATCH 4.14 093/110] ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Schultz commit 5ce0bad4ccd04c8a989e94d3c89e4e796ac22e48 upstream. Rockchip recommends to run the CPU cores only with operations points of 1.6 GHz or lower.

[PATCH 4.14 094/110] ARM: mvebu: Fix broken PL310_ERRATA_753970 selects

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Magnusson commit 8aa36a8dcde3183d84db7b0d622ffddcebb61077 upstream. The MACH_ARMADA_375 and MACH_ARMADA_38X boards select ARM_ERRATA_753970, but it was renamed to

Re: [RFC V3 1/3] perf, tools: Support wildcards on pmu name in dynamic pmu events

2018-03-07 Thread Agustin Vega-Frias
On 2018-03-07 14:39, Arnaldo Carvalho de Melo wrote: Em Wed, Mar 07, 2018 at 04:05:43PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Mar 07, 2018 at 04:05:09PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Mar 07, 2018 at 10:54:15AM -0800, Andi Kleen escreveu: > > > Sorry about

[PATCH 4.14 096/110] KVM: x86: extend usage of RET_MMIO_PF_* constants

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 9b8ebbdb74b5ad76b9dfd8b101af17839174b126 upstream. The x86 MMU if full of code that returns 0 and 1 for retry/emulate. Use the existing

[PATCH 4.14 091/110] x86/mm: Fix {pmd,pud}_{set,clear}_flags()

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 842cef9113c2120f74f645111ded1e020193d84c upstream. Just like pte_{set,clear}_flags() their PMD and PUD counterparts should not do any address

[PATCH 4.14 027/110] vfio: disable filesystem-dax page pinning

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 94db151dc89262bfa82922c44e8320cea2334667 upstream. Filesystem-DAX is incompatible with 'longterm' page pinning. Without page cache indirection a

[PATCH 4.14 028/110] cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Viresh Kumar commit 0373ca74831b0f93cd4cdbf7ad3aec3c33a479a5 upstream. commit a307a1e6bc0d "cpufreq: s3c: use cpufreq_generic_init()" accidentally broke cpufreq on

[PATCH 4.14 026/110] block: kyber: fix domain token leak during requeue

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit ba989a01469d027861e55c8f1121edadef757797 upstream. When requeuing request, the domain token should have been freed before re-inserting the request to io

[PATCH 4.14 024/110] btrfs: use proper endianness accessors for super_copy

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Anand Jain commit 3c181c12c431fe33b669410d663beb9cceefcd1b upstream. The fs_info::super_copy is a byte copy of the on-disk structure and all members must use the

[PATCH 4.14 025/110] block: fix the count of PGPGOUT for WRITE_SAME

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jiufei Xue commit 7c5a0dcf557c6511a61e092ba887de28882fe857 upstream. The vm counters is counted in sectors, so we should do the conversation in submit_bio.

[PATCH 4.15 098/122] blk-mq: dont call io scheds .requeue_request when requeueing rq to ->dispatch

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 105976f517791aed3b11f8f53b308a2069d42055 upstream. __blk_mq_requeue_request() covers two cases: - one is that the requeued request is added to

[PATCH 4.15 073/122] mlxsw: spectrum_router: Do not unconditionally clear route offload indication

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Ido Schimmel [ Upstream commit d1c95af366961101819f07e3c64d44f3be7f0367 ] When mlxsw replaces (or deletes) a route it removes the offload indication from the replaced

[PATCH v1 1/1] USB: serial: Add boundry check for read_urbs array access

2018-03-07 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan In usb_serial_generic_submit_read_urb() function we are accessing the port->read_urbs array without any boundry checks. This might lead to kernel panic when index value goes above array length. One posible call path

Re: [PATCH 03/11] Staging: iio: accel: Remove unnecessary comments

2018-03-07 Thread Jonathan Cameron
On Mon, 5 Mar 2018 13:19:22 +0530 Himanshu Jha wrote: > Remove unnecessary comments since the definitions are pretty clear > with their macro names. > > Signed-off-by: Himanshu Jha Hi, The art of commenting (and indeed removing

Re: [PATCH 2/2] dt-bindings: Add support for SAW documentation

2018-03-07 Thread Rob Herring
On Sun, Mar 04, 2018 at 02:31:49PM +0200, Ilia Lin wrote: > Add support for SAW controlled regulators in 8x96. > Document it. > > Signed-off-by: Ilia Lin > --- > .../bindings/regulator/qcom,spmi-regulator.txt | 45 > ++ > 1 file changed, 45

Re: [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0

2018-03-07 Thread Jacek Anaszewski
Hi Ben, On 03/07/2018 04:32 PM, Ben Hutchings wrote: > On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote: >> 4.4-stable review patch. If anyone has any objections, please let me >> know. >> >> -- >> >> From: Matthieu CASTET >> >> >> [

Re: [Outreachy kernel] Re: [PATCH v2] net: ethernet: Drop unnecessary continue

2018-03-07 Thread Julia Lawall
On Wed, 7 Mar 2018, Arushi Singhal wrote: > > > On Wed, Mar 7, 2018 at 9:09 PM, David Miller wrote: > From: Arushi Singhal > Date: Sat, 3 Mar 2018 21:44:56 +0530 > > > Continue at the bottom of a loop are removed. >

[PATCH 4.15 055/122] net/mlx5e: Specify numa node when allocating drop rq

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Gal Pressman [ Upstream commit 2f0db87901698cd73d828cc6fb1957b8916fc911 ] When allocating a drop rq, no numa node is explicitly set which means allocations are done on

[PATCH 4.15 008/122] tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Boone commit 6d24cd186d9fead3722108dec1b1c993354645ff upstream. Discrete TPMs are often connected over slow serial buses which, on some platforms, can have

[PATCH 4.15 000/122] 4.15.8-stable review

2018-03-07 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.15.8 release. There are 122 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 know. Responses should be made by Fri Mar 9 19:16:43 UTC 2018. Anything

[PATCH 4.15 045/122] net: fix race on decreasing number of TX queues

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Jakub Kicinski [ Upstream commit ac5b70198adc25c73fba28de4f78adcee8f6be0b ] netif_set_real_num_tx_queues() can be called when netdev is up. That usually happens

[PATCH 4.15 041/122] hdlc_ppp: carrier detect ok, dont turn off negotiation

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Denis Du [ Upstream commit b6c3bad1ba83af1062a7ff6986d9edc4f3d7fc8e ] Sometimes when physical lines have a just good noise to make the protocol handshaking fail, but

Re: [PATCH] mm: oom: Fix race condition between oom_badness and do_exit of task

2018-03-07 Thread David Rientjes
On Wed, 7 Mar 2018, Gaurav Kohli wrote: > diff --git a/mm/oom_kill.c b/mm/oom_kill.c > index 6fd9773..5f4cc4b 100644 > --- a/mm/oom_kill.c > +++ b/mm/oom_kill.c > @@ -114,9 +114,11 @@ struct task_struct *find_lock_task_mm(struct task_struct > *p) > > for_each_thread(p, t) { >

Re: [PATCH] perf machine: Fix load kernel symbol with '-k' option

2018-03-07 Thread Mathieu Poirier
Hi Leo, On 27 February 2018 at 00:17, Leo Yan wrote: > On Hikey arm64 octa A53 platform, when use command './perf report -v > -k vmlinux --stdio' it outputs below error info, and it skips to load > kernel symbol and doesn't print symbol for event: > Failed to open

Re: [PATCH v2 5/5] x86/kvm: use Enlightened VMCS when running on Hyper-V

2018-03-07 Thread Radim Krčmář
2018-02-26 18:11+0100, Vitaly Kuznetsov: > Enlightened VMCS is just a structure in memory, the main benefit > besides avoiding somewhat slower VMREAD/VMWRITE is using clean field > mask: we tell the underlying hypervisor which fields were modified > since VMEXIT so there's no need to inspect them

Re: [PATCH v2 1/5] x86/kvm: rename HV_X64_MSR_APIC_ASSIST_PAGE to HV_X64_MSR_VP_ASSIST_PAGE

2018-03-07 Thread Radim Krčmář
2018-03-07 19:48+0300, Roman Kagan: > On Wed, Mar 07, 2018 at 05:19:44PM +0100, Radim Krčmář wrote: > > 2018-02-26 18:11+0100, Vitaly Kuznetsov: > > > diff --git a/arch/x86/include/uapi/asm/hyperv.h > > > b/arch/x86/include/uapi/asm/hyperv.h > > > @@ -275,10 +275,10 @@ struct

[PATCH] mfd: ab8500-debugfs: Use kasprintf

2018-03-07 Thread Himanshu Jha
Use kasprintf instead of combination of kmalloc and sprintf. Signed-off-by: Himanshu Jha --- drivers/mfd/ab8500-debugfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index

Re: [PATCH 2/7] ARM: LTO: avoid THUMB2_KERNEL+LTO

2018-03-07 Thread Matthias Kaehlcke
El Tue, Feb 20, 2018 at 10:59:49PM +0100 Arnd Bergmann ha dit: > Trying to build an LTO-Enabled kernel with Thumb2 instructions failed > horribly for me, with an endless output of things like > > ccVnNycO.s:2665: Error: thumb conditional instruction should be in IT block > -- `bxne lr' >

Re: [PATCH] usb: isp1760: Use kasprintf

2018-03-07 Thread Himanshu Jha
On Wed, Mar 07, 2018 at 08:20:54PM +0200, Andy Shevchenko wrote: > On Wed, Mar 7, 2018 at 8:08 PM, Himanshu Jha > wrote: > > Use kasprintf instead of combination of kmalloc and sprintf and > > therefore avoid unnecessary computation of string length. > > >

Re: [PATCH 6/6] lib/scatterlist: Drop order argument from sgl_free_n_order

2018-03-07 Thread James Bottomley
On Wed, 2018-03-07 at 12:47 +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin Firstly, I don't see any justifiable benefit to churning this API, so why bother? but secondly this: > We can derive the order from sg->length and so do not need to pass it > in explicitly.

Re: [PATCH] perf vendor events arm64: Enable JSON events for ThunderX2 B0

2018-03-07 Thread William Cohen
On 03/07/2018 12:35 PM, Ganapatrao Kulkarni wrote: > Hi Will Cohen, > > On Wed, Mar 7, 2018 at 8:08 PM, Arnaldo Carvalho de Melo > wrote: >> Em Wed, Mar 07, 2018 at 09:32:05AM -0500, William Cohen escreveu: >>> On 03/07/2018 06:08 AM, Ganapatrao Kulkarni wrote: There is

[PATCH v2] usb: isp1760: Use kasprintf

2018-03-07 Thread Himanshu Jha
Use kasprintf instead of combination of kmalloc and sprintf and therefore avoid unnecessary computation of string length. Also, remove the useless local variable. Signed-off-by: Himanshu Jha --- drivers/usb/isp1760/isp1760-udc.c | 6 +- 1 file changed, 1

Re: [PATCH 0/2] ESRT fixes for relocatable kexec'd kernel

2018-03-07 Thread Tyler Baicar
Hello Akashi, On 3/6/2018 4:00 AM, AKASHI Takahiro wrote: Tyler, Jeffrey, On Fri, Mar 02, 2018 at 08:27:11AM -0500, Tyler Baicar wrote: On 3/2/2018 12:53 AM, AKASHI Takahiro wrote: Tyler, Jeffrey, [Note: This issue takes place in kexec, not kdump. So to be precise, it is not the same

Re: [PATCH v2] usb: isp1760: Use kasprintf

2018-03-07 Thread Kees Cook
On Wed, Mar 7, 2018 at 10:38 AM, Himanshu Jha wrote: > Use kasprintf instead of combination of kmalloc and sprintf and > therefore avoid unnecessary computation of string length. > Also, remove the useless local variable. > > Signed-off-by: Himanshu Jha

Re: [PATCH 08/19] perf tools: Add mem2node object

2018-03-07 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 07, 2018 at 04:50:09PM +0100, Jiri Olsa escreveu: > Adding mem2node object to allow the easy lookup > of the node for the physical address. > > It has following interface: > > int mem2node__init(struct mem2node *map, struct perf_env *env); > void mem2node__exit(struct mem2node

Re: [PATCH 16/19] perf tools: Update tags with .cpp files

2018-03-07 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 07, 2018 at 04:50:17PM +0100, Jiri Olsa escreveu: > We have some .cpp files, make ctags/cscope aware of them. Applied > Link: http://lkml.kernel.org/n/tip-37og2tumxswqeyx0htq3z...@git.kernel.org > Signed-off-by: Jiri Olsa > --- > tools/perf/Makefile.perf | 6

Re: [PATCH v3 04/16] clk: sunxi-ng: h3: h5: export CLK_PLL_VIDEO

2018-03-07 Thread Rob Herring
On Thu, Mar 01, 2018 at 10:34:30PM +0100, Jernej Skrabec wrote: > CLK_PLL_VIDEO needs to be referenced in HDMI DT entry as a possible > PHY clock parent. > > Export it so it can be used later in DT. > > Signed-off-by: Jernej Skrabec > --- >

Re: [RFC V3 1/3] perf, tools: Support wildcards on pmu name in dynamic pmu events

2018-03-07 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 07, 2018 at 02:49:50PM -0500, Agustin Vega-Frias escreveu: > On 2018-03-07 14:39, Arnaldo Carvalho de Melo wrote: > > Em Wed, Mar 07, 2018 at 04:05:43PM -0300, Arnaldo Carvalho de Melo > > escreveu: > > > Em Wed, Mar 07, 2018 at 04:05:09PM -0300, Arnaldo Carvalho de Melo > > >

[PATCH 4.14 077/110] s390/qeth: fix overestimated count of buffer elements

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 12472af89632beb1ed8dea29d4efe208ca05b06a ] qeth_get_elements_for_range() doesn't know how to handle a 0-length range (ie. start ==

[PATCH 4.14 079/110] s390/qeth: fix double-free on IP add/remove race

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 14d066c3531a87f727968cacd85bd95c75f59843 ] Registering an IPv4 address with the HW takes quite a while, so we temporarily drop the

[PATCH] video: fbdev: via_aux_vt1636: remove VLA usage

2018-03-07 Thread Gustavo A. R. Silva
In preparation to enabling -Wvla, remove VLA and replace it with a fixed-length array instead. Also, remove variable 'len'. Notice that no new IDs have been added in seven years. Signed-off-by: Gustavo A. R. Silva --- drivers/video/fbdev/via/via_aux_vt1636.c | 6 +++---

[PATCH 4.14 043/110] net: sched: report if filter is too large to dump

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Roman Kapl [ Upstream commit 5ae437ad5a2ed573b1ebb04e0afa70b8869f88dd ] So far, if the filter was too large to fit in the allocated skb, the kernel did not return any error

[PATCH 4.14 042/110] netlink: ensure to loop over all netns in genlmsg_multicast_allns()

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit cb9f7a9a5c96a773bbc9c70660dc600cfff82f82 ] Nowadays, nlmsg_multicast() returns only 0 or -ESRCH but this was not the case when

[PATCH 4.14 045/110] sctp: verify size of a new chunk in _sctp_make_chunk()

2018-03-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 07f2c7ab6f8d0a7e7c5764c4e6cc9c52951b9d9c ] When SCTP makes INIT or INIT_ACK packet the total chunk length can exceed

[PATCH 4.15 109/122] ARM: mvebu: Fix broken PL310_ERRATA_753970 selects

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Magnusson commit 8aa36a8dcde3183d84db7b0d622ffddcebb61077 upstream. The MACH_ARMADA_375 and MACH_ARMADA_38X boards select ARM_ERRATA_753970, but it was renamed to

[PATCH 4.15 118/122] ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Kai Heng Feng commit 36904703aeeeb6cd31993f1353c8325006229f9a upstream. The i2c touchpad on Dell XPS 9570 and Precision M5530 doesn't work out of box. The

[PATCH 4.15 077/122] tuntap: disable preemption during XDP processing

2018-03-07 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 23e43f07f896f8578318cfcc9466f1e8b8ab21b6 ] Except for tuntap, all other drivers' XDP was implemented at NAPI poll() routine in a bh. This

  1   2   3   4   5   6   7   8   9   10   >