Re: [PATCH v2] fixdep: exit with error code in error branches of do_config_file()

2017-12-31 Thread Masahiro Yamada
2018-01-01 0:45 GMT+09:00 Nicholas Mc Guire : > On Sun, Dec 31, 2017 at 01:51:33AM +0900, Masahiro Yamada wrote: >> 2017-12-22 4:10 GMT+09:00 Lukas Bulwahn : >> > do_config_file() should exit with an error code, and not return if it fails >> > as then the error in do_config_file() would go unnotice

[PATCH man-pages 2/2] adjtimex.2: document clock_adjtime

2017-12-31 Thread Richard Cochran
From: Arnd Bergmann I was experimenting with some possible changes to adjtimex(2) and clock_adjtime(2) and tried to look up the man page to see what the documented behavior is when I noticed that clock_adjtime() appears to be the only system call that is currently undocumented. Before I do any c

[PATCH man-pages 1/2] clock_getres.2: Explain dynamic clocks.

2017-12-31 Thread Richard Cochran
Linux has allowed passing open file descriptors to clock_gettime() and friends since v2.6.39. This patch documents these "dynamic" clocks and adds a brief example of how to use them. Signed-off-by: Richard Cochran --- man2/clock_getres.2 | 39 ++- 1 file chan

Re: [PATCH v2 0/3] arm64: defconfig: remove some Qualcomm USB options

2017-12-31 Thread Andy Gross
On Thu, Nov 02, 2017 at 07:47:54AM -0500, Alex Elder wrote: > On 11/02/2017 04:15 AM, Arnd Bergmann wrote: > > On Tue, Oct 31, 2017 at 1:58 PM, Alex Elder wrote: > >> This series deletes three config options related to USB on Qualcomm > >> SoCs from the arm64 "defconfig". The code enabled by the

Re: [PATCH] regulator: sc2731: Fix defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE

2017-12-31 Thread Erick Chen
Hi Axel, O 五, 12月 29, 2017 at 02:12:18下午 +0800, Axel Lin wrote: > The define for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE are > swapped, so the code calling regmap_write() looks strange. Fix it. > regmap_write takes reg parameter first then val. > > Signed-off-by: Axel Lin > --- > Hi Erick,

Re: [PATCH net-next 2/2] tuntap: XDP transmission

2017-12-31 Thread kbuild test robot
Hi Jason, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Jason-Wang/XDP-transmission-for-tuntap/20180101-105946 config: i386-randconfig-s1-201800 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.

Re: [PATCH net-next 2/2] tuntap: XDP transmission

2017-12-31 Thread Joe Perches
On Mon, 2018-01-01 at 11:48 +0800, kbuild test robot wrote: > Hi Jason, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on net-next/master] > > url: > https://github.com/0day-ci/linux/commits/Jason-Wang/XDP-transmission-for-tuntap/20180101-105946 > config: i

Re: [PATCH net-next 2/2] tuntap: XDP transmission

