Re: [PATCH] scsi: lpfc: fix kzalloc-simple.cocci warnings

2017-11-03 Thread James Smart
On 10/11/2017 12:42 PM, Vasyl Gomonovych wrote: drivers/scsi/lpfc/lpfc_debugfs.c:5460:22-29: WARNING: kzalloc should be used for phba -> nvmeio_trc, instead of kmalloc/memset drivers/scsi/lpfc/lpfc_debugfs.c:2230:20-27: WARNING: kzalloc should be used for phba -> nvmeio_trc, instead of

Re: [tip:x86/asm 24/32] mm/migrate.o: warning: objtool: migrate_misplaced_transhuge_page()+0x71: unreachable instruction

2017-11-03 Thread Josh Poimboeuf
On Fri, Nov 03, 2017 at 11:36:50AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/asm > head: 1e4c4f610f774df6088d7c065b2dd4d22adba698 > commit: da51da189a24bb9b7e2d5a123be096e51a4695a5 [24/32] x86/entry/64: Pass > SP0 directly to

Re: linux-next: build failure after merge of the nvdimm tree

2017-11-03 Thread Dan Williams
On Fri, Nov 3, 2017 at 12:19 AM, Stephen Rothwell wrote: > Hi Dan, > > After merging the nvdimm tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > In file included from arch/powerpc/kernel/asm-offsets.c:22:0: > include/linux/mman.h: In function

Re: [PATCH v2] f2fs: add bug_on when f2fs_gc even fails to get one victim

2017-11-03 Thread 宋云龙
OK to me. > > >> On 10/13, Yunlong Song wrote: >> This can help us to debug on some corner case. >> >> Signed-off-by: Yunlong Song >> Signed-off-by: Chao Yu >> --- >> fs/f2fs/gc.c | 6 +- >> 1 file changed, 5 insertions(+), 1 deletion(-) >> >>

Re: [PATCH 5/6] shmem: add sealing support to hugetlb-backed memfd

2017-11-03 Thread Marc-André Lureau
Hi - Original Message - > On 10/31/2017 11:40 AM, Marc-André Lureau wrote: > > Adapt add_seals()/get_seals() to work with hugetbfs-backed memory. > > > > Teach memfd_create() to allow sealing operations on MFD_HUGETLB. > > > > Signed-off-by: Marc-André Lureau

Re: [PATCH v2] scsi: be2iscsi: Use kasprintf

2017-11-03 Thread Martin K. Petersen
Himanshu, >> It is not. It needs a review/ack from the driver maintainers. > > What about Kyle Fortin's review ? Kyle's review is fine. But when a driver is actively maintained, like be2iscsi is, I always give ack/nack rights to the relevant maintainers. In this case that's Jitendra. --

Re: [RFT][PATCH v2 2/2] PM / QoS: Fix device resume latency framework

2017-11-03 Thread Reinette Chatre
Hi Rafael, I started to test this but found myself triggering one of the warnings: On 11/3/2017 4:50 AM, Rafael J. Wysocki wrote: > --- linux-pm.orig/include/linux/pm_qos.h > +++ linux-pm/include/linux/pm_qos.h > @@ -28,16 +28,19 @@ enum pm_qos_flags_status { > PM_QOS_FLAGS_ALL, > }; >

RE: [PATCH v3] xen: support priv-mapping in an HVM tools domain

2017-11-03 Thread Paul Durrant
> -Original Message- > From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: 03 November 2017 16:58 > To: x...@kernel.org; xen-de...@lists.xenproject.org; linux- > ker...@vger.kernel.org > Cc: Paul Durrant ; Boris Ostrovsky > ;

[PATCH v16 00/13] support "task_isolation" mode

2017-11-03 Thread Chris Metcalf
Here, finally, is a new spin of the task isolation work (v16), with changes based on the issues that were raised at last year's Linux Plumbers Conference and in the email discussion that followed. This version of the patch series cleans up a number of areas that were a little dodgy in the

[PATCH v16 01/13] vmstat: add quiet_vmstat_sync function

2017-11-03 Thread Chris Metcalf
In commit f01f17d3705b ("mm, vmstat: make quiet_vmstat lighter") the quiet_vmstat() function became asynchronous, in the sense that the vmstat work was still scheduled to run on the core when the function returned. For task isolation, we need a synchronous version of the function that guarantees

[PATCH v16 04/13] Add try_get_task_struct_on_cpu() to scheduler for task isolation

2017-11-03 Thread Chris Metcalf
Task isolation wants to be able to verify that a remote core is running an isolated task to determine if it should generate a diagnostic, and also possibly interrupt it. This API returns a pointer to the task_struct of the task that was running on the specified core at the moment of the request;

[PATCH v16 11/13] arch/tile: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
We add the necessary call to task_isolation_start() in the prepare_exit_to_usermode() routine. We already unconditionally call into this routine if TIF_NOHZ is set, since that's where we do the user_enter() call. We add calls to task_isolation_interrupt() in places where exceptions may not

