[PATCH] ubifs: Remove empty file.h

2018-08-23 Thread Richard Weinberger
This empty file sneaked into the tree by mistake. Remove it. Fixes: 6eb61d587f45 ("ubifs: Pass struct ubifs_info to ubifs_assert()") Signed-off-by: Richard Weinberger --- fs/ubifs/file.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 fs/ubifs/file.h diff --git a/fs/ubi

Re: [PATCH V5 07/10] mmc: sdhci: Add Auto CMD Auto Select support

2018-08-23 Thread Adrian Hunter
On 24/08/18 09:52, Chunyan Zhang wrote: > On 23 August 2018 at 20:55, Adrian Hunter wrote: >> On 16/08/18 10:54, Chunyan Zhang wrote: >>> As SD Host Controller Specification v4.10 documents: >>> Host Controller Version 4.10 defines this "Auto CMD Auto Select" mode. >>> Selection of Auto CMD depend

Re: [PATCH] sched/fair: vruntime should normalize when switching from fair

2018-08-23 Thread Juri Lelli
On 23/08/18 18:52, Dietmar Eggemann wrote: > Hi, > > On 08/21/2018 01:54 AM, Miguel de Dios wrote: > > On 08/17/2018 11:27 AM, Steve Muckle wrote: > > > From: John Dias > > > > > > When rt_mutex_setprio changes a task's scheduling class to RT, > > > we're seeing cases where the task's vruntime i

Re: [PATCH V5 07/10] mmc: sdhci: Add Auto CMD Auto Select support

2018-08-23 Thread Chunyan Zhang
On 23 August 2018 at 20:55, Adrian Hunter wrote: > On 16/08/18 10:54, Chunyan Zhang wrote: >> As SD Host Controller Specification v4.10 documents: >> Host Controller Version 4.10 defines this "Auto CMD Auto Select" mode. >> Selection of Auto CMD depends on setting of CMD23 Enable in the Host >> Co

Re: [PATCH 4.14.y] PCI: OF: Fix I/O space page leak

2018-08-23 Thread Greg Kroah-Hartman
On Thu, Aug 23, 2018 at 10:55:26PM +0300, Sergei Shtylyov wrote: > Commit a5fb9fb023a1435f2b42bccd7f547560f3a21dc3 upstream. > > When testing the R-Car PCIe driver on the Condor board, if the PCIe PHY > driver was left disabled, the kernel crashed with this BUG: > > kernel BUG at lib/ioremap.c:

Re: [PATCH v2 4.9.y] PCI: OF: Fix I/O space page leak

2018-08-23 Thread Greg Kroah-Hartman
On Thu, Aug 23, 2018 at 11:11:54PM +0300, Sergei Shtylyov wrote: > Commit a5fb9fb023a1435f2b42bccd7f547560f3a21dc3 upstream. > > When testing the R-Car PCIe driver on the Condor board, if the PCIe PHY > driver was left disabled, the kernel crashed with this BUG: > > kernel BUG at lib/ioremap.c:

Re: [PATCH v1 1/1] Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990

2018-08-23 Thread Stephen Boyd
Quoting Balakrishna Godavarthi (2018-08-23 04:29:35) > This patch enables power off support for hci down and power on support > for hci up. As wcn3990 power sources are ignited by regulators, we will > turn off them during hci down, i.e. an complete power off of wcn3990. > So while hci up, we will

Re: [PATCH v8 04/26] PM / Domains: Add support for CPU devices to genpd

2018-08-23 Thread Ulf Hansson
On 6 August 2018 at 11:36, Rafael J. Wysocki wrote: > On Fri, Aug 3, 2018 at 1:43 PM, Ulf Hansson wrote: >> On 19 July 2018 at 12:25, Rafael J. Wysocki wrote: >>> On Wednesday, June 20, 2018 7:22:04 PM CEST Ulf Hansson wrote: To enable a device belonging to a CPU to be attached to a PM doma

Re: [PATCH 4/9] mmc: meson-mx-sdio: fix OF child-node lookup

2018-08-23 Thread Johan Hovold
On Thu, Aug 23, 2018 at 08:50:23PM +0200, Martin Blumenstingl wrote: > On Wed, Aug 22, 2018 at 12:57 PM Johan Hovold wrote: > > Fixes: ed80a13bb4c4 ("mmc: meson-mx-sdio: Add a driver for the Amlogic > > Meson8 and Meson8b SoCs") > > Cc: stable # 4.15 > > backporting only works if the patch

Re: [PATCH v1] KVM: s390: store DXC/VXC in fpc on DATA/Vector-processing exceptions

2018-08-23 Thread Christian Borntraeger
On 08/23/2018 07:44 PM, David Hildenbrand wrote: > On 23.08.2018 17:43, Christian Borntraeger wrote: >> >> >> On 08/22/2018 11:53 AM, David Hildenbrand wrote: >>> When DATA exceptions and vector-processing exceptions (program interrupts) >>> are injected, the DXC/VXC is also to be stored in the

[PATCH] mm/hugetlb: filter out hugetlb pages if HUGEPAGE migration is not supported.

