Re: [PATCH] ANDROID: binder: pr_err() strings should end with newlines

2017-09-25 Thread Greg KH
On Mon, Sep 25, 2017 at 12:21:47PM +0530, Arvind Yadav wrote: > Signed-off-by: Arvind Yadav > --- I can't take patches without any changelog text, sorry. greg k-h

Re: [RFC][PATCH v2 0/7] printk/ia64/ppc64/parisc64: let's deprecate %pF/%pf printk specifiers

2017-09-25 Thread Sergey Senozhatsky
On (09/22/17 16:48), Luck, Tony wrote: [..] > Tested patch series on ia64 successfully. > > Tested-by: Tony Luck thanks! > After this goes upstream, you should submit a patch to get rid of > all uses of %pF (70 instances in 35 files) and %pf (63 in 34) > > Perhaps break the patch by top-level

Re: [PATCH] nvme: make controller 'state' sysfs attribute pollable

2017-09-25 Thread Sagi Grimberg
On 25/09/17 08:59, Hannes Reinecke wrote: On 09/25/2017 07:37 AM, Sagi Grimberg wrote: So why exposing it then in the first time? I know you don't want dm-mpath in NVMe (neither do I) but we have to have something until your patchset and ANA is merged. And with this patch it's trivial to bui

Re: [PATCH] ANDROID: binder: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
On Monday 25 September 2017 12:31 PM, Greg KH wrote: On Mon, Sep 25, 2017 at 12:21:47PM +0530, Arvind Yadav wrote: Signed-off-by: Arvind Yadav --- I can't take patches without any changelog text, sorry. As per your concern, I will update. greg k-h ~arvind

Re: radeon_get_bios: BUG: unable to handle kernel paging request

2017-09-25 Thread Christian König
Hi Thomas, please open up a bug report on http://bugs.freedesktop.org/. If this worked on an older kernel version bisecting would be a good idea as well. Regards, Christian. Am 24.09.2017 um 12:26 schrieb Thomas Meyer: Hi, while trying to resurrect my old Macbook as an 32 bit kernel testin

Re: [v2] ath9k: remove cast to void pointer