2017-12-31 Thread kbuild test robot
Hi Jason, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Jason-Wang/XDP-transmission-for-tuntap/20180101-105946 config: i386-randconfig-x072-201800 (attached as .config) compiler: gcc-7 (Debian 7.2.0

[PATCH v5] x86/microcode/intel: Blacklist the specific BDW-EP for late loading

2017-12-31 Thread Jia Zhang
Instead of blacklisting all types of Broadwell processor when running a late loading, only BDW-EP (signature 0x406f1, aka family 6, model 79, stepping 1) with the microcode version less than 0x0b21 needs to be blacklisted. The erratum is documented in the the public documentation #334165 (See

[PATCH v2] x86: clean up confusing x86_mask

2017-12-31 Thread Jia Zhang
x86_mask is a confusing name. It is hard to associate it with processor's stepping. Additionally, correct an indent issue in lib/cpu.c. Signed-off-by: Jia Zhang --- arch/x86/events/intel/core.c | 2 +- arch/x86/events/intel/lbr.c | 2 +- arch/x86/events/intel/p6.c

Re: [f2fs-dev v2] [PATCH 1/2] f2fs: stop checkpoint only from fault injection

2017-12-31 Thread Jaegeuk Kim
We can give another chance to write user data, which can resolve generic/441. Signed-off-by: Jaegeuk Kim --- Change log from v1: - skip stop_checkpoint for user data writes fs/f2fs/data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c ind

Re: [PATCH v3] f2fs: add reserved blocks for root user

2017-12-31 Thread Jaegeuk Kim
This patch allows root to reserve some blocks via mount option. "-o reserve_root=N" means N x 4KB-sized blocks for root only. Signed-off-by: Jaegeuk Kim --- Change log from v2: - wrong submission. :P fs/f2fs/f2fs.h | 26 ++ fs/f2fs/super.c | 26 ++

Re: [PATCH v2] f2fs: add reserved blocks for root user

2017-12-31 Thread Jaegeuk Kim
We can give another chance to write user data, which can resolve generic/441. Signed-off-by: Jaegeuk Kim --- Change log from v1: - skip stop_checkpoint for normal user data fs/f2fs/data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c ind

[PATCH v4 5/7] iio: adc: ina2xx: Use a monotonic clock for delay calculation

2017-12-31 Thread Stefan Brüns
The iio timestamp clock is user selectable and may be non-monotonic. Also, only part of the acquisition time is measured, thus the delay was longer than intended. Use a monotonic timestamp to track the time for the next poll iteration. The timestamp is advanced by the sampling interval each iterat

Re: [PATCH v2] f2fs: add an ioctl to disable GC for specific file

2017-12-31 Thread Jaegeuk Kim
On 12/29, Chao Yu wrote: > On 2017/12/28 11:40, Jaegeuk Kim wrote: > > This patch gives a flag to disable GC on given file, which would be useful, > > when > > user wants to keep its block map. It also conducts in-place-update for > > dontmove > > file. > > One question, we may encounter out-of-

Re: [PATCH v4 5/7] clk: Introduce davinci clocks

2017-12-31 Thread David Lechner
On 12/31/2017 05:39 PM, David Lechner wrote: This introduces new drivers for arch/arm/mach-davinci. The code is based on the clock drivers from there and adapted to use the common clock framework. Signed-off-by: David Lechner --- ... diff --git a/drivers/clk/davinci/da8xx-cfgchip-clk.c b/d

[PATCH v4 1/7] ARM: davinci: move davinci_clk_init() to init_time

2017-12-31 Thread David Lechner
This moves the call of davinci_clk_init() from map_io to init_time for all boards. This is the proper place to init clocks. This is also done in preparation for moving to the common clock framework. Signed-off-by: David Lechner --- arch/arm/mach-davinci/board-da830-evm.c | 2 +- arch/arm/m

[PATCH v4 3/7] ARM: davinci: fix duplicate clocks

2017-12-31 Thread David Lechner
There are a number of clocks that were duplicated because they are used by more than one device. It is no longer necessary to do this since we are explicitly calling clk_register_clkdev() for each clock. In da830.c, some clocks were using the same LPSC, which would cause problems with reference cou

[PATCH v4 5/7] clk: Introduce davinci clocks

2017-12-31 Thread David Lechner
This introduces new drivers for arch/arm/mach-davinci. The code is based on the clock drivers from there and adapted to use the common clock framework. Signed-off-by: David Lechner --- drivers/clk/Makefile | 1 + drivers/clk/davinci/Makefile | 3 + drivers/c

[PATCH v4 2/7] ARM: davinci: don't use static clk_lookup

2017-12-31 Thread David Lechner
In preparation of moving to the common clock framework, usage of static struct clk_lookup is removed. The common clock framework uses an opaque struct clk, so we won't be able to use static tables as was previously done. davinci_clk_init() is changed to init a single clock instead of a table and a

[PATCH v4 4/7] ARM: davinci: remove davinci_set_refclk_rate()

2017-12-31 Thread David Lechner
This removes the davinci_set_refclk_rate() function. This was used to set the ref_clk rate after all clocks had been registered when clocks were registered from a static table. However, now it is possible to modify the rate before registering the clocks in the first place by passing the rate as a

[PATCH v4 7/7] ARM: davinci_all_defconfig: remove CONFIG_DAVINCI_RESET_CLOCKS

2017-12-31 Thread David Lechner
This removes CONFIG_DAVINCI_RESET_CLOCKS. The option has been removed from the kernel. Signed-off-by: David Lechner --- arch/arm/configs/davinci_all_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig index

[PATCH v4 6/7] ARM: davinci: convert to common clock framework

2017-12-31 Thread David Lechner
This converts all of arch/arm/mach-davinci to the common clock framework. The clock drivers from clock.c and psc.c have been moved to drivers/clk, so these files are removed. There is one subtle change in the clock trees. AUX, BPDIV and OSCDIV clocks now have "ref_clk" as a parent instead of the P

[PATCH v4 0/7] ARM: davinci: convert to common clock framework​

2017-12-31 Thread David Lechner
This series converts mach-davinci to use the common clock framework. Basically, this series does some cleanup and rearranging to get things ready for the conversion. Then there is a patch to add new driver in drivers/clk and finally a patch to make the conversion from the mach clock drivers to the

Re: PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2017-12-31 Thread Alexandru Chirvasitu
Compiled a couple of kernels with kasan enabled. I don't yet have a crash, but on the system that has been crashing I have the following kasan distress signals on bootup (dmesg attached): [0.027746] == [0.027759] BUG: KASAN:

Linux 4.15-rc6

2017-12-31 Thread Linus Torvalds
One last rc at the end of the year - and a Happy New Year to everybody! This would have been a very quiet week, if it wasn't for the final x86 PTI stuff - and that shows in the diffstat too. About half the rc6 work is x86 updates. The timing for this isn't wonderful, but it all looks nice and clea

Re: [GIT pull] x86 fixes for 4.15

2017-12-31 Thread Thomas Gleixner
On Sun, 31 Dec 2017, Linus Torvalds wrote: > On Sun, Dec 31, 2017 at 1:09 PM, Linus Torvalds > wrote: > > On Sun, Dec 31, 2017 at 8:32 AM, Thomas Gleixner wrote: > >> > >>git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > >> x86-urgent-for-linus > > > > This doesn't contain what you

Re: [PATCH 2/4] KVM: nVMX: track dirty state of non-shadowed VMCS fields

2017-12-31 Thread Wanpeng Li
2017-12-31 16:08 GMT+08:00 Paolo Bonzini : > On 25/12/2017 04:03, Wanpeng Li wrote: >> 2017-12-21 20:43 GMT+08:00 Paolo Bonzini : >>> VMCS12 fields that are not handled through shadow VMCS are rarely >>> written, and thus they are also almost constant in the vmcs02. We can >>> thus optimize prepar

Re: [GIT pull] x86 fixes for 4.15

2017-12-31 Thread Thomas Gleixner
On Sun, 31 Dec 2017, Linus Torvalds wrote: > On Sun, Dec 31, 2017 at 8:32 AM, Thomas Gleixner wrote: > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > x86-urgent-for-linus > > This doesn't contain what you claim it does, it's old x86 fixes from > two weeks ago. > > Forgo

[PATCH v2] drm/i915: Try EDID bitbanging on HDMI after failed read

2017-12-31 Thread Stefan Brüns
The ACK/NACK implementation as found in e.g. the G965 has the falling clock edge and the release of the data line after the ACK for the received byte happen at the same time. This is conformant with the I2C specification, which allows a zero hold time, see footnote [3]: "A device must internally p

[RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on smbus

2017-12-31 Thread Darren Stevens
The pasemi smbus controller uses PCI_FUNC(dev->devfn) to define which number bus to attach to, however this fails when something else is probed first, for example an ATI Radeon graphics card will claim 9 or 10 busses, including the ones the pasemi wants. Patch the driver to call i2c_add_adapter ra

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

2017-12-31 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 31 Dec 2017 22:27:23 +0100 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/ppp/ppp_generic.c | 12 drivers/net/ppp/ppp

Re: [PATCH v2] USB: host: Use zeroing memory allocator rather than allocator/memset

2017-12-31 Thread Alan Stern
On Sun, 31 Dec 2017, Himanshu Jha wrote: > Use dma_zalloc_coherent for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci > 0-day tested with no failures. > > Suggested-by: Luis R. Rodrig

Re: `pci_apply_final_quirks()` taking half a second

2017-12-31 Thread Alan Stern
On Sun, 31 Dec 2017, Paul Menzel wrote: > Am 29.12.2017 um 17:14 schrieb Alan Stern: > > On Thu, 28 Dec 2017, Bjorn Helgaas wrote: > > > >> On Tue, Dec 26, 2017 at 04:55:20PM +0100, Paul Menzel wrote: > >>> Am 08.04.2017 um 17:41 schrieb Bjorn Helgaas: > On Fri, Apr 07, 2017 at 11:07:15PM +0

Re: [GIT pull] x86 fixes for 4.15

2017-12-31 Thread Linus Torvalds
On Sun, Dec 31, 2017 at 1:09 PM, Linus Torvalds wrote: > On Sun, Dec 31, 2017 at 8:32 AM, Thomas Gleixner wrote: >> >>git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git >> x86-urgent-for-linus > > This doesn't contain what you claim it does, it's old x86 fixes from > two weeks ago. >

[PATCH] smsc95xx: Delete an error message for a failed memory allocation in smsc95xx_suspend()

2017-12-31 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 31 Dec 2017 22:06:49 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/usb/smsc95xx.c | 1 - 1 file changed, 1 deletion(-) diff

Re: [GIT pull] x86 fixes for 4.15

2017-12-31 Thread Linus Torvalds
On Sun, Dec 31, 2017 at 8:32 AM, Thomas Gleixner wrote: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-urgent-for-linus This doesn't contain what you claim it does, it's old x86 fixes from two weeks ago. Forgot to push out? Linus

Re: nouveau. swiotlb: coherent allocation failed for device 0000:01:00.0 size=2097152

2017-12-31 Thread Mike Galbraith
On Sun, 2017-12-31 at 13:27 -0500, Ilia Mirkin wrote: > On Tue, Dec 19, 2017 at 8:45 AM, Christian König > wrote: > > Am 19.12.2017 um 11:39 schrieb Michel Dänzer: > >> > >> On 2017-12-19 11:37 AM, Michel Dänzer wrote: > >>> > >>> On 2017-12-18 08:01 PM, Tobias Klausmann wrote: > > On 12

[PATCH v2] input: pxrc: new driver for PhoenixRC Flight Controller Adapter

2017-12-31 Thread Marcus Folkesson
This driver let you plug in your RC controller to the adapter and use it as input device in various RC simulators. Signed-off-by: Marcus Folkesson --- v2: - Change module license to GPLv2 to match SPDX tag Documentation/input/devices/pxrc.rst | 57 drivers/input/joystick/Kconf

Re: [PATCH] input: pxrc: new driver for PhoenixRC Flight Controller Adapter

2017-12-31 Thread Philippe Ombredanne
Markus, On Sun, Dec 31, 2017 at 9:09 PM, Marcus Folkesson wrote: > This driver let you plug in your RC controller to the adapter and > use it as input device in various RC simulators. > > Signed-off-by: Marcus Folkesson > --- /dev/null > +++ b/drivers/input/joystick/pxrc.c > @@ -0,0 +1,254 @@

[PATCH] input: pxrc: new driver for PhoenixRC Flight Controller Adapter

2017-12-31 Thread Marcus Folkesson
This driver let you plug in your RC controller to the adapter and use it as input device in various RC simulators. Signed-off-by: Marcus Folkesson --- Happy New Year! Documentation/input/devices/pxrc.rst | 57 drivers/input/joystick/Kconfig | 9 ++ drivers/input/joystick/Make

Re: [PATCH] usb: quirks: Add reset-resume quirk for QCA6174 Rome Bluetooth

2017-12-31 Thread Marcel Holtmann
Hi Leif, > This is a rework of reverted commit fd865802c66bc451dc515ed89360f84376ce1a56 > The issue is that some QCA Rome bluetooth controllers stop functioning upon > resume from suspend. > These devices seem to be losing power during suspend. This patch will enable > reset_resume in usb core (i

[PATCH v3 5/7] iio: adc: ina2xx: Use a monotonic clock for delay calculation

2017-12-31 Thread Stefan Brüns
The iio timestamp clock is user selectable and may be non-monotonic. Also, only part of the acquisition time is measured, thus the delay was longer than intended. Use a monotonic timestamp to track the time for the next poll iteration. The timestamp is advanced by the sampling interval each iterat

Re: [net-next: PATCH v2 5/5] net: mvpp2: enable ACPI support in the driver

2017-12-31 Thread Andrew Lunn
> * Modify way of obtaining interrupts - with ACPI they are resources > bound to struct platform_device and it's not possible to obtain > them directly from the child node. Hence a formula is used, depending > on the port_id and number of possible CPUs. Hi Marcin I know nothing about ACPI.

Re: [net-next: PATCH v2 4/5] net: mvpp2: use device_*/fwnode_* APIs instead of of_*

2017-12-31 Thread Andrew Lunn
On Sun, Dec 31, 2017 at 12:58:39PM +0100, Marcin Wojtas wrote: Hi Marcin > Because there is no equivalent for for_each_available_child_of_node(), > use device_for_each_child_node() and check the port availability > inside the mvpp2_port_probe() routine. Could device_each_available_child_node() be

Re: nouveau. swiotlb: coherent allocation failed for device 0000:01:00.0 size=2097152

2017-12-31 Thread Ilia Mirkin
On Tue, Dec 19, 2017 at 8:45 AM, Christian König wrote: > Am 19.12.2017 um 11:39 schrieb Michel Dänzer: >> >> On 2017-12-19 11:37 AM, Michel Dänzer wrote: >>> >>> On 2017-12-18 08:01 PM, Tobias Klausmann wrote: On 12/18/17 7:06 PM, Mike Galbraith wrote: > > Greetings, > >

[PATCH] usb: quirks: Add reset-resume quirk for QCA6174 Rome Bluetooth

2017-12-31 Thread Leif Liddy
This is a rework of reverted commit fd865802c66bc451dc515ed89360f84376ce1a56 The issue is that some QCA Rome bluetooth controllers stop functioning upon resume from suspend. These devices seem to be losing power during suspend. This patch will enable reset_resume in usb core (instead of btusb) and

Re: [PATCH] crypto: Use zeroing memory allocator instead of allocator/memset

2017-12-31 Thread Julia Lawall
On Sun, 31 Dec 2017, Himanshu Jha wrote: > On Sun, Dec 31, 2017 at 07:46:09AM -0800, Joe Perches wrote: > > On Sun, 2017-12-31 at 17:54 +0530, Himanshu Jha wrote: > > > Use dma_zalloc_coherent for allocating zeroed > > > memory and remove unnecessary memset function. > > > > > > Done using Cocci

Re: [PATCH] x86: clean up confusing x86_mask

2017-12-31 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Jia-Zhang/x86-clean-up-confusing-x86_mask/20171231-182946 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) vim +165 drivers/char/hw_random/via

Re: [PATCH] slimbus: qcom: fix incompatible pointer warning

2017-12-31 Thread Greg Kroah-Hartman
On Sun, Dec 31, 2017 at 02:23:11PM +, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > One of the pointer passed to dmam_alloc_coherent seems to be > phys_addr_t * instead of dma_addr_t *. This address will be > used by dma apis, so change this to proper type. > > Report

Re: [PATCH] crypto: Use zeroing memory allocator instead of allocator/memset

2017-12-31 Thread Himanshu Jha
On Sun, Dec 31, 2017 at 07:46:09AM -0800, Joe Perches wrote: > On Sun, 2017-12-31 at 17:54 +0530, Himanshu Jha wrote: > > Use dma_zalloc_coherent for allocating zeroed > > memory and remove unnecessary memset function. > > > > Done using Coccinelle. > > Generated-by: scripts/coccinelle/api/alloc/k

Re: [PATCH] arch/x86/boot: sizeof macro

2017-12-31 Thread Joe Perches
On Sun, 2017-12-31 at 13:48 +0200, Andy Shevchenko wrote: > On Fri, Dec 29, 2017 at 9:46 PM, Ingo Molnar wrote: > > * Andy Shevchenko wrote: > > > > - ireg.cx = sizeof buf; > > > > + ireg.cx = sizeof(buf); > > > > > > sizeof is operator, not a function. > > > So, what are you tryin

[GIT pull] x86 fixes for 4.15

2017-12-31 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus A couple of fixlets for x86: - Fix the ESPFIX double fault handling for 5-level pagetables - Fix the commandline parsing for 'apic=' on 32bit

[GIT pull] x86/pti fixes for 4.15

2017-12-31 Thread Thomas Gleixner
Linus, please pull the latest x86-pti-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus Four patches addressing the PTI fallout as discussed and debugged yesterday: - Remove stale and pointless TLB flush invocations from the hotplug code

[GIT pull] timer fixes for 4.15

2017-12-31 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus A pile of fixes for long standing issues with the timer wheel and the NOHZ code: - Prevent timer base confusion accross the nohz switch, w

[GIT pull] smp fix for 4.15

2017-12-31 Thread Thomas Gleixner
Linus, please pull the latest smp-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus A trivial build warning fix for newer compilers Thanks, tglx --> Mathieu Malaterre (1): cpu/hotplug: Move inline k

[PATCH 1/2] x86/dumpstack: Fix partial register dumps

2017-12-31 Thread Josh Poimboeuf
The show_regs_safe() logic is wrong. When there's an iret stack frame, it prints the entire pt_regs -- most of which is random stack data -- instead of just the five registers at the end. show_regs_safe() is also poorly named: the on_stack() checks aren't for safety. Rename the function to show_

Re: [PATCH v3 3/3] drm/tinydrm: add driver for ST7735R panels

2017-12-31 Thread Noralf Trønnes
Den 21.12.2017 20.35, skrev David Lechner: On 12/21/2017 01:23 PM, David Lechner wrote: This adds a new driver for Sitronix ST7735R display panels. This has been tested using an Adafruit 1.8" TFT. Signed-off-by: David Lechner --- +    mipi_dbi_command(mipi, ST7735R_GAMCTRP1, 0x0f, 0x1a,

[PATCH 2/2] x86/dumpstack: Print registers for first stack frame

2017-12-31 Thread Josh Poimboeuf
In the stack dump code, if the frame after the starting pt_regs is also a regs frame, the registers don't get printed. Fix that. Reported-by: Andy Lutomirski Tested-by: Alexander Tsoy Fixes: 3b3fa11bc700 ("x86/dumpstack: Print any pt_regs found on the stack") Cc: sta...@vger.kernel.org Signed-o

[GIT pull] scheduler fixes for 4.15

2017-12-31 Thread Thomas Gleixner
Linus, please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus Three patches addressing the fallout of the CPU_ISOLATION changes especially with NO_HZ_FULL plus documentation of boot parameter dependency.

[PATCH 0/2] x86: PTI dumpstack fixes

2017-12-31 Thread Josh Poimboeuf
A couple of stack dump fixes, which will help debugging PTI issues. Josh Poimboeuf (2): x86/dumpstack: Fix partial register dumps x86/dumpstack: Print registers for first stack frame arch/x86/include/asm/unwind.h | 17 + arch/x86/kernel/dumpstack.c | 31

[GIT pull] perf fixes for 4.15

2017-12-31 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus This update contains: - Plug a memory leak in the intel pmu init code - clang fixes - tooling fix to avoid including kernel headers

Re: [PATCH v3 3/3] drm/tinydrm: add driver for ST7735R panels

2017-12-31 Thread Noralf Trønnes
Den 21.12.2017 20.23, skrev David Lechner: This adds a new driver for Sitronix ST7735R display panels. This has been tested using an Adafruit 1.8" TFT. Signed-off-by: David Lechner --- v3 changes: * Changed compatible string * use SPDX license header * Renamed mode struct to use panel name i

[GIT pull] irq fixes for 4.15

2017-12-31 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus A rather large update after the kaisered maintainer finally found time to handle regression reports. - The larger part addresses a regression ca

[GIT pull] core fixes for 4.15

2017-12-31 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus Thre fixlets for objtool: - Address two segfaults related to missing parameter and clang objects - Make it compile clean with clang Thanks

Re: PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2017-12-31 Thread Chris Wilson
Quoting Alexandru Chirvasitu (2017-12-30 17:31:32) > Short description: I get freezes of my desktop completely eliminating > mouse / keyboard functionality. > > I’m on an UltraLap 5330, Processor: i7-7500U, Memory: 32 GB DDR4-2133 > Video Card: Intel HD (included). It's running Void linux 64 bit.

Re: [PATCH v2] fixdep: exit with error code in error branches of do_config_file()

2017-12-31 Thread Nicholas Mc Guire
On Sun, Dec 31, 2017 at 01:51:33AM +0900, Masahiro Yamada wrote: > 2017-12-22 4:10 GMT+09:00 Lukas Bulwahn : > > do_config_file() should exit with an error code, and not return if it fails > > as then the error in do_config_file() would go unnoticed in the current > > code and allow the build to co

Re: [PATCH] crypto: Use zeroing memory allocator instead of allocator/memset

2017-12-31 Thread Joe Perches
On Sun, 2017-12-31 at 17:54 +0530, Himanshu Jha wrote: > Use dma_zalloc_coherent for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci I thought you were going to change this tag to not u

[GIT PULL] ARM: at91: drivers for 4.16

2017-12-31 Thread Alexandre Belloni
Arnd, Olof, A single harmless change for this pull request. I hope you'll enjoy this New Year's Eve. The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/

Re: [patch V2 1/3] x86/ldt: Plug memory leak in error path

2017-12-31 Thread Andy Lutomirski
> On Dec 31, 2017, at 2:24 AM, Thomas Gleixner wrote: > > The error path in write_ldt() tries to free old_ldt instead of the newly > allocated new_ldt resulting in a memory leak. It also misses to clean up a > half populated LDT pagetable, which is not a leak as it gets cleaned up > when the pr

Re: [PATCH v2] vsprintf: Do not have bprintf dereference pointers

2017-12-31 Thread kbuild test robot
-ci/linux/commits/Steven-Rostedt/vsprintf-Do-not-have-bprintf-dereference-pointers/20171231-223129 config: i386-randconfig-x072-201753 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: # save the attached .config to linux build tree make ARCH=i386 All

[GIT PULL] ARM: at91: DT for 4.16

2017-12-31 Thread Alexandre Belloni
Arnd, Olof, This is the at91 DT pull request. The bulk of it is the switch to the new TCB bindings that were acked a long time ago. These changes are compatible with the current driver and taking them now will allow for a smooth transition. The following changes since commit 4fbd8d194f06c8a3fd2af

Re: [PATCH v2] watchdog: imx2_wdt: restore previous timeout after suspend+resume

2017-12-31 Thread Guenter Roeck
Hi Martin, On 12/31/2017 03:17 AM, Martin Kaiser wrote: When the watchdog device is suspended, its timeout is set to the maximum value. During resume, the previously set timeout should be restored. This does not work at the moment. The suspend function calls imx2_wdt_set_timeout(wdog, IMX2_WDT

[PATCH] slimbus: qcom: fix incompatible pointer warning

2017-12-31 Thread srinivas . kandagatla
From: Srinivas Kandagatla One of the pointer passed to dmam_alloc_coherent seems to be phys_addr_t * instead of dma_addr_t *. This address will be used by dma apis, so change this to proper type. Reported-by: kbuild test robot Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ctrl.c

Re: Review of KPTI patchset

2017-12-31 Thread Thomas Gleixner
On Sun, 31 Dec 2017, Mathieu Desnoyers wrote: > > Granted, it's not obvious and ideally we convert those this_cpu_read/writes > > to __this_cpu_read/writes() to get the immediate fail reported on the first > > access. > > Indeed, if this function is expected to be called from non-preempt context,

Re: Review of KPTI patchset

2017-12-31 Thread Mathieu Desnoyers
- On Dec 30, 2017, at 5:02 PM, Thomas Gleixner t...@linutronix.de wrote: > On Sat, 30 Dec 2017, Mathieu Desnoyers wrote: >> - On Dec 30, 2017, at 2:58 PM, Thomas Gleixner t...@linutronix.de wrote: >> > /* >> > * Called on fork from arch_dup_mmap(). Just copy the current LDT state, >> > *

Re: [PATCHv2 1/8] MIPS: Loongson64: cleanup all cs5536 files to use SPDX Identifier

2017-12-31 Thread Philippe Ombredanne
On Sun, Dec 31, 2017 at 2:14 PM, Jiaxun Yang wrote: > On 2017-12-31 Sun 12:17 +0100,Philippe Ombredanne wrote: >> Did you CC the original authors? You would need their signoff or at >> least an ack IMHO > > Yeah, I CC Huacai Chen in v1 as the Lemote staff who in charge of > Loongson's mainline ker

Re: [PATCH 01/33] clk_ops: change round_rate() to return unsigned long

2017-12-31 Thread Bryan O'Donoghue
On 30/12/17 16:36, Mikko Perttunen wrote: FWIW, we had this problem some years ago with the Tegra CPU clock - then it was determined that a simpler solution was to have the determine_rate callback support unsigned long rates - so clock drivers that need to return rates higher than 2^31 can inst

Re: [PATCHv2 1/8] MIPS: Loongson64: cleanup all cs5536 files to use SPDX Identifier

2017-12-31 Thread Jiaxun Yang
On 2017-12-31 Sun 12:17 +0100,Philippe Ombredanne wrote: > Did you CC the original authors? You would need their signoff or at > least an ack IMHO Yeah, I CC Huacai Chen in v1 as the Lemote staff who in charge of Loongson's mainline kernel. Can he sign-off for all the original authors who were fro

Re: [RFC PATCH 3/3] mm: unclutter THP migration

2017-12-31 Thread Zi Yan
On 31 Dec 2017, at 4:07, Michal Hocko wrote: > On Fri 29-12-17 10:45:46, Zi Yan wrote: >> On 29 Dec 2017, at 6:36, Michal Hocko wrote: >> >>> On Tue 26-12-17 21:19:35, Zi Yan wrote: > [...] And it seems a little bit strange to only re-migrate the head page, then come back to all tail >>

RE: [PATCH] RDMA/qedr: Use zeroing memory allocator than allocator/memset

2017-12-31 Thread Amrani, Ram
> Use dma_zalloc_coherent for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci > 0-day tested with no failures. > > Suggested-by: Luis R. Rodriguez > Signed-off-by: Himanshu Jha > ---

Re: [RFC PATCH v2 03/13] bootsplash: Flush framebuffer after drawing

2017-12-31 Thread Alan Cox
On Tue, 19 Dec 2017 15:07:53 +0100 Oliver Neukum wrote: > Am Dienstag, den 19.12.2017, 14:57 +0100 schrieb Daniel Vetter: > > > Would you like me to extend the FB API or not? > > > > Yes. Well for real I'd like you to do kms, so maybe you need to explain > > why exactly you absolutely have to

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-31 Thread Alan Cox
> So fundamentally I don't think an in-kernel bootsplash is a bad idea. > But most likely you want this on a highly embedded system, which It wouldn't be in kernel on such a device, it'll be in the bootstrap before (or on a dual core device quite possibly while) the kernel data is being uncompress

Re: [PATCH v2] ksm: replace jhash2 with faster hash

2017-12-31 Thread kbuild test robot
-ci/linux/commits/Timofey-Titovets/ksm-replace-jhash2-with-faster-hash/20171231-155425 base: git://git.cmpxchg.org/linux-mmotm.git master reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by

[RFC PATCH] ksm: fasthash() can be static

2017-12-31 Thread kbuild test robot
Fixes: 038adb295b0c ("ksm: replace jhash2 with faster hash") Signed-off-by: Fengguang Wu --- ksm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/ksm.c b/mm/ksm.c index ac2aa49..1c2619cbc3 100644 --- a/mm/ksm.c +++ b/mm/ksm.c @@ -374,7 +374,7 @@ static void __init choi

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-31 Thread Alan Cox
On Tue, 19 Dec 2017 19:40:12 +0100 Max Staudt wrote: > On 12/19/2017 06:26 PM, Daniel Vetter wrote: > > On Tue, Dec 19, 2017 at 6:04 PM, Max Staudt wrote: > >> Well, those could enable fbcon if they want the bootsplash. Shouldn't make > >> a difference anyway if they're powerful enough to run

Re: [PATCH 1/2] bitmap: new bitmap_copy_safe and bitmap_{from,to}_arr32

2017-12-31 Thread Andy Shevchenko
On Thu, Dec 28, 2017 at 5:00 PM, Yury Norov wrote: > This patchset replaces bitmap_{to,from}_u32array with more simple > and standard looking copy-like functions. > > bitmap_from_u32array() takes 4 arguments (bitmap_to_u32array is similar): > - unsigned long *bitmap, which is destination; > - un

[PATCH] IB/mthca: Use zeroing memory allocator than allocator/memset

2017-12-31 Thread Himanshu Jha
Use dma_zalloc_coherent for allocating zeroed memory and remove unnecessary memset function. Done using Coccinelle. Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci 0-day tested with no failures. Suggested-by: Luis R. Rodriguez Signed-off-by: Himanshu Jha --- drivers/infiniband/

[PATCH] RDMA/bnxt_re: Use zeroing memory allocator than allocator/memset

2017-12-31 Thread Himanshu Jha
Use dma_zalloc_coherent for allocating zeroed memory and remove unnecessary memset function. Done using Coccinelle. Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci 0-day tested with no failures. Suggested-by: Luis R. Rodriguez Signed-off-by: Himanshu Jha --- drivers/infiniband/

[PATCH] RDMA/qedr: Use zeroing memory allocator than allocator/memset

2017-12-31 Thread Himanshu Jha
Use dma_zalloc_coherent for allocating zeroed memory and remove unnecessary memset function. Done using Coccinelle. Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci 0-day tested with no failures. Suggested-by: Luis R. Rodriguez Signed-off-by: Himanshu Jha --- drivers/infiniband/

[PATCH] RDMA/vmw_pvrdma: Use zeroing memory allocator than allocator/memset

2017-12-31 Thread Himanshu Jha
Use dma_zalloc_coherent for allocating zeroed memory and remove unnecessary memset function. Done using Coccinelle. Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci 0-day tested with no failures. Suggested-by: Luis R. Rodriguez Signed-off-by: Himanshu Jha --- drivers/infiniband/

[PATCH] liquidio: Use zeroing memory allocator than allocator/memset

2017-12-31 Thread Himanshu Jha
Use vzalloc for allocating zeroed memory and remove unnecessary memset function. Done using Coccinelle. Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci 0-day tested with no failures. Suggested-by: Luis R. Rodriguez Signed-off-by: Himanshu Jha --- drivers/net/ethernet/cavium/liq

[PATCH] fbdev: auo_k190x: Use zeroing memory allocator than allocator/memset

2017-12-31 Thread Himanshu Jha
Use vzalloc for allocating zeroed memory and remove unnecessary memset function. Done using Coccinelle. Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci 0-day tested with no failures. Suggested-by: Luis R. Rodriguez Signed-off-by: Himanshu Jha --- drivers/video/fbdev/auo_k190x.c

[PATCH] crypto: Use zeroing memory allocator instead of allocator/memset

2017-12-31 Thread Himanshu Jha
Use dma_zalloc_coherent for allocating zeroed memory and remove unnecessary memset function. Done using Coccinelle. Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci 0-day tested with no failures. Signed-off-by: Himanshu Jha --- drivers/crypto/amcc/crypto4xx_core.c | 8 +++- d

Re: [PATCH] IB/ocrdma: Use zeroing memory allocator than allocator/memset

2017-12-31 Thread Leon Romanovsky
On Sat, Dec 30, 2017 at 09:09:56PM +0530, Himanshu Jha wrote: > Use dma_zalloc_coherent for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci > 0-day tested with no failures. > > Suggested-

Re: [PATCH] brcmfmac: Use zeroing memory allocator than allocator/memset

2017-12-31 Thread Andy Shevchenko
On Sat, Dec 30, 2017 at 5:51 PM, Himanshu Jha wrote: > Use dma_zalloc_coherent for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci > 0-day tested with no failures. > Makes sense. Revie

[net-next: PATCH v2 5/5] net: mvpp2: enable ACPI support in the driver

2017-12-31 Thread Marcin Wojtas
This patch introduces an alternative way of obtaining resources - via ACPI tables provided by firmware. Enabling coexistence with the DT support, in addition to the OF_*->device_*/fwnode_* API replacement, required following steps to be taken: * Add mvpp2_acpi_match table * Omit clock configuratio

[net-next: PATCH v2 1/5] device property: Introduce fwnode_get_mac_address()

2017-12-31 Thread Marcin Wojtas
Until now there were two almost identical functions for obtaining MAC address - of_get_mac_address() and, more generic, device_get_mac_address(). However it is not uncommon, that the network interface is represented as a child of the actual controller, hence it is not associated directly to any str

[net-next: PATCH v2 3/5] net: mvpp2: simplify maintaining enabled ports' list

2017-12-31 Thread Marcin Wojtas
'port_count' field of the mvpp2 structure holds an overall amount of available ports, based on DT nodes status. In order to be prepared to support other HW description, obtain the value by incrementing it upon each successful port initialization. This allowed for simplifying port indexing in the co

[net-next: PATCH v2 0/5] Armada 7k/8k PP2 ACPI support

2017-12-31 Thread Marcin Wojtas
Hi, This a second version of a patchset, which introduces ACPI support in mvpp2 driver. Comparing to the initial one, all patches touching generic ACPI MDIO bus / PHY handling were removed and after some modifications will be resend separately. They may require a longer discussion in terms of phyl

  1   2   >