2018-08-23 Thread Aneesh Kumar K.V
When scanning for movable pages, filter out Hugetlb pages if hugepage migration is not supported. Without this we hit infinte loop in __offline pages where we do pfn = scan_movable_pages(start_pfn, end_pfn); if (pfn) { /* We have movable pages */ ret = do_migrate_ran

Re: [PATCH] staging: greybus: Fix null pointer dereference

2018-08-23 Thread Johan Hovold
On Fri, Aug 24, 2018 at 12:07:11AM -0400, Ding Xiang wrote: > If fw is null then fw->size will trigger null pointer dereference > > Signed-off-by: Ding Xiang > --- > drivers/staging/greybus/bootrom.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/greybus

Re: [PATCH 4.18 00/22] 4.18.5-stable review

2018-08-23 Thread Greg Kroah-Hartman
On Fri, Aug 24, 2018 at 10:37:13AM +0530, Naresh Kamboju wrote: > On 23 August 2018 at 13:26, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.18.5 release. > > There are 22 patches in this series, all will be posted as a response > > to this one. If anyone h

Re: [PATCH] nohz: Fix missing tick reprog while interrupting inline timer softirq

2018-08-23 Thread Greg KH
On Thu, Aug 23, 2018 at 05:57:06PM -0500, Grygorii Strashko wrote: > Hi > > On 07/31/2018 05:52 PM, Frederic Weisbecker wrote: > > Before updating the full nohz tick or the idle time on IRQ exit, we > > check first if we are not in a nesting interrupt, whether the inner > > interrupt is a hard or

Re: Fix 80d20d35af1e ("nohz: Fix local_timer_softirq_pending()") may have revealed another problem

2018-08-23 Thread Heiner Kallweit
On 24.08.2018 06:12, Frederic Weisbecker wrote: > On Thu, Aug 16, 2018 at 08:13:03AM +0200, Heiner Kallweit wrote: >> Recently I started to get warning "NOHZ: local_softirq_pending 202" and >> I think it's related to mentioned commit (didn't bisect it yet). >> See log from suspending. >> >> I have

Re: [PATCH 4.4 00/79] 4.4.152-stable review

2018-08-23 Thread Naresh Kamboju
4.152-rc1 git repo: https://git.linaro.org/lkft/arm64-stable-rc.git git branch: 4.4.152-rc1-hikey-20180823-268 git commit: 986fb599d866b6dd9ac53fa1db463d8e6c691e2c git describe: 4.4.152-rc1-hikey-20180823-268 Test details: https://qa-reports.linaro.org/lkft/linaro-hikey-stable-rc-4.4-oe/build/4.4.1

Re: [RFC PATCH 00/11] Secure Virtual Machine Enablement

2018-08-23 Thread Christoph Hellwig
It seems like you only sent out 6 our of the actual 11 patches according to the numbering, please resend the full series.

RE: [PATCH V4 3/3] Input: new da7280 haptic driver

2018-08-23 Thread Roy Im
Hi Randy, On 08/24/2018 12:28 AM, Randy Dunlap wrote: > On 08/20/2018 10:44 PM, Roy Im wrote: > > diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig > > index ca59a2b..6e0de69 100644 > > --- a/drivers/input/misc/Kconfig > > +++ b/drivers/input/misc/Kconfig > > @@ -851,4 +851,16

Re: [PATCH] fs: fix local var type

2018-08-23 Thread kbuild test robot
/linux/commits/Weikang-Shi/fs-fix-local-var-type/20180823-180758 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) fs/seq_file.c:210:21: sparse: expression using sizeof(void)

Re: [PATCH 4.9 000/130] 4.9.124-stable review

2018-08-23 Thread Naresh Kamboju
On 23 August 2018 at 13:21, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.124 release. > There are 130 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. > > Respon

Re: [GIT PULL] XArray for 4.19

2018-08-23 Thread Stephen Rothwell
Hi Linus, On Tue, 21 Aug 2018 19:09:31 -0700 Linus Torvalds wrote: > > For some unfathomable reason, you have based it on the libnvdimm tree. > I don't understand at all wjhy you did that. That was partly my fault for giving not very good advice when the (quite complex) merge conflict turned up

Re: [PATCH 4.14 000/217] 4.14.67-stable review

2018-08-23 Thread Naresh Kamboju
On 23 August 2018 at 13:21, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.67 release. > There are 217 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. > > Respon

Re: [PATCH 4.17 000/324] 4.17.19-stable review

2018-08-23 Thread Naresh Kamboju
On 23 August 2018 at 13:21, Greg Kroah-Hartman wrote: > NOTE, this is going to be the LAST 4.17.y kernel release. Please move > to the 4.18.y tree at this point in time if you have not already. After > this release, 4.17.y will be end-of-life. > > This is the start of the stable review cycle for

[PATCH v2] Input: synaptics - Lenovo ThinkPad T25 and T480 devices should use RMI

2018-08-23 Thread Teika Kazura
The touchpads on both T25 and T480 are accessible over SMBUS/RMI. --- v2 Only a tag change. The original author wants to use a pseudonym, and agrees with the usurpation of the signed-off-by tag. See https://patchwork.kernel.org/patch/10512751/ Reported-by: kitsunyan Signed-off-by: Teika Kazura