2017-09-25 Thread Kalle Valo
Himanshu Jha wrote: > casting to void pointer from any pointer type and vice-versa is done > implicitly and therefore casting is not needed in such a case. > > Done using Coccinellle. > Semantic Patch used : > > @r@ > expression x; > void* e; > type T; > identifier f; > @@ > > ( > *((T *)e)

Re: [8/10] ath9k: Use ARRAY_SIZE macro

2017-09-25 Thread Kalle Valo
Thomas Meyer wrote: > Use ARRAY_SIZE macro, rather than explicitly coding some variant of it > yourself. > Found with: find -type f -name "*.c" -o -name "*.h" | xargs perl -p -i -e > 's/\bsizeof\s*\(\s*(\w+)\s*\)\s*\ /\s*sizeof\s*\(\s*\1\s*\[\s*0\s*\]\s*\) > /ARRAY_SIZE(\1)/g' and manual check/ve

Re: iommu/io-pgtable: depend on !GENERIC_ATOMIC64 when using COMPILE_TEST with LPAE

2017-09-25 Thread Geert Uytterhoeven
Hi Will, On Wed, Jul 12, 2017 at 7:16 PM, Linux Kernel Mailing List wrote: > Web: > https://git.kernel.org/torvalds/c/c1004803b40596c1aabbbc78a6b1b33e4dfd96c6 > Commit: c1004803b40596c1aabbbc78a6b1b33e4dfd96c6 > Parent: 58188afeb727e0f73706f1460707bd3ba6ccc221 > Refname:refs/h

Re: ath10k: make ath10k_hw_ce_regs const

2017-09-25 Thread Kalle Valo
Bhumika Goyal wrote: > Make them const as they are not modified in the file referencing > them. They are only stored in the const field 'hw_ce_reg' of an ath10k > structure. Also, make the declarations in the header const. > > Signed-off-by: Bhumika Goyal > Signed-off-by: Kalle Valo Patch app

Re: [PATCH 03/10] x86/fpu: Use validate_xstate_header() to validate the xstate_header in sanitize_restored_xstate()

2017-09-25 Thread Eric Biggers
On Mon, Sep 25, 2017 at 08:14:45AM +0200, Ingo Molnar wrote: > > > > > > Could you please just send the delta patch against the whole tree to fix > > > the bug? > > > I'll worry about the patch dependencies and back-merge it to the proper > > > place. > > > > > > > The following diff against

Re: [RFC PATCH 2/7] iio: adc: axp20x-adc: allow to skip ADC rate setup now

2017-09-25 Thread Quentin Schulz
Hi Icenowy, On 20/09/2017 17:18, Icenowy Zheng wrote: > The ADC rate setup on AXP803 is more complex than AXP20x/22x. > Can you elaborate? I can see two rate settings in register 0x85. Bits 7-6 => TS/GPIO ADC speed setting (25, 50, 100, 200 Hz) ((ilog2(x) / 25) << 6, same as AXP20X). Bits 5-4

Re: [PATCH review for 4.4 19/26] i2c: at91: ensure state is restored after suspending

2017-09-25 Thread Alexandre Belloni
Hi, I don't think it is worth backporting this patch to 4.4. Cutting VDD core will only happen after mainline v4.12 or v4.9 for the vendor kernel. On 25/09/2017 at 01:13:43 +, Levin, Alexander (Sasha Levin) wrote: > From: Alexandre Belloni > > [ Upstream commit e3ccc921b7d8fd1fcd10a00720e09

Re: [PATCH net-next 10/10] net: hns3: Add mqprio support when interacting with network stack

2017-09-25 Thread Yunsheng Lin
Hi, Jiri On 2017/9/25 14:57, Jiri Pirko wrote: > Mon, Sep 25, 2017 at 02:45:08AM CEST, linyunsh...@huawei.com wrote: >> Hi, Jiri >> >> On 2017/9/24 19:37, Jiri Pirko wrote: >>> Sat, Sep 23, 2017 at 02:47:20AM CEST, linyunsh...@huawei.com wrote: Hi, Jiri On 2017/9/23 0:03, Jiri Pirko

[PATCH] driver-core: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- drivers/base/test/test_async_driver_probe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/base/test/test_async_driver_p

Re: [PATCHSET for-4.14] cgroup, sched: cgroup2 basic resource accounting

2017-09-25 Thread Peter Zijlstra
On Sat, Sep 23, 2017 at 06:44:02AM -0700, Tejun Heo wrote: > Hello, Peter. > > On Sat, Sep 23, 2017 at 03:37:31PM +0200, Peter Zijlstra wrote: > > On Fri, Sep 22, 2017 at 11:05:30AM -0700, Tejun Heo wrote: > > > Peter, ping? > > > > Humm,. So I think I was good, but I was under the impression you

Re: [PATCH 03/10] x86/fpu: Use validate_xstate_header() to validate the xstate_header in sanitize_restored_xstate()

2017-09-25 Thread Ingo Molnar
* Eric Biggers wrote: > On Mon, Sep 25, 2017 at 08:14:45AM +0200, Ingo Molnar wrote: > > > > > > > > Could you please just send the delta patch against the whole tree to > > > > fix the bug? > > > > I'll worry about the patch dependencies and back-merge it to the proper > > > > place. > > >

Re: [PATCH] sched/core: Fix a potential double fetch bug on attr->size

2017-09-25 Thread Peter Zijlstra
On Sat, Sep 23, 2017 at 10:05:56PM -0400, Meng Xu wrote: > Hi Peter and Ingo, > > As a reminder, this is a very similar issue to perf_copy_attr (see following > patch) > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=f12f42acdbb577a12eecfcebbbec41c81505c4dc > >

[PATCH V10 14/15] mmc: cqhci: support for command queue enabled host

2017-09-25 Thread Adrian Hunter
From: Venkat Gopalakrishnan This patch adds CMDQ support for command-queue compatible hosts. Command queue is added in eMMC-5.1 specification. This enables the controller to process upto 32 requests at a time. Adrian Hunter contributed renaming to cqhci, recovery, suspend and resume, cqhci_off,

Re: linux-next: no release today

2017-09-25 Thread Stephen Rothwell
[Just getting the addresses right :-(] On Mon, 25 Sep 2017 17:12:38 +1000 Stephen Rothwell wrote: > > Hi all, > > There will be no linux-next release today, sorry. -- Cheers, Stephen Rothwell

Re: [PATCH] mm: fix RODATA_TEST failure "rodata_test: test data was not read only"

2017-09-25 Thread Segher Boessenkool
On Sun, Sep 24, 2017 at 12:17:51PM -0700, Kees Cook wrote: > On Thu, Sep 21, 2017 at 2:37 AM, Christophe Leroy > wrote: > > On powerpc, RODATA_TEST fails with message the following messages: > > > > [6.199505] Freeing unused kernel memory: 528K > > [6.203935] rodata_test: test data was not

Re: [PATCH v2] drm/tegra: Replace dev_* with DRM_DEV_*

2017-09-25 Thread Thierry Reding
On Sun, Sep 24, 2017 at 10:13:57PM +0530, Harsha Sharma wrote: > Replace all occurences of dev_info/err/dbg with DRM_DEV_INFO/ > ERROR/DEBUG as we have DRM_DEV_* variants of drm print macros > Done using following coccinelle semantic patch > > @r@ > @@ > > ( > -dev_info > +DRM_DEV_INFO > | > -dev

[PATCHv2] mm: Account pud page tables

2017-09-25 Thread Kirill A. Shutemov
On machine with 5-level paging support a process can allocate significant amount of memory and stay unnoticed by oom-killer and memory cgroup. The trick is to allocate a lot of PUD page tables. We don't account PUD page tables, only PMD and PTE. We already addressed the same issue for PMD page tab

[PATCH] Bluetooth: btmrvl: *_err() and *_info() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err(), dev_err() and pr_info() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- drivers/bluetooth/btmrvl_sdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/bluetooth/btmrvl

Re: [PATCH 1/2 v2] fdmap(2)

2017-09-25 Thread Michael Kerrisk (man-pages)
[Not sure why original author is not in CC; added] Hello Alexey, On 09/24/2017 10:06 PM, Alexey Dobriyan wrote: > From: Aliaksandr Patseyenak > > Implement system call for bulk retrieveing of opened descriptors > in binary form. > > Some daemons could use it to reliably close file descriptors

Re: [1/1] wireless: broadcom: brcm80211: use setup_timer() helper

2017-09-25 Thread Kalle Valo
Allen wrote: > Use setup_timer function instead of initializing timer with the > function and data fields. > > Signed-off-by: Allen Pais Also your name in patchwork is just "Allen", without your lastname. I can fix it this time, but please register to patchwork to fix your name. (Annoyingl

Re: [PATCH v2 2/2] pidmap(2)

2017-09-25 Thread Michael Kerrisk (man-pages)
Hello Alexey, On 09/24/2017 10:08 PM, Alexey Dobriyan wrote: > From: Tatsiana Brouka > > Implement system call for bulk retrieveing of pids in binary form. > > Using /proc is slower than necessary: 3 syscalls + another 3 for each thread + > converting with atoi() + instantiating dentries and in

[PATCH] hwrng: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- drivers/char/hw_random/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/co

[PATCH] ipmi: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- drivers/char/ipmi/ipmi_dmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/char/ipmi/ipmi_dmi.c b/drivers/char/ipmi/ipm

Re: [1/1] wireless: broadcom: brcm80211: use setup_timer() helper

2017-09-25 Thread Allen
> > Also your name in patchwork is just "Allen", without your lastname. I can fix > it this time, but please register to patchwork to fix your name. (Annoyingly > patchwork takes the name from it's database, not from the "From:" header) Ah that's strange. I'll register again. Thanks, - Allen >

[RESEND PATCH v5 10/16] mtd: nand: qcom: add command elements in BAM transaction

2017-09-25 Thread Abhishek Sahu
All the QPIC register read/write through BAM DMA requires command descriptor which contains the array of command elements. Reviewed-by: Archit Taneja Signed-off-by: Abhishek Sahu --- * Changes from v4: None The BAM DMA patches [1] got merged in 4.14-rc1 so now all the build dependencies are so

[RESEND PATCH v5 11/16] mtd: nand: qcom: support for command descriptor formation

2017-09-25 Thread Abhishek Sahu
1. Add the function for command descriptor preparation which will be used only by BAM DMA and it will form the DMA descriptors containing command elements 2. DMA_PREP_CMD flag should be used for forming command DMA descriptors Reviewed-by: Archit Taneja Signed-off-by: Abhishek Sahu ---

[PATCH v3] Input: add support for the Samsung S6SY761 touchscreen

2017-09-25 Thread Andi Shyti
The S6SY761 touchscreen is a capicitive multi-touch controller for mobile use. It's connected with i2c at the address 0x48. This commit provides a basic version of the driver which can handle only initialization, touch events and power states. The controller is controlled by a firmware which, in

Re: [1/1] wireless: broadcom: brcm80211: use setup_timer() helper

2017-09-25 Thread Kalle Valo
Allen writes: >> >> Also your name in patchwork is just "Allen", without your lastname. I can fix >> it this time, but please register to patchwork to fix your name. (Annoyingly >> patchwork takes the name from it's database, not from the "From:" header) > > Ah that's strange. I'll register agai

Re: [PATCH v3 03/10] kexec_file: factor out arch_kexec_kernel_*() from x86, powerpc

2017-09-25 Thread Dave Young
HI AKASHI, On 09/22/17 at 04:58pm, AKASHI Takahiro wrote: > Hi Dave, > [snip] > > > /* > > > * Apply purgatory relocations. > > > * > > > diff --git a/include/linux/kexec.h b/include/linux/kexec.h > > > index dd056fab9e35..4a2b24d94e04 100644 > > > --- a/include/linux/kexec.h > > > +++ b/inc

bq27xxx: what is going on with MSLEEP() macro

2017-09-25 Thread Pavel Machek
Hi! 0670c9b35 drivers/power/supply/bq27xxx_battery.c #define BQ27XXX_MSLEEP(i) usleep_range((i)*1000, (i)*1000+500) Liam, is this really neccessary? Defining MSLEEP to be USLEEP_RANGE is quite sneaky and confusing. Plus I don't believe we should be usleep-ing for 25msec. Can we just replace it w

Re: n900 in next-20170901

2017-09-25 Thread Joonsoo Kim
On Thu, Sep 21, 2017 at 10:28:11AM -0700, Tony Lindgren wrote: > * Joonsoo Kim [170914 23:55]: > > On Wed, Sep 13, 2017 at 09:31:27AM -0700, Tony Lindgren wrote: > > > Yes I disabled CONFIG_HIGHMEM and n900 boots. To disable it, > > > you need to remove it from arch/arm/mach-omap2/Kconfig that > >

Re: [RESEND PATCH v5 10/16] ARM: dts: zynq: Add generic compatible string for I2C EEPROM

2017-09-25 Thread Michal Simek
Hi, On 21.9.2017 11:41, Javier Martinez Canillas wrote: > Hello Michal, > > On Thu, Aug 24, 2017 at 3:44 PM, Michal Simek wrote: > > [snip] > >> >> Ok. Applied to >> https://github.com/Xilinx/linux-xlnx/commits/zynq/dt >> >> Will wait if something else pop up. >> > > I see the patch applied t

Re: [PATCH v5 00/16] Add QCOM QPIC NAND support

2017-09-25 Thread Abhishek Sahu
On 2017-08-22 12:02, Abhishek Sahu wrote: On 2017-08-22 01:45, Boris Brezillon wrote: Le Thu, 17 Aug 2017 17:37:38 +0530, Abhishek Sahu a écrit : * v5: 1. Removed the patches already applied to linux-next and rebased the remaining patches on [3] 2. Addressed the review comments in v4 and

Re: [PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-25 Thread Chen Zhong
On Sun, 2017-09-24 at 23:11 -0500, Rob Herring wrote: > On Sat, Sep 23, 2017 at 1:47 AM, Chen Zhong wrote: > > Sorry for the typo. > > > > On Sat, 2017-09-23 at 14:38 +0800, Chen Zhong wrote: > >> On Wed, 2017-09-20 at 15:53 -0500, Rob Herring wrote: > >> > On Sun, Sep 17, 2017 at 04:00:49PM +0800

Re: [PATCH 2/2] cpufreq: schedutil: consolidate capacity margin calculation

2017-09-25 Thread Peter Zijlstra
On Sat, Sep 23, 2017 at 07:04:44AM +0800, Leo Yan wrote: > + freq = (freq * capacity_margin / 1024) * util / max; We have SCHED_CAPACITY_SCALE for that..

[PATCH 1/3] clocksource: fttmr010: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-fttmr010.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/timer-fttmr010.c b/driver

bq27xxx: add battery protection

2017-09-25 Thread Pavel Machek
Add battery protection for bq27xxx. Note that thresholds are very low, so this only kills system long after reasonable userspace should have reacted. Signed-off-by: Pavel Machek diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power/supply/bq27xxx_battery.c index 51f0961..08dc193

[PATCH 3/3] clocksource: rockchip: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- drivers/clocksource/rockchip_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/rockchip_timer.c b/drivers/cl

[PATCH 0/3] clocksource: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Arvind Yadav (3): [PATCH 1/3] clocksource: fttmr010: pr_err() strings should end with newlines [PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines [PATCH 3/3] cloc

[PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- drivers/clocksource/owl-timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/owl-timer.c b/drivers/clocksour

Re: [1/1] wireless: broadcom: brcm80211: use setup_timer() helper

2017-09-25 Thread Allen
> > It's a frequent problem to have misconfigured name in patchwork. I guess > it happens as the first mail patchwork sees from you is the one stored > to the database. And if that mail has an incorrect name, that will be > used from that onwards. You have only onetime chance to fix it yourself > w

Re: [PATCH v2] mm, sysctl: make VM stats configurable

2017-09-25 Thread kemi
On 2017年09月25日 09:36, Huang, Ying wrote: > Kemi Wang writes: > >> This is the second step which introduces a tunable interface that allow VM >> stats configurable for optimizing zone_statistics(), as suggested by Dave >> Hansen and Ying Huang. >> >> === >> Wh

Re: [PATCH 1/2] arm: dts: Add support for National Instruments Project Sulfur SDRs

2017-09-25 Thread Michal Simek
Hi Moritz sorry for delay. On 12.9.2017 01:22, Moritz Fischer wrote: > Add support for the National Instruments Project Sulfur SDR > motherboards Rev 2,3 and 4. > > Signed-off-by: Moritz Fischer > --- > arch/arm/boot/dts/Makefile| 3 + > arch/arm/boot/dts/zynq-ni-sulfur-rev2.

Re: [1/1] brcmfmac: use setup_timer() helper

2017-09-25 Thread Kalle Valo
Allen Pais wrote: > Use setup_timer function instead of initializing timer with the > function and data fields. > > Signed-off-by: Allen Pais Patch applied to wireless-drivers-next.git, thanks. 30ac40763939 brcmfmac: use setup_timer() helper -- https://patchwork.kernel.org/patch/9963851/ h

Re: [PATCH] nvme: make controller 'state' sysfs attribute pollable

2017-09-25 Thread Hannes Reinecke
On 09/25/2017 09:09 AM, Sagi Grimberg wrote: > > > On 25/09/17 08:59, Hannes Reinecke wrote: >> On 09/25/2017 07:37 AM, Sagi Grimberg wrote: >>> So why exposing it then in the first time? I know you don't want dm-mpath in NVMe (neither do I) but we have to have something until your

Re: brcmsmac: make const array ucode_ofdm_rates static, reduces object code size

2017-09-25 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Don't populate const array ucode_ofdm_rates on the stack, instead make it > static. Makes the object code smaller by 100 bytes: > > Before: >text data bss dec hex filename > 39482 564 0 400469c6e

Re: [PATCH v2 3/9] clk: at91: pmc: Support backup for programmable clocks

2017-09-25 Thread Romain Izard
2017-09-22 12:31 GMT+02:00 Nicolas Ferre : > On 15/09/2017 at 16:04, Romain Izard wrote: >> From: Romain Izard >> >> When an AT91 programmable clock is declared in the device tree, register >> it into the Power Management Controller driver. On entering suspend mode, >> the driver saves and restore

Re: mwifiex: make const array tos_to_ac static, reduces object code size

2017-09-25 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Don't populate the read-only const array tos_to_ac on the stack, > instead make it static. Makes the object code smaller by 250 bytes: > > Before: >text data bss dec hex filename > 26104 2720 128 28952

Re: [PATCH v2] drm/tegra: Replace dev_* with DRM_DEV_*

2017-09-25 Thread Allen
Harsha, > > @r@ > @@ > > ( > -dev_info > +DRM_DEV_INFO > | > -dev_err > +DRM_DEV_ERROR > | > -dev_dbg > +DRM_DEV_DEBUG > ) > > Signed-off-by: Harsha Sharma > --- > Changes in v2: > -Break line over 80 characters > -Changes in comments not required > > drivers/gpu/drm/tegra/dc.c | 53 +

Re: b43: make const arrays static, reduces object code size

2017-09-25 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Don't populate const arrays on the stack, instead make them static. > Makes the object code smaller by over 60 bytes: > > Before: >text data bss dec hex filename > 14816 1296 0 161123ef0 b43/phy_ht

Re: [PATCH v3 03/10] kexec_file: factor out arch_kexec_kernel_*() from x86, powerpc

2017-09-25 Thread Dave Young
On 09/25/17 at 04:03pm, Dave Young wrote: > HI AKASHI, > On 09/22/17 at 04:58pm, AKASHI Takahiro wrote: > > Hi Dave, > > > [snip] > > > > > /* > > > > * Apply purgatory relocations. > > > > * > > > > diff --git a/include/linux/kexec.h b/include/linux/kexec.h > > > > index dd056fab9e35..4a2b2

Re: iwlegacy: make const array static to shink object code size

2017-09-25 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Don't populate const array ac_to_fifo on the stack in an inlined > function, instead make it static. Makes the object code smaller > by over 800 bytes: > >text data bss dec hex filename > 159029 331541216

Re: [PATCH] auxdisplay: change PANEL to menuconfig

2017-09-25 Thread Andy Shevchenko
On Fri, 2017-09-22 at 13:20 -0700, Randy Dunlap wrote: > From: Randy Dunlap > > This change makes xconfig present the PANEL drivers immediately > following the AUXDISPLAY drivers instead of under the major menu > item "Device Drivers". It also unclutters the Device Drivers menu in > nconfig and m

[PATCH] clk/Renesas: Delete an error message for a failed memory allocation in three functions

2017-09-25 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 25 Sep 2017 10:10:51 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: Possible unnecessary 'out of memory' message Thus fix affected source code places. Signed-off-by: Markus Elfring --- drivers/clk/renesas/clk-mstp.c

Re: [PATCH v6 2/2] tracing: Add support for preempt and irq enable/disable events

2017-09-25 Thread Peter Zijlstra
On Fri, Sep 22, 2017 at 11:28:30AM -0700, Joel Fernandes wrote: > >> + TP_printk("caller=%pF parent=%pF", > >> + (void *)((unsigned long)(_stext) + __entry->caller_offs), > >> + (void *)((unsigned long)(_stext) + __entry->parent_offs)) > >> +); > > > > So I don't get

Re: [patch 3/3] x86: kvm guest side support for KVM_HC_RT_PRIO hypercall

2017-09-25 Thread Peter Zijlstra
On Sun, Sep 24, 2017 at 10:52:58PM -0300, Marcelo Tosatti wrote: > On Fri, Sep 22, 2017 at 02:59:51PM +0200, Peter Zijlstra wrote: > > Your patch is voodoo programming. You don't solve the actual problem, > > you try and paper over it. > > Priority boosting on a particular section of code is vood

Re: [PATCH v2] Fix header-name to read state name and adjust column width

2017-09-25 Thread seeteena
Any update on this patch ? On 07/31/2017 02:32 PM, Seeteena Thoufeek wrote: The names of the idle states in the output of cpupower monitor command are truncated to 4 characters. Hence, On POWER9, since the states are named "stop0, stop1, stop2, stop4, stop11", this output is ambiguous root:~#

[RFC v1 1/2] VS1544 KSM generic memory comparison functions

2017-09-25 Thread Claudio Imbrenda
This is just a refactoring of the existing code: * Split the page checksum and page comparison functions from ksm.c into a new asm-generic header (page_memops.h) * Add a line in every Kbuild of every arch, to use the generic version of page_memops.h Signed-off-by: Claudio Imbrenda --- arch

[RFC v1 2/2] VS1544 KSM s390-specific memory comparison functions

2017-09-25 Thread Claudio Imbrenda
Introduce s390 specific page comparison and checksumming functions: The s390-specific functions use the CKSM instruction to quickly calculate the checksum of a page. This provides a measurable reduction on CPU load when KSM is active. Signed-off-by: Claudio Imbrenda --- arch/s390/include/asm/K

Re: [PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines

2017-09-25 Thread Andreas Färber
Am 25.09.2017 um 10:16 schrieb Arvind Yadav: > pr_err() messages should terminated with a new-line to avoid > other messages being concatenated onto the end. > > Signed-off-by: Arvind Yadav > --- > drivers/clocksource/owl-timer.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Revie

[RFC v1 0/2] Per-arch page checksumming and comparison

2017-09-25 Thread Claudio Imbrenda
Since we now have two different proposals on how to speed up KSM, I thought I'd share what I had done too, so we can now have three :) I have analysed the performance of KSM, and I have found out that both the checksum and the memcmp take up a significant amount of time. Depending on the content o

RE: [PATCH V2] megaraid: kmemleak: Track page allocation for fusion

2017-09-25 Thread Shivasharan Srikanteshwara
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Monday, September 18, 2017 9:52 PM > To: Shivasharan Srikanteshwara > Cc: Christoph Hellwig; shuw...@redhat.com; Kashyap Desai; Sumit Saxena; > j...@linux.vnet.ibm.com; martin.peter...@oracle.com; > PDL,MEGAR

Re: [RFC PATCH 3/7] iio: adc: axp20x-adc: add support for AXP803

2017-09-25 Thread Quentin Schulz
Hi Icenowy, On 20/09/2017 17:18, Icenowy Zheng wrote: > AXP803 SoC features an ADC part including these channels: GPADC (GPIO0) > and TS pins, PMIC internal temperature sensor, battery voltage, battery > charge/discharge current. > > Add support for the battery-related channels and internal tempe

Re: [PATCH 5/7] smp/hotplug: Differentiate the AP completion between up and down

2017-09-25 Thread Byungchul Park
On Wed, Sep 20, 2017 at 07:00:19PM +0200, Peter Zijlstra wrote: > With lockdep-crossrelease we get deadlock reports that span cpu-up and > cpu-down chains. Such deadlocks cannot possibly happen because cpu-up > and cpu-down are globally serialized. > > takedown_cpu() > irq_lock_sparse() >

Re: [PATCH 6/7] smp/hotplug: Differentiate the AP-work lockdep class between up and down

2017-09-25 Thread Byungchul Park
On Wed, Sep 20, 2017 at 07:00:20PM +0200, Peter Zijlstra wrote: > With lockdep-crossrelease we get deadlock reports that span cpu-up and > cpu-down chains. Such deadlocks cannot possibly happen because cpu-up > and cpu-down are globally serialized. > > CPU0 CPU1

pull-request: wireless-drivers 2017-09-25

2017-09-25 Thread Kalle Valo
Hi Dave, here a pull request to net for 4.14, more info in the signed tag below. Please let me know if there are any problems. Kalle The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at:

[PATCH] mmc: core: add driver strength selection when selecting hs400es

2017-09-25 Thread Chanho Min
From: "hankyung.yu" The drive strength setting is missed and required when selecting hs400es. So, It is added here. Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min --- drivers/mmc/core/mmc.c | 36 +++- 1 file changed, 19 insertions(+), 17 deletions(-) dif

Re: [patch 3/3] x86: kvm guest side support for KVM_HC_RT_PRIO hypercall\

2017-09-25 Thread Peter Zijlstra
On Sun, Sep 24, 2017 at 11:22:38PM -0300, Marcelo Tosatti wrote: > On Fri, Sep 22, 2017 at 03:01:41PM +0200, Peter Zijlstra wrote: > > On Fri, Sep 22, 2017 at 09:40:05AM -0300, Marcelo Tosatti wrote: > > > > > Are you arguing its invalid for the following application to execute on > > > housekeep

Re: [RFC PATCH 4/7] power: supply: axp20x-battery: support AXP803

2017-09-25 Thread Quentin Schulz
Hi Icenowy, On 20/09/2017 17:18, Icenowy Zheng wrote: > The AXP803 PMIC has battery support like other AXP PMICs, but with > different definition of max target charging voltage and constant > charging current. > > Add support for AXP803 battery in axp20x-battery driver. > > Signed-off-by: Icenow

Re: [PATCH] firmware: dmi_scan: Drop dmi_initialized

2017-09-25 Thread Jean Delvare
On Sun, 24 Sep 2017 11:16:25 +0200, Ingo Molnar wrote: > * Jean Delvare wrote: > > On Sat, 23 Sep 2017 12:50:31 +0200, Ingo Molnar wrote: > > > * Jean Delvare wrote: > > > > I don't think it makes sense to check for a possible bad > > > > initialization order at run time on every system when it

Re: [RFC PATCH 6/7] arm64: allwinner: a64: add power supply nodes in AXP803 DTSI

2017-09-25 Thread Quentin Schulz
Hi Icenowy, On 20/09/2017 17:18, Icenowy Zheng wrote: > AXP803 PMIC features AC/USB/Battery power supplies. > > As we have now the device tree bindings for them, add device tree > nodes for them. > > Signed-off-by: Icenowy Zheng > --- > arch/arm64/boot/dts/allwinner/axp803.dtsi | 15 ++

Re: [PATCH v2] staging: atomisp: add a driver for ov5648 camera sensor

2017-09-25 Thread Andy Shevchenko
On Sun, 2017-09-24 at 16:59 +0200, Devid Antonio Floni wrote: > The ov5648 5-megapixel camera sensor from OmniVision supports up to > 2592x1944 > resolution and MIPI CSI-2 interface. Output format is raw sRGB/Bayer > with > 10 bits per colour (SGRBG10_1X10). > > This patch is a port of ov5648 driv

Re: [patch 3/3] x86: kvm guest side support for KVM_HC_RT_PRIO hypercall

2017-09-25 Thread Peter Zijlstra
On Sun, Sep 24, 2017 at 11:57:53PM -0300, Marcelo Tosatti wrote: > I think you are missing the following point: > > "vcpu0 can be interrupted when its not in a spinlock protected section, > otherwise it can't." > > So you _have_ to communicate to the host when the guest enters/leaves a > critica

Re: [RFC PATCH 6/7] arm64: allwinner: a64: add power supply nodes in AXP803 DTSI

2017-09-25 Thread Icenowy Zheng
于 2017年9月25日 GMT+08:00 下午5:11:57, Quentin Schulz 写到: >Hi Icenowy, > >On 20/09/2017 17:18, Icenowy Zheng wrote: >> AXP803 PMIC features AC/USB/Battery power supplies. >> >> As we have now the device tree bindings for them, add device tree >> nodes for them. >> >> Signed-off-by: Icenowy Zheng

Re: [RFC PATCH 1/7] dt-bindings: add compatibles for AXP803 Battery/USB power supplies

2017-09-25 Thread Quentin Schulz
Hi Icenowy, On 20/09/2017 17:18, Icenowy Zheng wrote: > The AXP803 PMIC has different Battery and USB power supplies than the > AXP series PMICs already supported by the kernel, but the AC power > supply is the same as AXP22x (as it can only detect the present/online > state of the AC power supply

Re: [linux-next][EXT4][Oops]kernel panics when running fsfuzzer

2017-09-25 Thread Jan Kara
On Fri 22-09-17 15:46:21, Abdul Haleem wrote: > On Wed, 2017-09-20 at 16:44 +1000, Michael Ellerman wrote: > > Is it reproducible? > > No, bug is not seen once for 3 re-run from yesterday. > > Hope to hit it again in the future CI runs. I was also looking into this but I couldn't figure out what

Re: [PATCH v1 4/4] KVM/vmx: enable lbr for the guest

2017-09-25 Thread Paolo Bonzini
On 25/09/2017 06:44, Wei Wang wrote: > Passthrough the LBR stack to the guest, and auto switch the stack MSRs > upon VMEntry and VMExit. > > Signed-off-by: Wei Wang This has to be enabled separately for each guest, because it may prevent live migration to hosts with a different family/model. Pa

Re: [PATCH 6/7] smp/hotplug: Differentiate the AP-work lockdep class between up and down

2017-09-25 Thread Peter Zijlstra
On Mon, Sep 25, 2017 at 05:54:59PM +0900, Byungchul Park wrote: > On Wed, Sep 20, 2017 at 07:00:20PM +0200, Peter Zijlstra wrote: > > With lockdep-crossrelease we get deadlock reports that span cpu-up and > > cpu-down chains. Such deadlocks cannot possibly happen because cpu-up > > and cpu-down are

Re: [linux-sunxi] Re: [RFC PATCH 6/7] arm64: allwinner: a64: add power supply nodes in AXP803 DTSI

2017-09-25 Thread Chen-Yu Tsai
On Mon, Sep 25, 2017 at 5:14 PM, Icenowy Zheng wrote: > > > 于 2017年9月25日 GMT+08:00 下午5:11:57, Quentin Schulz > 写到: >>Hi Icenowy, >> >>On 20/09/2017 17:18, Icenowy Zheng wrote: >>> AXP803 PMIC features AC/USB/Battery power supplies. >>> >>> As we have now the device tree bindings for them, add de

Re: [RFC PATCH 0/7] AXP803 AC/Battery support

2017-09-25 Thread Quentin Schulz
Hi Icenowy, On 24/09/2017 16:36, Jonathan Cameron wrote: > On Thu, 21 Sep 2017 23:20:11 +0800 > Icenowy Zheng wrote: > >> 于 2017年9月21日 GMT+08:00 下午10:46:21, Jonathan Cameron >> 写到: >>> On Wed, 20 Sep 2017 23:18:07 +0800 >>> Icenowy Zheng wrote: >>> The AXP803 PMIC, used by most Allwinn

Re: [PATCH] firmware: dmi_scan: Drop dmi_initialized

2017-09-25 Thread Peter Zijlstra
On Mon, Sep 25, 2017 at 11:00:11AM +0200, Jean Delvare wrote: > I can find 169 occurrences of "(must|has to|should) be called > (before|after)" in the kernel source tree, plus 19 occurrences of "call > this function (before|after)" so apparently I'm not the only fool who > thinks documenting such o

Re: [RFC PATCH 6/7] arm64: allwinner: a64: add power supply nodes in AXP803 DTSI

2017-09-25 Thread Quentin Schulz
Hi Icenowy, On 25/09/2017 11:14, Icenowy Zheng wrote: > > > 于 2017年9月25日 GMT+08:00 下午5:11:57, Quentin Schulz > 写到: >> Hi Icenowy, >> >> On 20/09/2017 17:18, Icenowy Zheng wrote: >>> AXP803 PMIC features AC/USB/Battery power supplies. >>> >>> As we have now the device tree bindings for them, ad

Re: [PATCH] firmware: dmi_scan: Drop dmi_initialized

2017-09-25 Thread Peter Zijlstra
On Mon, Sep 25, 2017 at 11:00:11AM +0200, Jean Delvare wrote: > Then we have that in common. While reading the code and its history, I > was worried that the justification to add this warning in the first > place was technically weak. Not every coding error must automatically > translate to a patch

[PATCH] iommu/io-pgtable-arm-v7s: Need dma-sync while there is no QUIRK_NO_DMA

2017-09-25 Thread Yong Wu
Fix the commit 81b3c2521844 ("iommu/io-pgtable: Introduce explicit coherency"). If there is no IO_PGTABLE_QUIRK_NO_DMA, we should call dma_sync_single_for_device for cache synchronization. Signed-off-by: Yong Wu --- Rebased on v4.14-rc1. --- drivers/iommu/io-pgtable-arm-v7s.c | 2 +- 1 file chan

Re: [PATCH][drm-next] drm/i915/gvt: ensure -ve return value is handled correctly

2017-09-25 Thread Joonas Lahtinen
On Fri, 2017-09-22 at 17:50 +, Wang, Zhi A wrote: > Thanks for the reply. Learned a lot. :) > > GEM_BUG_ON is new to me since it wasn't there at the beginning of > GVT-g upstream. It showed up later. So I left a lot of WARN_ON in the > code and some of them should be GEM_BUG_ON now. > > Now I

Re: [PATCH 7/7] fs-writeback: only allow one inflight and pending full flush

2017-09-25 Thread Jan Kara
On Thu 21-09-17 10:00:25, Jens Axboe wrote: > On 09/21/2017 09:36 AM, Jens Axboe wrote: > >> But more importantly once we are not guaranteed that we only have > >> a single global wb_writeback_work per bdi_writeback we should just > >> embedd that into struct bdi_writeback instead of dynamically >

[PATCH] cpufreq: powernow-k8: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav --- drivers/cpufreq/powernow-k8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/powernow-k8.c b/drivers/cpufreq/powernow-

[PATCH] ARM: dts: at91: at91-sama5d27_som1: fix PHY ID

2017-09-25 Thread Ludovic Desroches
The PHY ID is incorrect. It leads to troubles when resuming from standby or mem power states. Signed-off-by: Ludovic Desroches Fixes: af690fa37e39 ("ARM: dts: at91: at91-sama5d27_som1: add sama5d27 SoM1 support") --- arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 4 ++-- 1 file changed, 2 insertio

Re: [PATCH v3 2/2] dma: sprd: Add Spreadtrum DMA driver

2017-09-25 Thread Vinod Koul
On Thu, Sep 07, 2017 at 06:00:04PM +0800, Baolin Wang wrote: > +static void sprd_dma_chn_update(struct sprd_dma_chn *schan, u32 reg, > + u32 mask, u32 val) right justfied pls > +static void sprd_dma_clear_int(struct sprd_dma_chn *schan) > +{ > + u32 mask = SPRD_DM

Re: [PATCH] iommu/io-pgtable-arm-v7s: Need dma-sync while there is no QUIRK_NO_DMA

2017-09-25 Thread Robin Murphy
On 25/09/17 10:28, Yong Wu wrote: > Fix the commit 81b3c2521844 ("iommu/io-pgtable: Introduce explicit > coherency"). If there is no IO_PGTABLE_QUIRK_NO_DMA, we should call > dma_sync_single_for_device for cache synchronization. Oops! Reviewed-by: Robin Murphy Thanks, Robin. > Signed-off-by: Y

Re: [PATCH net-next] net: mvpp2: phylink support

2017-09-25 Thread Antoine Tenart
Hi Russell, On Fri, Sep 22, 2017 at 12:07:31PM +0100, Russell King - ARM Linux wrote: > On Thu, Sep 21, 2017 at 03:45:22PM +0200, Antoine Tenart wrote: > > Convert the PPv2 driver to use phylink, which models the MAC to PHY > > link. The phylink support is made such a way the GoP link IRQ can stil

Re: [PATCH] iio: stm32: fix adc/trigger link error

2017-09-25 Thread Fabrice Gasnier
On 09/10/2017 06:00 PM, Jonathan Cameron wrote: > On Wed, 6 Sep 2017 18:16:33 +0200 > Fabrice Gasnier wrote: > >> On 09/06/2017 02:56 PM, Arnd Bergmann wrote: >>> The ADC driver can trigger on either the timer or the lptim >>> trigger, but it only uses a Kconfig 'select' statement >>> to ensure t

Re: [PATCH] clk/Renesas: Delete an error message for a failed memory allocation in three functions

2017-09-25 Thread Geert Uytterhoeven
Hi Markus, On Mon, Sep 25, 2017 at 10:34 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 25 Sep 2017 10:10:51 +0200 > > The script "checkpatch.pl" pointed information out like the following. > > WARNING: Possible unnecessary 'out of memory' message > > Thus fix affected source c

[PATCH V7 2/2] scsi: Align block queue to dma_get_cache_alignment()

2017-09-25 Thread Huacai Chen
In non-coherent DMA mode, kernel uses cache flushing operations to maintain I/O coherency, so scsi's block queue should be aligned to ARCH_DMA_MINALIGN. Otherwise, it will cause data corruption, at least on MIPS: Step 1, dma_map_single Step 2, cache_invalidate (no writeback)

[PATCH V7 1/2] dma-mapping: Rework dma_get_cache_alignment()

2017-09-25 Thread Huacai Chen
Make dma_get_cache_alignment() to accept a 'dev' argument. As a result, it can return different alignments due to different devices' I/O cache coherency. Currently, MIPS is the only architecture which support coherent & non- coherent devices co-exist. This may be changed in the future, so add a ne

  1   2   3   4   5   6   7   8   9   >