[PATCH v16 02/13] vmstat: add vmstat_idle function

2017-11-03 Thread Chris Metcalf
This function checks to see if a vmstat worker is not running, and the vmstat diffs don't require an update. The function is called from the task-isolation code to see if we need to actually do some work to quiet vmstat. Acked-by: Christoph Lameter Signed-off-by: Chris Metcalf

Business

2017-11-03 Thread Ms.Lev
I have a rather important business proposal for you, I shall provide you with details upon your response to my email.

[PATCH v8 2/5] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-11-03 Thread Aleksandar Markovic
From: Miodrag Dinic Add device driver for a virtual programmable interrupt controller The virtual PIC is designed as a device tree-based interrupt controller. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic

[PATCH v8 3/5] Documentation: Add device tree binding for Goldfish FB driver

2017-11-03 Thread Aleksandar Markovic
From: Aleksandar Markovic Add documentation for DT binding of Goldfish FB driver. The compatible string used by OS for binding the driver is "google,goldfish-fb". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc

[PATCH v8 0/5] MIPS: Add virtual Ranchu board as a generic-based board

2017-11-03 Thread Aleksandar Markovic
From: Aleksandar Markovic v7->v8: - cleaned commit message for patch #2 - cleaned GPL licence text for patch #2 - revised Goldfish PIC error and info messages - simplified code around MIPS_MACHINE() for Ranchu - changed an instance of

[PATCH v8 1/5] Documentation: Add device tree binding for Goldfish PIC driver

2017-11-03 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc

[PATCH v8 4/5] video: goldfishfb: Add support for device tree bindings

2017-11-03 Thread Aleksandar Markovic
From: Aleksandar Markovic Add ability to the Goldfish FB driver to be recognized by OS via DT. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic

[PATCH] HID: Wacom: switch Dell canvas into highres mode

2017-11-03 Thread Benjamin Tissoires
The Dell Canvas exports 2 collections for the Pen part. The only difference between the 2 is that the default one has half the resolution of the second one. The Windows driver switches the tablet into the second mode, so we should behave the same. Signed-off-by: Benjamin Tissoires