Re: [PATCH 4.18 00/22] 4.18.5-stable review

2018-08-23 Thread Naresh Kamboju
On 23 August 2018 at 13:26, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.5 release. > There are 22 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. > > Response

Re: [PATCH v3] modules_install: make missing $DEPMOD a warning instead of an error

2018-08-23 Thread Masahiro Yamada
Hi Randy, 2018-08-24 3:13 GMT+09:00 Randy Dunlap : > From: Randy Dunlap > > When $DEPMOD is not found, only print a warning instead of exiting > with an error message and error status. Could you add the motivation of this change (as Nikolaus reported) ? Without the reason recorded in git-log,

Re: Fix 80d20d35af1e ("nohz: Fix local_timer_softirq_pending()") may have revealed another problem

2018-08-23 Thread Frederic Weisbecker
On Thu, Aug 16, 2018 at 08:13:03AM +0200, Heiner Kallweit wrote: > Recently I started to get warning "NOHZ: local_softirq_pending 202" and > I think it's related to mentioned commit (didn't bisect it yet). > See log from suspending. > > I have no reason to think the fix is wrong, it may just have

[PATCH] fs: ubifs: remove unneeded semicolon

2018-08-23 Thread Ding Xiang
delete redundant semicolon Signed-off-by: Ding Xiang --- fs/ubifs/sb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ubifs/sb.c b/fs/ubifs/sb.c index bf17f58..d5c55e2 100644 --- a/fs/ubifs/sb.c +++ b/fs/ubifs/sb.c @@ -603,7 +603,7 @@ int ubifs_read_superblock(struct ubif

linux-next: Tree for Aug 24

2018-08-23 Thread Stephen Rothwell
Hi all, Please do not add any v4.20 material to your linux-next included branches until after v4.19-rc1 has been released. Changes since 20180823: The kbuild tree lost its build failure. The mips tree gained a conflict against Linus' tree. The nios2 tree gained a conflict against Linus&

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Andi Kleen
On Fri, Aug 24, 2018 at 04:22:57AM +0200, Andre Tomt wrote: > On 23. aug. 2018 17:44, Andi Kleen wrote: > > On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: > > > Two users have reported [1] that they have an "extremely unlikely" system > > > with more than MAX_PA/2 memory and L1TF

[PATCH v3 5/5] clk: RK808: add RK809 and RK817 support.

2018-08-23 Thread Tony Xie
RK809 and RK817 are power management IC chips for multimedia products. most of their functions and registers are same, including the clkout funciton. Signed-off-by: Tony Xie --- drivers/clk/Kconfig | 9 --- drivers/clk/clk-rk808.c | 62 -

[PATCH v3 4/5] rtc: rk808: add RK809 and RK817 support.

2018-08-23 Thread Tony Xie
RK809 and RK817 are power management IC chips for multimedia products. Most of their functions and registers are same, including the rtc. Signed-off-by: Tony Xie --- drivers/rtc/Kconfig | 4 +-- drivers/rtc/rtc-rk808.c | 68 +++-- 2 files changed,

linux-next: build warnings from the build of Linus' tree

2018-08-23 Thread Stephen Rothwell
Hi all, After merging the origin tree, today's linux-next build (powerpc allyesconfig) produced these warnings: ld: warning: orphan section `.data..LPBX1' from `kernel/trace/trace_selftest_dynamic.o' being placed in section `.data..LPBX1' ld: warning: orphan section `.data..LPBX1' from `kernel/

[PATCH v3 3/5] dt-bindings: mfd: rk808: Add binding information for RK809 and RK817.

2018-08-23 Thread Tony Xie
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC. Signed-off-by: Tony Xie --- Documentation/devicetree/bindings/mfd/rk808.txt | 56 + 1 file changed, 56 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt b/Documentation/de

[PATCH v3 4/5] rtc: rk808: add RK809 and RK817 support.

2018-08-23 Thread Tony Xie
RK809 and RK817 are power management IC chips for multimedia products. Most of their functions and registers are same, including the rtc. Signed-off-by: Tony Xie --- drivers/rtc/Kconfig | 4 +-- drivers/rtc/rtc-rk808.c | 68 +++-- 2 files changed,

[PATCH v3 2/5] regulator: rk808: add RK809 and RK817 support.

2018-08-23 Thread Tony Xie
Add support for the rk809 and rk817 regulator driver. Their specifications are as follows: 1、The RK809 and RK809 consist of 5 DCDCs, 9 LDOs and have the same registers for these components except dcdc5. 2、The dcdc5 is a boost dcdc for RK817 and is a buck for RK809. 3、The

[PATCH v3 1/5] mfd: rk808: Add RK817 and RK809 support

2018-08-23 Thread Tony Xie
The rk809 and rk817 are a Power Management IC (PMIC) for multimedia and handheld devices. It contains the following components: - Regulators - RTC - Clocking Both RK809 and RK817 chips are using a similar register map, so we can reuse the RTC and Clocking a

[PATCH v3 0/5] support a new type of PMIC,including two chips(rk817 and rk809)

2018-08-23 Thread Tony Xie
Most of functions and registers of the rk817 and rk808 are the same, so they can share allmost all codes. Their specifications are as follows: 1) The RK809 and RK809 consist of 5 DCDCs, 9 LDOs and have the same registers for these components except dcdc5. 2) The dcdc5 is a boost dcdc for

Re: [PATCH v6 2/2] hugetlb: take PMD sharing into account when flushing tlb/caches

2018-08-23 Thread Naoya Horiguchi
On Thu, Aug 23, 2018 at 01:59:17PM -0700, Mike Kravetz wrote: > When fixing an issue with PMD sharing and migration, it was discovered > via code inspection that other callers of huge_pmd_unshare potentially > have an issue with cache and tlb flushing. > > Use the routine adjust_range_if_pmd_shari

ATTENZIONE

2018-08-23 Thread amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella

Re: [PATCH v6 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-23 Thread Naoya Horiguchi
On Thu, Aug 23, 2018 at 01:59:16PM -0700, Mike Kravetz wrote: > The page migration code employs try_to_unmap() to try and unmap the > source page. This is accomplished by using rmap_walk to find all > vmas where the page is mapped. This search stops when page mapcount > is zero. For shared PMD h

[PATCH] ipc/shm: properly return EIDRM in shm_lock()

2018-08-23 Thread Davidlohr Bueso
When getting rid of the general ipc_lock(), this was missed furthermore, making the comment around the ipc object validity check bogus. Under EIDRM conditions, callers will in turn not see the error and continue with the operation. Fixes: 82061c57ce9 (ipc: drop ipc_lock()) Signed-off-by: Davidloh

[PATCH V3 2/2] kvm/x86 : add document for coalesced pio

2018-08-23 Thread Peng Hao
Signed-off-by: Peng Hao --- Documentation/virtual/kvm/00-INDEX | 2 ++ Documentation/virtual/kvm/coalesced-pio.txt | 14 ++ 2 files changed, 16 insertions(+) create mode 100644 Documentation/virtual/kvm/coalesced-pio.txt diff --git a/Documentation/virtual/kvm/00-INDEX b/D

[PATCH V3 0/2] introduce coalesced pio support

2018-08-23 Thread Peng Hao
Coalesced pio is base on coalesced mmio and can be used for some port like rtc port, pci-host config port, virtio-pci config port and so on. Specially in case of rtc as coalesced pio, some versions of windows guest access rtc frequently because of rtc as system tick. guest access rtc like this: wr

[PATCH V3 1/2] kvm/x86 : add coalesced pio support

2018-08-23 Thread Peng Hao
Signed-off-by: Peng Hao --- include/uapi/linux/kvm.h | 5 +++-- virt/kvm/coalesced_mmio.c | 8 +--- virt/kvm/kvm_main.c | 2 ++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index b6270a3..9cc56d3 100644 --- a/includ

Re: [PATCH] drivers: qcom: rpmh: use struct_size() in kzalloc()

2018-08-23 Thread Kees Cook
On Thu, Aug 23, 2018 at 6:17 PM, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { >

Re: [PATCH] mtd: rawnand: atmel: use struct_size() in devm_kzalloc()

2018-08-23 Thread Kees Cook
On Thu, Aug 23, 2018 at 6:09 PM, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { >

Re: [PATCH] memory: atmel-ebi: Use struct_size() in devm_kzalloc()

2018-08-23 Thread Kees Cook
On Thu, Aug 23, 2018 at 6:07 PM, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { >

[PATCH] staging: greybus: Fix null pointer dereference

2018-08-23 Thread Ding Xiang
If fw is null then fw->size will trigger null pointer dereference Signed-off-by: Ding Xiang --- drivers/staging/greybus/bootrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/bootrom.c b/drivers/staging/greybus/bootrom.c index e85ffae..3af28a0 1006

[PATCH v3] acpi/processor: Fix the return value of acpi_processor_ids_walk()

2018-08-23 Thread Dou Liyang
ACPI driver should make sure all the processor IDs in their ACPI Namespace are unique. the driver performs a depth-first walk of the namespace tree and calls the acpi_processor_ids_walk() to check the duplicate IDs. But, the acpi_processor_ids_walk() mistakes the return value. If a processor is ch

[GIT PULL] apparmor updates for v4.19

2018-08-23 Thread John Johansen
Hi, Please pull these apparmor changes for v4.19. There is nothing major this time just 4 bug fixes and a patch to remove so dead code. Thanks! - John The following changes since commit fb7d1bcf1602b46f37ada72178516c01a250e434: Merge tag 'pci-v4.18-fixes-3' of git://git.kernel.org/pub/sc

Re: [PATCH] libata: Add missing newline at end of file

2018-08-23 Thread Martin K. Petersen
Geert, > With gcc 4.1.2: > > drivers/ata/libata-core.c:7396:33: warning: no newline at end of file Applied to 4.19/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] x86/speculation/l1tf: fix off-by-one error when warning that system has too much RAM

2018-08-23 Thread Andre Tomt
On 23. aug. 2018 17:44, Andi Kleen wrote: On Thu, Aug 23, 2018 at 03:44:18PM +0200, Vlastimil Babka wrote: Two users have reported [1] that they have an "extremely unlikely" system with more than MAX_PA/2 memory and L1TF mitigation is not effective. In fact it's a CPU with 36bits phys limit (64G

[PATCH] m68k/mac: Use correct PMU response format

2018-08-23 Thread Finn Thain
Now that the 68k Mac port has adopted the via-pmu driver, it must decode the PMU response accordingly otherwise the date and time will be wrong. Signed-off-by: Finn Thain --- I mistakenly omitted this change from my PMU patch series when I dropped "[PATCH v3 10/12] macintosh: Use common code to a

[PATCH v3 0/2] Add sdm845 interconnect provider driver

2018-08-23 Thread David Dai
Hi, This patch series adds a driver and DT binding using the interconnect (ICC) framework [1] to describe the Qualcomm SDM845 platform's topology of its interconnected buses and internal aggregation nodes known as Bus Clock Managers(BCM). The SDM845 ICC provider driver would aggregate and satisfy

[PATCH v3 1/2] interconnect: qcom: Add sdm845 interconnect provider driver

2018-08-23 Thread David Dai
Introduce Qualcomm SDM845 specific provider driver using the interconnect framework. Change-Id: I716b39068b4a211b8203b2a52d3037a5b84594ea Signed-off-by: David Dai --- .../bindings/interconnect/qcom-sdm845.txt | 22 + drivers/interconnect/qcom/Kconfig | 8 + drivers/i

[PATCH v3 2/2] arm64: dts: sdm845: Add interconnect provider DT nodes

2018-08-23 Thread David Dai
Add RSC(Resource State Coordinator) provider dictating network-on-chip interconnect bus performance found on SDM845-based platforms. Change-Id: I58f0bfc3ed484d7b45064dceb94dcfda507e9333 Signed-off-by: David Dai --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 + 1 file changed, 5 insertions(+)

[PATCH v2 2/2] dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver

2018-08-23 Thread Masahiro Yamada
The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4, Pro4, and sLD8 SoCs. Signed-off-by: Masahiro Yamada --- Changes in v2: - Use platform_irq_count() to get the number of channels MAINTAINERS | 1 + drivers/dma/Kconfig | 11 + drivers/dma/Makefile

[PATCH v2 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC

2018-08-23 Thread Masahiro Yamada
The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4, Pro4, and sLD8 SoCs. Signed-off-by: Masahiro Yamada --- Changes in v2: - Rename the node "dmac" to "dma-controller" - Remove dma-channels property .../devicetree/bindings/dma/uniphier-mio-dmac.txt | 25 ++ 1

[PATCH v2 0/2] dmaengine: add UniPhier MIO DMAC driver

2018-08-23 Thread Masahiro Yamada
1/2: DT-binding 2/2: driver Masahiro Yamada (2): dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver .../devicetree/bindings/dma/uniphier-mio-dmac.txt | 25 ++ MAINTAINERS| 1 + dr

Re: [BUGFIX PATCH -tip] kprobes/x86: Fix to copy RIP relative instruction correctly

2018-08-23 Thread Steven Rostedt
On Fri, 24 Aug 2018 02:16:12 +0900 Masami Hiramatsu wrote: > Dump of assembler code from 0xa000207a to 0xa00020ea: > 54 push %rsp > ... > 48 83 c4 08 add$0x8,%rsp > 9d popfq > 48 89 f0mov%rsi,%rax > 8b 35 82 7d db e2

[v2] ASoC: max98373: Added 10ms sleep after amp software reset

2018-08-23 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v1 : Applied usleep_range intead of using mdelay Changes : Applied 10ms delay after amp software reset. 10ms guard time is required for stability. sound/soc/codecs/max98373.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/c

Re: [PATCH 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC

2018-08-23 Thread Masahiro Yamada
Hi Rob, Jassi, 2018-08-23 23:12 GMT+09:00 Jassi Brar : > On 23 August 2018 at 18:51, Rob Herring wrote: >> On Thu, Aug 23, 2018 at 12:38 AM Jassi Brar >> wrote: >>> On 23 August 2018 at 10:48, Masahiro Yamada > >>> > >>> > If desired, I will export of_irq_count() >>> > and use it from my drive

[PATCH v2] ubifs: remove unnecessary check in ubifs_log_start_commit

2018-08-23 Thread Liu Song
In ubifs_log_start_commit, the value of c->lhead_offs is zero or set to zero by code bellow. /* Switch to the next log LEB */ if (c->lhead_offs) { c->lhead_lnum = ubifs_next_log_lnum(c, c->lhead_lnum); ubifs_assert(c->lhead_lnum != c->ltail_lnum);

[PATCH] drivers: qcom: rpmh: use struct_size() in kzalloc()

2018-08-23 Thread Gustavo A. R. Silva
One of the more common cases of allocation size calculations is finding the size of a structure that has a zero-sized array at the end, along with memory for some number of elements for that array. For example: struct foo { int stuff; void *entry[]; }; instance = kzalloc(sizeof(st

[PATCH] mtd: rawnand: atmel: use struct_size() in devm_kzalloc()

2018-08-23 Thread Gustavo A. R. Silva
One of the more common cases of allocation size calculations is finding the size of a structure that has a zero-sized array at the end, along with memory for some number of elements for that array. For example: struct foo { int stuff; void *entry[]; }; instance = devm_kzalloc(dev,

[PATCH] memory: atmel-ebi: Use struct_size() in devm_kzalloc()

2018-08-23 Thread Gustavo A. R. Silva
One of the more common cases of allocation size calculations is finding the size of a structure that has a zero-sized array at the end, along with memory for some number of elements for that array. For example: struct foo { int stuff; void *entry[]; }; instance = devm_kzalloc(dev,

Re: KASAN: slab-out-of-bounds Write in process_preds

2018-08-23 Thread Steven Rostedt
On Thu, 23 Aug 2018 07:13:13 -0700 Dmitry Vyukov wrote: > On Thu, May 10, 2018 at 7:23 AM, Steven Rostedt wrote: > > On Thu, 10 May 2018 07:14:26 +0200 > > Dmitry Vyukov wrote: > > > >> > IMPORTANT: if you fix the bug, please add the following tag to the > >> > commit: > >> > Reported-by: sy

RE: [PATCH] ASoC: max98373: Added 10ms delay after amp software reset

2018-08-23 Thread Ryan Lee
>-Original Message- >From: Dmitry Torokhov >Sent: Thursday, August 23, 2018 5:08 PM >To: Mark Brown >Cc: Ryan Lee ; Liam Girdwood >; Jaroslav Kysela ; Takashi Iwai >; Kuninori Morimoto ; >alsa-de...@alsa-project.org; lkml ; >ryan.lee.ma...@gmail.com >Subject: Re: [PATCH] ASoC: max98373: A

Re: [PATCH] tracing: Fix event filters and triggers to handle negative numbers

2018-08-23 Thread Steven Rostedt
On Thu, 23 Aug 2018 13:25:34 +0300 Pavel Tikhomirov wrote: > Then tracing syscall exit event it is extremely useful to filter exit > codes equal to some negative value, to react only to required errors. > But negative numbers does not work: > > [root@snorch sys_exit_read]# echo "ret == -1" > fil

Re: KASAN: null-ptr-deref Write in binder_update_page_range

2018-08-23 Thread Minchan Kim
On Thu, Aug 23, 2018 at 07:03:34PM +0900, Dae R. Jeong wrote: > > Could you test this patch? I found that bug a month ago but didn't submit > > yet. > > I don't have a reproducer now. I manually analzed a root cause of the > crash using a fuzzer's log. The log reported a race on 'alloc->vma'. > Be

Re: [ANNOUNCE] 4.14.63-rt40

2018-08-23 Thread Steven Rostedt
On Thu, 23 Aug 2018 09:31:09 + Tiejun Chen wrote: > Steven, > > commit 7f11a591bbdb111792298144c3476506aa7f1ca8 (HEAD -> > v4.14.63-rt40-rebase, tag: v4.14.63-rt40-rebase, origin/v4.14-rt-rebase) > Author: Steven Rostedt (VMware) > Date: Wed May 16 09:33:00 2018 -0400 > > Linux 4.14

Re: [PATCH 2/2] xfs: Use wake_q for waking up log space waiters

2018-08-23 Thread Dave Chinner
On Thu, Aug 23, 2018 at 12:26:10PM -0400, Waiman Long wrote: > Running the AIM7 fserver workload on a 2-socket 24-core 48-thread > Broadwell system, it was found that there were severe spinlock contention > in the XFS code. In particular, native_queued_spin_lock_slowpath() > consumes 69.7% of cpu t

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-08-23 Thread Tetsuo Handa
David Rientjes wrote: > On Fri, 24 Aug 2018, Tetsuo Handa wrote: > > > > For those of us who are tracking CVE-2016-10723 which has peristently > > > been > > > labeled as "disputed" and with no clear indication of what patches > > > address > > > it, I am assuming that commit 9bfe5ded054b ("mm

Compliment of the day to you Dear Friend.

2018-08-23 Thread Mrs. Amina Kadi
Compliment of the day to you Dear Friend. Dear Friend. I am Mrs. Amina Kadi. am sending this brief letter to solicit your partnership to transfer $5.5 million US Dollars. I shall send you more information and procedures when I receive positive response from you. Mrs. Amina Kadi

mmotm 2018-08-23-17-26 uploaded

2018-08-23 Thread akpm
The mm-of-the-moment snapshot 2018-08-23-17-26 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[PATCH] perf annotate: fix parsing aarch64 branch instructions after objdump update

2018-08-23 Thread Kim Phillips
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 now or in the future, so this fix is arch-independent. The fix could have been done

Re: [PATCH] ASoC: max98373: Added 10ms delay after amp software reset

2018-08-23 Thread Dmitry Torokhov
On Thu, Aug 23, 2018 at 10:51:07AM +0100, Mark Brown wrote: > On Wed, Aug 22, 2018 at 05:31:04PM -0700, Dmitry Torokhov wrote: > > On Wed, Aug 22, 2018 at 5:21 PM Ryan Lee > > wrote: > > > + mdelay(10); > > > Is it really necessary for the CPU to spin for 10msec here? > > usleep_range() wo

Re: [PATCH 1/2] Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"

2018-08-23 Thread Naoya Horiguchi
(CCed related people) Hi Mizuma-san, Thank you for the report. The mentioned patch was created based on feedbacks from reviewers/maintainers, so I'd like to hear from them about how we should handle the issue. And one note is that there is a follow-up patch for "x86/e820: put !E820_TYPE_RAM reg

Re: [RFC PATCH 0/2] minor mmu_gather patches

2018-08-23 Thread Nicholas Piggin
On Fri, 24 Aug 2018 00:27:05 +0100 Will Deacon wrote: > Hi Linus, > > On Thu, Aug 23, 2018 at 12:37:58PM -0700, Linus Torvalds wrote: > > On Thu, Aug 23, 2018 at 12:15 PM Linus Torvalds > > wrote: > > > > > > So right now my "tlb-fixes" branch looks like this: > > > [..] > > > > > > I'll do a

Re: [PATCH v3] EDAC, amd64: Add Family 17h Model 10h support.

2018-08-23 Thread Michael Jin
On Thu, Aug 23, 2018 at 1:51 PM, Ghannam, Yazen wrote: >> -Original Message- >> From: Michael Jin >> Sent: Thursday, August 16, 2018 2:29 PM >> To: Borislav Petkov ; Ghannam, Yazen >> ; Mauro Carvalho Chehab >> >> Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org; Michael Jin

Re: [RFC PATCH 0/2] minor mmu_gather patches

2018-08-23 Thread Nicholas Piggin
On Thu, 23 Aug 2018 12:15:37 -0700 Linus Torvalds wrote: > On Thu, Aug 23, 2018 at 1:47 AM Nicholas Piggin wrote: > > > > These are split from some patches I posted a while back, I was going > > to take a look and revive the series again after your fixes go in, > > but having another look, it ma

Re: [PATCH] Input: elants_i2c - Fix sw reset delays

2018-08-23 Thread Dmitry Torokhov
For real now... On Thu, Aug 23, 2018 at 04:32:11PM -0700, Dmitry Torokhov wrote: > Let's add Elan folks to the discussion. > > On Thu, Aug 23, 2018 at 04:30:28PM -0700, Dmitry Torokhov wrote: > > Hi Derek, > > > > On Thu, Aug 23, 2018 at 04:10:13PM -0700, Derek Basehore wrote: > > > We only need

Re: [PATCH] Input: elants_i2c - Fix sw reset delays

2018-08-23 Thread Dmitry Torokhov
Let's add Elan folks to the discussion. On Thu, Aug 23, 2018 at 04:30:28PM -0700, Dmitry Torokhov wrote: > Hi Derek, > > On Thu, Aug 23, 2018 at 04:10:13PM -0700, Derek Basehore wrote: > > We only need to wait 10ms instead of 30ms before starting fastboot or > > sending IAP on the touchscreen. Al

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-23 Thread Will Deacon
On Wed, Aug 22, 2018 at 05:55:27PM +0200, Peter Zijlstra wrote: > On Wed, Aug 22, 2018 at 05:30:15PM +0200, Peter Zijlstra wrote: > > ARM > > which later used this put an explicit TLB invalidate in their > > __p*_free_tlb() functions, and PowerPC-radix followed that example. > > > +/* > > + * If w

Re: [PATCH] include/linux/compiler*.h: make compiler-*.h mutually exclusive

2018-08-23 Thread Joe Perches
On Thu, 2018-08-23 at 16:12 -0700, Nick Desaulniers wrote: > On Thu, Aug 23, 2018 at 2:19 PM Joe Perches wrote: > > > > On Thu, 2018-08-23 at 14:03 -0700, Nick Desaulniers wrote: > > > One reply for a bunch of the various threads, to keep the number of > > > emails down: > > > > > > On Wed, Aug

Re: [PATCH] Input: elants_i2c - Fix sw reset delays

2018-08-23 Thread Dmitry Torokhov
Hi Derek, On Thu, Aug 23, 2018 at 04:10:13PM -0700, Derek Basehore wrote: > We only need to wait 10ms instead of 30ms before starting fastboot or > sending IAP on the touchscreen. Also, instead of delaying everytime > sw_reset is called, this delays 10ms in the function that starts > fastboot. The

Re: [RFC PATCH 0/2] minor mmu_gather patches

2018-08-23 Thread Will Deacon
Hi Linus, On Thu, Aug 23, 2018 at 12:37:58PM -0700, Linus Torvalds wrote: > On Thu, Aug 23, 2018 at 12:15 PM Linus Torvalds > wrote: > > > > So right now my "tlb-fixes" branch looks like this: > > [..] > > > > I'll do a few more test builds and boots, but I think I'm going to > > merge it in this

[PATCH v3 2/2] kbuild: rename LDFLAGS to KBUILD_LDFLAGS

2018-08-23 Thread Masahiro Yamada
Commit a0f97e06a43c ("kbuild: enable 'make CFLAGS=...' to add additional options to CC") renamed CFLAGS to KBUILD_CFLAGS. Commit 222d394d30e7 ("kbuild: enable 'make AFLAGS=...' to add additional options to AS") renamed AFLAGS to KBUILD_AFLAGS. Commit 06c5040cdb13 ("kbuild: enable 'make CPPFLAGS=.

[PATCH v3 1/2] kbuild: pass LDFLAGS to recordmcount.pl

2018-08-23 Thread Masahiro Yamada
Since commit 0fbe9a245c60 ("microblaze: add endianness options to LDFLAGS instead of LD"), you cannot build the kernel for microblaze with CONFIG_DYNAMIC_FTRACE. Fixes: 0fbe9a245c60 ("microblaze: add endianness options to LDFLAGS instead of LD") Signed-off-by: Masahiro Yamada --- Changes in v3:

linux-next: manual merge of the nios2 tree with Linus' tree

2018-08-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the nios2 tree got a conflict in: arch/nios2/Kconfig.debug between commit: 06ec64b84c35 ("Kconfig: consolidate the "Kernel hacking" menu") from Linus' tree and commit: 93bdd8902339 ("nios2: kconfig: remove duplicate DEBUG_STACK_USAGE symbol defintion

Re: [PATCH] clk: npcm7xx: fix memory allocation

2018-08-23 Thread Kees Cook
On Thu, Aug 23, 2018 at 4:06 PM, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { >

Re: [BUG][BISECT] NFSv4 root failures after "fs/locks: allow a lock request to block other requests."

2018-08-23 Thread NeilBrown
On Wed, Aug 22 2018, NeilBrown wrote: > > Oh dear. > nfs4_alloc_lockdata contains: > memcpy(&p->fl, fl, sizeof(p->fl)); > > so any list_heads that are valid in fl will be invalid in p->fl. > > Maybe I should initialize the relevant list_heads at the start of wait > functions. > I should look

Re: [PATCH v2 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-23 Thread Evan Green
On Thu, Aug 23, 2018 at 4:04 PM Evan Green wrote: > > On Fri, Aug 17, 2018 at 5:08 PM Venkata Narendra Kumar Gutta > wrote: > > > > From: Channagoud Kadabi Also checkpatch.pl complains a bit about this patch: WARNING: Non-standard signature: Co-developed-by: #14:

Re: [PATCH] include/linux/compiler*.h: make compiler-*.h mutually exclusive

2018-08-23 Thread Nick Desaulniers
On Thu, Aug 23, 2018 at 2:19 PM Joe Perches wrote: > > On Thu, 2018-08-23 at 14:03 -0700, Nick Desaulniers wrote: > > One reply for a bunch of the various threads, to keep the number of emails > > down: > > > > On Wed, Aug 22, 2018 at 5:20 PM Joe Perches wrote: > > > On Wed, 2018-08-22 at 16:37

[PATCH] Input: elants_i2c - Fix sw reset delays

2018-08-23 Thread Derek Basehore
We only need to wait 10ms instead of 30ms before starting fastboot or sending IAP on the touchscreen. Also, instead of delaying everytime sw_reset is called, this delays 10ms in the function that starts fastboot. There's also an explicit 20ms delay before sending IAP when updating the firmware, so

Re: [PATCH v2 2/4] drivers: soc: Add support to register LLCC EDAC driver

2018-08-23 Thread Evan Green
On Fri, Aug 17, 2018 at 5:08 PM Venkata Narendra Kumar Gutta wrote: > > Cache error reporting controller is to detect and report single Should be "Cache error reporting controller detects and reports single"... Other than that: Reviewed-by: Evan Green

[PATCH] clk: npcm7xx: fix memory allocation

2018-08-23 Thread Gustavo A. R. Silva
One of the more common cases of allocation size calculations is finding the size of a structure that has a zero-sized array at the end, along with memory for some number of elements for that array. For example: struct foo { int stuff; void *entry[]; }; instance = kzalloc(sizeof(st

Re: [PATCH v2 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-23 Thread Evan Green
On Fri, Aug 17, 2018 at 5:08 PM Venkata Narendra Kumar Gutta wrote: > > From: Channagoud Kadabi > > Add error reporting driver for Single Bit Errors (SBEs) and Double Bit > Errors (DBEs). As of now, this driver supports erp for Last Level Cache > Controller (LLCC). This driver takes care of dumpi

[PATCH i2c-next v6] i2c: aspeed: Handle master/slave combined irq events properly

2018-08-23 Thread Jae Hyun Yoo
In most of cases, interrupt bits are set one by one but there are also a lot of other cases that Aspeed I2C IP sends multiple interrupt bits with combining master and slave events using a single interrupt call. It happens much more in multi-master environment than single-master. For an example, whe

  1   2   3   4   5   6   7   8   9   10   >