Re: [PATCH v8 2/5] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-11-03 Thread Joe Perches
On Fri, 2017-11-03 at 18:21 +0100, Aleksandar Markovic wrote: > From: Miodrag Dinic [] > diff --git a/drivers/irqchip/irq-goldfish-pic.c > b/drivers/irqchip/irq-goldfish-pic.c [] > +static int __init goldfish_pic_of_init(struct device_node *of_node, > +

[PATCH] arch/tile: Implement ->set_state_oneshot_stopped()

2017-11-03 Thread Chris Metcalf
set_state_oneshot_stopped() is called by the clkevt core, when the next event is required at an expiry time of 'KTIME_MAX'. This normally happens with NO_HZ_{IDLE|FULL} in both LOWRES/HIGHRES modes. This patch makes the clockevent device to stop on such an event, to avoid spurious interrupts, as

Re: [PATCH 2/3] clk: hisilicon: Add support for Hi3660 stub clocks

2017-11-03 Thread Julien Thierry
Hi Kaihua, On 03/11/17 07:25, Kaihua Zhong wrote: Hi3660 has four stub clocks, which are big and LITTLE cluster clocks, GPU clock and DDR clock. These clocks ask MCU for frequency scaling by sending message through mailbox. This commit adds support for stub clocks, it requests the dedicated

[PATCH] soc: amlogic: meson-gx-pwrc-vpu: fix power-off when powered by bootloader

2017-11-03 Thread Neil Armstrong
In the case the VPU power domain has been powered on by the bootloader and no driver are attached to this power domain, the genpd will power it off after a certain amount of time, but the clocks hasn't been enabled by the kernel itself and the power-off will trigger some faults. This patch enable

Re: [PATCH 2/3] printk: Add /sys/consoles/ interface

2017-11-03 Thread Kroah-Hartman
On Fri, Nov 03, 2017 at 04:46:51PM +0100, Petr Mladek wrote: > On Fri 2017-11-03 15:32:34, Kroah-Hartman wrote: > > > > diff --git a/Documentation/ABI/testing/sysfs-consoles > > > > b/Documentation/ABI/testing/sysfs-consoles > > > > new file mode 100644 > > > > index 000..6a1593e > > > > ---

Re: [PATCH v5 3/3] KVM: nVMX: Fix mmu context after VMLAUNCH/VMRESUME failure

2017-11-03 Thread Jim Mattson
That seems reasonable to me. Thanks for the fix. Reviewed-by: Jim Mattson On Thu, Nov 2, 2017 at 5:50 PM, Wanpeng Li wrote: > From: Wanpeng Li > > Commit 4f350c6dbcb (kvm: nVMX: Handle deferred early VMLAUNCH/VMRESUME failure >

[PATCH v2] watchdog: pcwd_pci: mark expected switch fall-through

2017-11-03 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in this particular case I replaced "Fall" with a proper "fall through" comment, which is what GCC is expecting to find. Signed-off-by: Gustavo A. R. Silva

Re: [PATCH] watchdog: pcwd_pci: mark expected switch fall-through

2017-11-03 Thread Joe Perches
On Fri, 2017-11-03 at 08:54 -0700, Guenter Roeck wrote: > On Fri, Nov 03, 2017 at 04:04:23PM +0100, Wim Van Sebroeck wrote: > > Hi Gustavo, > > > > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > > > where we are expecting to fall through. > > > > > > Notice that in this

Re: [PATCH 2/6] shmem: rename functions that are memfd-related

2017-11-03 Thread Marc-André Lureau
Hi - Original Message - > On 10/31/2017 11:40 AM, Marc-André Lureau wrote: > > Those functions are called for memfd files, backed by shmem or > > hugetlb (the next patches will handle hugetlb). > > > > Signed-off-by: Marc-André Lureau > > --- > > fs/fcntl.c

Re: [PATCH char-misc 1/1] Drivers: hv: vmbus: Implement Direct Mode for stimer0

2017-11-03 Thread kbuild test robot
Hi Michael, Thank you for the patch! Yet something to improve: [auto build test ERROR on char-misc/master] url: https://github.com/0day-ci/linux/commits/mikelley-exchange-microsoft-com/Drivers-hv-vmbus-Implement-Direct-Mode-for-stimer0/20171103-214519 config: x86_64-rhel (attached

Re: [PATCH v2 0/2] pinctrl: Allow indicating loss of state across suspend/resume

2017-11-03 Thread Tony Lindgren
* Charles Keepax [171103 10:38]: > On Thu, Nov 02, 2017 at 04:15:49PM -0700, Florian Fainelli wrote: > > Hello Linus, > > > > It's me again, so I have been thinking about the problem originally > > reported in: [PATCH fixes v3] pinctrl: Really force states during

Re: [PATCH v2] scsi: be2iscsi: Use kasprintf

2017-11-03 Thread Himanshu Jha
On Fri, Nov 03, 2017 at 11:25:05AM -0400, Martin K. Petersen wrote: Hi Martin, > > Himanshu, > > > Just a reminder, is my patch in our queue ? > > It is not. It needs a review/ack from the driver maintainers. What about Kyle Fortin's review ? > -- > Martin K. PetersenOracle Linux

Re: [PATCH 2/6] shmem: rename functions that are memfd-related

2017-11-03 Thread Mike Kravetz
On 11/03/2017 09:02 AM, Marc-André Lureau wrote: > Hi > > - Original Message - >> On 10/31/2017 11:40 AM, Marc-André Lureau wrote: >>> Those functions are called for memfd files, backed by shmem or >>> hugetlb (the next patches will handle hugetlb). >>> >>> Signed-off-by: Marc-André

Re: [PATCH 3/6] hugetlb: expose hugetlbfs_inode_info in header

2017-11-03 Thread Mike Kravetz
On 11/03/2017 09:14 AM, Marc-André Lureau wrote: > Hi > > - Original Message - >> On 10/31/2017 11:40 AM, Marc-André Lureau wrote: >>> The following patch is going to access hugetlbfs_inode_info field from >>> mm/shmem.c. >> >> The code looks fine. However, I would prefer something

Re: [PATCH V3] scsi: storvsc: Allow only one remove lun work item to be issued per lun

2017-11-03 Thread Martin K. Petersen
Cathy, > When running multipath on a VM if all available paths go down the > driver can schedule large amounts of storvsc_remove_lun work items to > the same lun. In response to the failing paths typically storvsc > responds by taking host->scan_mutex and issuing a TUR per lun. If > there has

[PATCH 1/2] can: peak_usb: remove some 'struct timeval' users

2017-11-03 Thread Arnd Bergmann
We want to remove 'struct timeval' and related interfaces since this is generally not safe for use beyond 2038. For peak_usb, we can simplify the internal interface by using ktime_t directly. This should not change any behavior, but it avoids a few conversions. Signed-off-by: Arnd Bergmann

[PATCH 2/2] can: peak_usb: use ktime_t consistently

2017-11-03 Thread Arnd Bergmann
This changes the calculation of the timestamps to use ktime_t instead of struct timeval as the base. This gets rid of one of the few remaining users of the deprecated ktime_to_timeval() and timeval_to_ktime() helpers. The code should also get more efficient, as we have now removed all of the

Re: [PATCH] staging: comedi: usbduxfast: Improve unlocking of a mutex in usbduxfast_ai_insn_read()

2017-11-03 Thread SF Markus Elfring
>> @@ -838,6 +834,10 @@ static int usbduxfast_ai_insn_read(struct comedi_device >> *dev, >>   mutex_unlock(>mut); >>     return insn->n; > > Minor niggle: You could also remove that call to mutex_unlock() by replacing > the above three lines with: > > ret = insn->n; > > which will

[GIT PULL] SCSI fixes for 4.14-rc7

2017-11-03 Thread James Bottomley
One minor fix in the error leg of the qla2xxx driver (it oopses the system if we get an error trying to start the internal kernel thread).  The fix is minor because the problem isn't often encountered in the field (although it can be induced by inserting the module in a low memory environment).

Re: [PATCH][RFC] usb: hub: Cycle HUB power when initialization fails

2017-11-03 Thread Alan Stern
On Fri, 3 Nov 2017, Mike Looijmans wrote: > Sometimes the USB device gets confused about the state of the initialization > and > the connection fails. In particular, the device thinks that it's already set > up > and running while the host thinks the device still needs to be configured. To How

[GIT PULL] arch/tile bugfixes for 4.14-rcN

2017-11-03 Thread Chris Metcalf
Linus, Please pull the following two commits for 4.14 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master These are both one-line bug fixes. Chris Metcalf (1): arch/tile: Implement ->set_state_oneshot_stopped() Luc Van Oostenryck (1): tile: pass

Re: [ANNOUNCE] v4.13.10-rt3 (possible recursive locking warning)

2017-11-03 Thread Fernando Lopez-Lezcano
On 10/27/2017 03:27 PM, Sebastian Andrzej Siewior wrote: Dear RT folks! I'm pleased to announce the v4.13.10-rt3 patch set. Thanks!! Wonderful! I'm seeing this (old Lenovo T510 running Fedora 26): [ 54.942022] [ 54.942023] WARNING:

Re: [PATCH] scsi: megaraid_sas: fix spelling mistake: "thershold" -> "threshold"

2017-11-03 Thread Martin K. Petersen
Colin, > Trivial fix to spelling mistake in dev_info message Applied to 4.15/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 2/3] printk: Add /sys/consoles/ interface

2017-11-03 Thread Petr Mladek
On Fri 2017-11-03 15:32:34, Kroah-Hartman wrote: > > > diff --git a/Documentation/ABI/testing/sysfs-consoles > > > b/Documentation/ABI/testing/sysfs-consoles > > > new file mode 100644 > > > index 000..6a1593e > > > --- /dev/null > > > +++ b/Documentation/ABI/testing/sysfs-consoles > > > @@

Re: [PATCH] watchdog: pcwd_pci: mark expected switch fall-through

2017-11-03 Thread Gustavo A. R. Silva
Quoting Guenter Roeck : On Fri, Nov 03, 2017 at 04:04:23PM +0100, Wim Van Sebroeck wrote: Hi Gustavo, > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Notice that in this particular case I replaced "Fall"

Re: [PATCH] scsi: lpfc: fix kzalloc-simple.cocci warnings

2017-11-03 Thread Martin K. Petersen
Vasyl, > drivers/scsi/lpfc/lpfc_debugfs.c:5460:22-29: WARNING: kzalloc should be used > for phba -> nvmeio_trc, instead of kmalloc/memset > drivers/scsi/lpfc/lpfc_debugfs.c:2230:20-27: WARNING: kzalloc should be used > for phba -> nvmeio_trc, instead of kmalloc/memset > > Use kzalloc rather

Re: [PATCHv2 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-03 Thread Eduardo Valentin
On Fri, Nov 03, 2017 at 11:09:53AM +0100, Paolo Bonzini wrote: > On 02/11/2017 19:43, Eduardo Valentin wrote: > > On Thu, Nov 02, 2017 at 07:24:16PM +0100, Paolo Bonzini wrote: > >> On 02/11/2017 19:08, Eduardo Valentin wrote: > >>> On Thu, Nov 02, 2017 at 06:56:46PM +0100, Paolo Bonzini wrote: >

[PATCH 0/2] ARM: dts: exynos: Updates for Odroid HDMI audio

2017-11-03 Thread Sylwester Nawrocki
These patches are intended for v4.16-rc1 as they depend on the HDMI codec patch which is going to be merged in coming merge window. Sylwester Nawrocki (2): ARM: dts: exynos: Switch to dedicated Odroid-XU3 sound card binding ARM: dts: exynos: Add sound support for Odroid XU4

[PATCH 1/2] ARM: dts: exynos: Switch to dedicated Odroid-XU3 sound card binding

2017-11-03 Thread Sylwester Nawrocki
The new sound card DT binding is used for Odroid XU3 in order to properly support the HDMI audio path. Clocks configuration is changed so the I2S controller is now the bit and the frame clock master with EPLL as the root clock source. Signed-off-by: Sylwester Nawrocki ---

[PATCH v2 2/2] ARM: dts: exynos: Add sound support for Odroid XU4

2017-11-03 Thread Sylwester Nawrocki
This patch adds support for Odroid XU4 audio. The main difference comparing to Odroid XU3 is a missing on-board audio CODEC, only HDMI output is supported on Odroid XU4. External CODEC could be optionally connected to the I2S port connector. Signed-off-by: Sylwester Nawrocki

[PATCH v2 1/2] ARM: dts: exynos: Switch to dedicated Odroid-XU3 sound card binding

2017-11-03 Thread Sylwester Nawrocki
The new sound card DT binding is used for Odroid XU3 in order to properly support the HDMI audio path. Clocks configuration is changed so the I2S controller is now the bit and the frame clock master with EPLL as the root clock source. Signed-off-by: Sylwester Nawrocki ---

[PATCH v16 03/13] Revert "sched/core: Drop the unused try_get_task_struct() helper function"

2017-11-03 Thread Chris Metcalf
This reverts commit f11cc0760b8397e0d230122606421b6a96e9f869. We do need this function for try_get_task_struct_on_cpu(). Signed-off-by: Chris Metcalf --- include/linux/sched/task.h | 2 ++ kernel/exit.c | 13 + 2 files changed, 15 insertions(+)

[PATCH v16 13/13] task_isolation self test

2017-11-03 Thread Chris Metcalf
This code tests various aspects of task_isolation. Signed-off-by: Chris Metcalf --- tools/testing/selftests/Makefile | 1 + tools/testing/selftests/task_isolation/Makefile| 6 + tools/testing/selftests/task_isolation/config | 1 +

[PATCH v16 12/13] arm, tile: turn off timer tick for oneshot_stopped state

2017-11-03 Thread Chris Metcalf
When the schedule tick is disabled in tick_nohz_stop_sched_tick(), we call hrtimer_cancel(), which eventually calls down into __remove_hrtimer() and thus into hrtimer_force_reprogram(). That function's call to tick_program_event() detects that we are trying to set the expiration to KTIME_MAX and

[PATCH 01/15] kbuild: add ld-name macro and support for GNU gold

2017-11-03 Thread Sami Tolvanen
GNU gold may require different flags than GNU ld. Add a macro for detecting the linker and conditionally add gold specific flags from LDFLAGS_GOLD. Signed-off-by: Sami Tolvanen --- Makefile | 5 + scripts/Kbuild.include | 4 2 files changed, 9

[PATCH 05/15] scripts/mod: disable LTO for empty.c

2017-11-03 Thread Sami Tolvanen
With CONFIG_CLANG_LTO, clang generates LLVM IR instead of ELF object files. As empty.o is used for probing target properties, disable LTO for it to produce an object file instead. Signed-off-by: Sami Tolvanen --- scripts/mod/Makefile | 1 + 1 file changed, 1

[PATCH 03/15] kbuild: add support for clang LTO

2017-11-03 Thread Sami Tolvanen
This change adds the configuration option CONFIG_CLANG_LTO, and build system support for clang's Link Time Optimization (LTO). With -flto, instead of object files, clang produces LLVM bitcode, which is compiled into a native object at link time, allowing the final binary to be optimized globally.

[PATCH 07/15] arm64: use -mno-implicit-float instead of -mgeneral-regs-only

2017-11-03 Thread Sami Tolvanen
From: Greg Hackmann LLVM bug 30792 causes clang's AArch64 backend to crash compiling arch/arm64/crypto/aes-ce-cipher.c. Replacing -mgeneral-regs-only with -mno-implicit-float is the suggested workaround. Signed-off-by: Greg Hackmann Cc: Matthias

[PATCH 08/15] arm64: don't pass -maarch64linux to GNU gold

2017-11-03 Thread Sami Tolvanen
This change fixes the following error message when linking with GNU gold: ld.gold: error: unrecognized emulation aarch64linux Signed-off-by: Sami Tolvanen --- arch/arm64/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Makefile

[PATCH 09/15] arm64: keep .altinstructions and .altinstr_replacement

2017-11-03 Thread Sami Tolvanen
Make sure the linker doesn't remove .altinstructions or .altinstr_replacement when CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is enabled. Signed-off-by: Sami Tolvanen --- arch/arm64/kernel/vmlinux.lds.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[patch v11 2/4] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2017-11-03 Thread Oleksandr Shamray
Driver adds support of Aspeed 2500/2400 series SOC JTAG master controller. Driver implements the following jtag ops: - freq_get; - freq_set; - status_get; - idle; - xfer; It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by:

[patch v11 1/4] drivers: jtag: Add JTAG core driver

2017-11-03 Thread Oleksandr Shamray
Initial patch for JTAG driver JTAG class driver provide infrastructure to support hardware/software JTAG platform drivers. It provide user layer API interface for flashing and debugging external devices which equipped with JTAG interface using standard transactions. Driver exposes set of IOCTL to

[patch v11 4/4] Documentation: jtag: Add ABI documentation

2017-11-03 Thread Oleksandr Shamray
Added document that describe the ABI for JTAG class drivrer Signed-off-by: Oleksandr Shamray Acked-by: Arnd Bergmann --- v10->v11 v9->v10 Fixes added by Oleksandr: - change jtag-cdev to jtag-dev in documentation - update Kernel Version and Date in

[patch v11 3/4] Documentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2017-11-03 Thread Oleksandr Shamray
It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Oleksandr Shamray Signed-off-by: Jiri Pirko Acked-by: Rob Herring --- v10->v11 v9->v10 v8->v9 v7->v8 Comments

RE: [PATCH net-next 0/6] net: hns3: support set_link_ksettings and for nway_reset ethtool command

2017-11-03 Thread Salil Mehta
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Friday, November 03, 2017 3:52 PM > To: lipeng (Y) > Cc: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Linuxarm; Salil Mehta > Subject: Re: [PATCH net-next 0/6] net: hns3:

Regression still in next for drop migrate type checks

2017-11-03 Thread Tony Lindgren
Hi all, Looks like I'm still carrying patch "mm: distinguish CMA and MOVABLE isolation in has_unmovable_pages" from Michal [1] for commit e1d753dff0fa ("mm: drop migrate type checks from has_unmovable_pages") and Linux next has been broken for CMA for few weeks now as noted in the discussion

RE: [PATCH v12 00/16] Introduce support for Dell SMBIOS over WMI

2017-11-03 Thread Mario.Limonciello
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Thursday, November 2, 2017 7:50 PM > To: Limonciello, Mario > Cc: Andy Shevchenko ; LKML ker...@vger.kernel.org>; platform-driver-...@vger.kernel.org;

Re: [PATCH v5 2/6] perf record: Get the first sample time and last sample time

2017-11-03 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 24, 2017 at 09:16:59AM +0200, Jiri Olsa escreveu: > On Tue, Oct 24, 2017 at 10:03:05AM +0800, Jin, Yao wrote: > > SNIP > > > > hum, could you still unset the sample if there's no time given? > > > and keep the speed in this case.. > > > > > > jirka > > > > > > > Hi Jiri, > > > >

Re: [PATCH 2/6] shmem: rename functions that are memfd-related

2017-11-03 Thread Marc-André Lureau
Hi - Original Message - > On 11/03/2017 09:02 AM, Marc-André Lureau wrote: > > Hi > > > > - Original Message - > >> On 10/31/2017 11:40 AM, Marc-André Lureau wrote: > >>> Those functions are called for memfd files, backed by shmem or > >>> hugetlb (the next patches will handle

[PATCH] scsi: lpfc_els: use swap macro in lpfc_plogi_confirm_nport

2017-11-03 Thread Gustavo A. R. Silva
Make use of the swap macro and remove unnecessary variable keep_nlp_flag. This makes the code easier to read and maintain. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/lpfc/lpfc_els.c | 6 ++ 1 file

Re: [PATCH 1/4] x86/kvm/cpuid: Fix CPUID function for word 6 (80000001_ECX)

2017-11-03 Thread Borislav Petkov
On Wed, Nov 01, 2017 at 11:19:27AM -0500, Janakarajan Natarajan wrote: > The function for CPUID 8001 ECX is set to 0xc001. Set it to > 0x8001. > > Signed-off-by: Janakarajan Natarajan > --- > arch/x86/kvm/cpuid.h | 2 +- > 1 file changed, 1

Re: [PATCH 0/2] ARM: dts: exynos: Updates for Odroid HDMI audio

2017-11-03 Thread Sylwester Nawrocki
On 11/03/2017 05:43 PM, Sylwester Nawrocki wrote: > These patches are intended for v4.16-rc1 as they depend on the > HDMI codec patch which is going to be merged in coming merge > window. > > Sylwester Nawrocki (2): > ARM: dts: exynos: Switch to dedicated Odroid-XU3 sound card binding > ARM:

[PATCH v4] xen: support priv-mapping in an HVM tools domain

2017-11-03 Thread Paul Durrant
If the domain has XENFEAT_auto_translated_physmap then use of the PV- specific HYPERVISOR_mmu_update hypercall is clearly incorrect. This patch adds checks in xen_remap_domain_gfn_array() and xen_unmap_domain_gfn_array() which call through to the approprate xlate_mmu function if the feature is

Re: [PATCH 4/6] hugetlbfs: implement memfd sealing

2017-11-03 Thread David Herrmann
Hi On Tue, Oct 31, 2017 at 7:40 PM, Marc-André Lureau wrote: > Implements memfd sealing, similar to shmem: > - WRITE: deny fallocate(PUNCH_HOLE). mmap() write is denied in > memfd_add_seals(). write() doesn't exist for hugetlbfs. > - SHRINK: added similar check as

Re: [PATCH v2 0/2] pinctrl: Allow indicating loss of state across suspend/resume

2017-11-03 Thread Florian Fainelli
On 11/03/2017 03:37 AM, Charles Keepax wrote: > On Thu, Nov 02, 2017 at 04:15:49PM -0700, Florian Fainelli wrote: >> Hello Linus, >> >> It's me again, so I have been thinking about the problem originally >> reported in: [PATCH fixes v3] pinctrl: Really force states during >> suspend/resume >> >>

RE: [PATCH 0/3] dts: Add the property of IB and OB

2017-11-03 Thread Leo Li
> -Original Message- > From: Bao Xiaowei [mailto:xiaowei@nxp.com] > Sent: Friday, November 03, 2017 4:31 AM > To: robh...@kernel.org; mark.rutl...@arm.com; catalin.mari...@arm.com; > will.dea...@arm.com; bhelg...@google.com; shawn...@kernel.org; > Madalin-cristian Bucur

[PATCH v16 09/13] arch/arm64: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
In do_notify_resume(), call task_isolation_start() for TIF_TASK_ISOLATION tasks. Add _TIF_TASK_ISOLATION to _TIF_WORK_MASK, and define a local NOTIFY_RESUME_LOOP_FLAGS to check in the loop, since we don't clear _TIF_TASK_ISOLATION in the loop. We tweak syscall_trace_enter() slightly to carry the

[PATCH v16 10/13] arch/arm: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
From: Francis Giraldeau This patch is a port of the task isolation functionality to the arm 32-bit architecture. The task isolation needs an additional thread flag that requires to change the entry assembly code to accept a bitfield larger than one byte. The

[PATCH 12/15] arm64: add a workaround for GNU gold with ARM64_MODULE_PLTS

2017-11-03 Thread Sami Tolvanen
CONFIG_CLANG_LTO depends on GNU gold and due to a known bug, the linker crashes when ARM64_MODULE_PLTS is enabled: https://sourceware.org/bugzilla/show_bug.cgi?id=14592 To work around the problem, this change: 1) Enables ARM64_MODULE_PLTS only when it's needed, i.e. when

[PATCH 13/15] arm64: fix mrs_s/msr_s macros for clang LTO

2017-11-03 Thread Sami Tolvanen
Clang's integrated assembler does not allow assembly macros defined in one inline asm block using the .macro directive to be used across separate asm blocks. LLVM developers consider this a feature and not a bug, recommending code refactoring: https://bugs.llvm.org/show_bug.cgi?id=19749 As

[PATCH 15/15] arm64: select ARCH_SUPPORTS_CLANG_LTO

2017-11-03 Thread Sami Tolvanen
Allow CONFIG_CLANG_LTO to be enabled for the architecture. Signed-off-by: Sami Tolvanen --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index a301fdc90319..6ae31f0c58ee 100644 --- a/arch/arm64/Kconfig

[PATCH 11/15] arm64: explicitly pass --no-fix-cortex-a53-843419 to GNU gold

2017-11-03 Thread Sami Tolvanen
Some versions of GNU gold are known to produce broken code with --fix-cortex-a53-843419 as explained in this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21491 If ARM64_ERRATUM_843419 is disabled and we're using GNU gold, pass --no-fix-cortex-a53-843419 to the linker to ensure the

[PATCH 12/15] arm64: explicitly pass --no-fix-cortex-a53-843419 to GNU gold

2017-11-03 Thread Sami Tolvanen
Some versions of GNU gold are known to produce broken code with --fix-cortex-a53-843419 as explained in this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21491 If ARM64_ERRATUM_843419 is disabled and we're using GNU gold, pass --no-fix-cortex-a53-843419 to the linker to ensure the

[PATCH 10/15] arm64: disable ARM64_ERRATUM_843419 for clang LTO

2017-11-03 Thread Sami Tolvanen
CONFIG_CLANG_LTO depends on GNU gold, which can generate ADR_PREL_PG_HI21 relocations even with --fix-cortex-a53-843419. Since ARM64_ERRATUM_843419 disables kernel support for these relocations, disable the erratum when LTO is used. Signed-off-by: Sami Tolvanen ---

[PATCH 11/15] arm64: fix mrs_s/msr_s macros for clang LTO

2017-11-03 Thread Sami Tolvanen
Clang's integrated assembler does not allow assembly macros defined in one inline asm block using the .macro directive to be used across separate asm blocks. LLVM developers consider this a feature and not a bug, recommending code refactoring: https://bugs.llvm.org/show_bug.cgi?id=19749 As

[PATCH 06/15] efi/libstub: disable clang LTO

2017-11-03 Thread Sami Tolvanen
With CONFIG_CLANG_LTO, we produce LLVM IR instead of object files. Since LTO is not really needed here and the Makefile assumes we produce an object file, disable LTO for libstub. Signed-off-by: Sami Tolvanen --- drivers/firmware/efi/libstub/Makefile | 3 ++- 1 file

[PATCH 02/15] kbuild: fix LD_DEAD_CODE_DATA_ELIMINATION with GNU gold

2017-11-03 Thread Sami Tolvanen
Don't remove .head.text or .exitcall.exit when linking with --gc-sections, and include .init.text.* in .init.text and .init.rodata.* in .init.rodata. Signed-off-by: Sami Tolvanen --- include/asm-generic/vmlinux.lds.h | 8 1 file changed, 4 insertions(+), 4

[PATCH 00/15] Add support for clang LTO

2017-11-03 Thread Sami Tolvanen
This series adds build system support for compiling the kernel with clang Link Time Optimization (LTO), using GNU gold with the LLVMgold plug-in for linking. Some background for clang's LTO support is available here: https://llvm.org/docs/LinkTimeOptimization.html With -flto, clang produces

[PATCH 04/15] kbuild: fix dynamic ftrace with clang LTO

2017-11-03 Thread Sami Tolvanen
With CONFIG_CLANG_LTO enabled, LLVM IR won't be compiled into object files until modpost_link. This change postpones calls to recordmcount until after this step. In order to exclude ftrace_process_locs from inspection, we add a new code section .text..ftrace, which we tell recordmcount to ignore,

[PATCH 06/15] efi/libstub: disable LTO

2017-11-03 Thread Sami Tolvanen
With CONFIG_CLANG_LTO, we produce LLVM IR instead of object files. Since LTO is not really needed here and the Makefile assumes we produce an object file, disable LTO for libstub. Signed-off-by: Sami Tolvanen --- drivers/firmware/efi/libstub/Makefile | 3 ++- 1 file

Re: [PATCH] i2c: designware: make *CNT values configurable

2017-11-03 Thread Shikhar Dogra (shidogra)
Hi On 10/26/17, 7:20 AM, "Jarkko Nikula" wrote: Hi On 10/25/2017 09:50 PM, Shikhar Dogra wrote: > The values are already configurable from ACPI. > > This patch makes the high count (HCNT) and low count (LCNT) > register values

[PATCH v8 5/5] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-11-03 Thread Aleksandar Markovic
From: Miodrag Dinic Provide amendments to the MIPS generic platform framework so that the new generic-based board Ranchu can be chosen to be built. The Ranchu board is intended to be used by Android emulator. The name "Ranchu" originates from Android development

Re: [PATCH v16 10/13] arch/arm: enable task isolation functionality

2017-11-03 Thread Russell King - ARM Linux
On Fri, Nov 03, 2017 at 01:04:49PM -0400, Chris Metcalf wrote: > From: Francis Giraldeau > > This patch is a port of the task isolation functionality to the arm 32-bit > architecture. The task isolation needs an additional thread flag that > requires to change the

[PATCH] x86/kexec: Exclude GART aperture from vmcore

2017-11-03 Thread Jiri Bohac
On machines where the GART aperture is mapped over physical RAM /proc/vmcore contains the remapped range and reading it may cause hangs or reboots. This range needs to be excluded from /proc/vmcore. This has originally been implemented by commit dd5f726076cc ("kexec: support for kexec on panic

Re: [PATCH v16 10/13] arch/arm: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
On 11/3/2017 1:23 PM, Russell King - ARM Linux wrote: On Fri, Nov 03, 2017 at 01:04:49PM -0400, Chris Metcalf wrote: From: Francis Giraldeau This patch is a port of the task isolation functionality to the arm 32-bit architecture. The task isolation needs an

Re: [PATCH v16 09/13] arch/arm64: enable task isolation functionality

2017-11-03 Thread Mark Rutland
Hi Chris, On Fri, Nov 03, 2017 at 01:04:48PM -0400, Chris Metcalf wrote: > In do_notify_resume(), call task_isolation_start() for > TIF_TASK_ISOLATION tasks. Add _TIF_TASK_ISOLATION to _TIF_WORK_MASK, > and define a local NOTIFY_RESUME_LOOP_FLAGS to check in the loop, > since we don't clear

Re: Regression still in next for drop migrate type checks

2017-11-03 Thread Andrew Morton
On Fri, 3 Nov 2017 09:00:12 -0700 Tony Lindgren wrote: > Looks like I'm still carrying patch "mm: distinguish CMA and MOVABLE > isolation in has_unmovable_pages" from Michal [1] for commit e1d753dff0fa > ("mm: drop migrate type checks from has_unmovable_pages") and Linux next

Re: [PATCH] watchdog: pcwd_pci: mark expected switch fall-through

2017-11-03 Thread Gustavo A. R. Silva
Hi Wim, Quoting Wim Van Sebroeck : Hi Gustavo, In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in this particular case I replaced "Fall" with a proper "fall through" comment, which is what GCC is

Re: [PATCH 6/7] netdev: octeon-ethernet: Add Cavium Octeon III support.

2017-11-03 Thread Andrew Lunn
> >>+static char *mix_port; > >>+module_param(mix_port, charp, 0444); > >>+MODULE_PARM_DESC(mix_port, "Specifies which ports connect to MIX > >>interfaces."); > > > >Can you derive this from Device Tree /platform data configuration? > > > >>+ > >>+static char *pki_port; >

[patch v11 0/4] JTAG driver introduction

2017-11-03 Thread Oleksandr Shamray
When a need raise up to use JTAG interface for system's devices programming or CPU debugging, usually the user layer application implements jtag protocol by bit-bang or using a proprietary connection to vendor hardware. This method can be slow and not generic. We propose to implement general

<    1   2   3   4   5   6   7   8   9   10   >