[PATCH 1/3] mfd: cros: add charger port count command definition

2018-05-29 Thread Fabien Parent
A new more command has been added to the ChromeOS embedded controller that allows to get the number of charger port count. Unlike EC_CMD_USB_PD_PORTS, this new command also includes the dedicated port if present. This command will be used to expose the dedicated charger port in the ChromeOS charge

[PATCH 2/3] power: supply: cros: add support for dedicated port

2018-05-29 Thread Fabien Parent
ChromeOS devices can have one optional dedicated port. The Dedicated port is unique and similar to the USB PD ports except that it doesn't support as many properties. The presence of a dedicated port is determined from whether the EC's charger port count is equal to 'number of USB PD port' + 1. Th

[PATCH] PCI: Add pci=safemode option

2018-05-29 Thread Sinan Kaya
Adding pci=safemode kernel command line parameter to turn off all PCI Express service driver as well as all optional PCIe features such as LTR, Extended tags, Relaxed Ordering etc. Also setting MPS configuration to PCIE_BUS_SAFE so that MPS and MRRS can be reconfigured with by the kernel in case B

Re: [git pull] Input updates for v4.17-rc7

2018-05-29 Thread Linus Torvalds
On Tue, May 29, 2018 at 6:38 PM Dmitry Torokhov wrote: > We are switching a bunch of > Lenovo devices with Synaptics touchpads from PS/2 emulation over to > native RMI/SMbus. > Given that all commits are marked for stable there is no point delaying > them till next release. Hmm. The elan dr

Re: scsi/qla2xxx: BUG_ON(blk_queued_rq(req) is triggered in blk_finish_request

2018-05-29 Thread jianchao.wang
Hi Himanshu Thanks for your kindly response. On 05/30/2018 01:44 AM, Madhani, Himanshu wrote: > Thanks for the information. I was out for couple days. Still working through > my emails. > > Without core dump shared with us, things become hard to debug. We'll take a > look at this data. > >

RE: [PATCH 1/3] arm64:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro

2018-05-29 Thread Nixiaoming
Unable to set CONFIG_STRICT_KERNEL_RWX=n by make menuconfig ARCH=arm64 When reading the code, I feel it is more appropriate to add macro control here. -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: Tuesday, May 29, 2018 11:45 PM To: Nixiaoming Cc: catalin.mari.

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-05-29 Thread Eric Dumazet
On 05/25/2018 10:23 AM, David Miller wrote: > From: Qing Huang > Date: Wed, 23 May 2018 16:22:46 -0700 > >> When a system is under memory presure (high usage with fragments), >> the original 256KB ICM chunk allocations will likely trigger kernel >> memory management to enter slow path doing me

Re: [PATCH] mm: Change return type to vm_fault_t

2018-05-29 Thread Souptick Joarder
On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox wrote: > On Tue, May 29, 2018 at 09:25:05PM +0530, Souptick Joarder wrote: >> On Tue, May 29, 2018 at 8:20 PM, Matthew Wilcox wrote: >> > On Tue, May 29, 2018 at 08:01:26PM +0530, Souptick Joarder wrote: >> >> Use new return type vm_fault_t for fau

Re: [net] vhost: Use kzalloc() to allocate vhost_msg_node

2018-05-29 Thread Guenter Roeck
On 05/29/2018 08:01 PM, Michael S. Tsirkin wrote: On Tue, May 29, 2018 at 03:19:08PM -0700, Guenter Roeck wrote: On Fri, Apr 27, 2018 at 11:45:02AM -0400, Kevin Easton wrote: The struct vhost_msg within struct vhost_msg_node is copied to userspace, so it should be allocated with kzalloc() to en

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-05-29 Thread Eric Dumazet
On 05/29/2018 11:34 PM, Eric Dumazet wrote: > I will test : > > diff --git a/drivers/net/ethernet/mellanox/mlx4/icm.c > b/drivers/net/ethernet/mellanox/mlx4/icm.c > index > 685337d58276fc91baeeb64387c52985e1bc6dda..4d2a71381acb739585d662175e86caef72338097 > 100644 > --- a/drivers/net/ethern

RE: [PATCH v4 04/22] iommu/vt-d: add bind_pasid_table function

2018-05-29 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, May 30, 2018 11:18 AM > > On Wed, 30 May 2018 01:41:43 + > "Tian, Kevin" wrote: > > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > > Sent: Wednesday, May 30, 2018 4:09 AM > > > > > > On Fri, 20

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-05-29 Thread Eric Dumazet
On 05/29/2018 11:44 PM, Eric Dumazet wrote: > > And I will add this simple fix, this really should address your initial > concern much better. > > @@ -99,6 +100,8 @@ static int mlx4_alloc_icm_pages(struct scatterlist *mem, > int order, > { > struct page *page; > > + if (ord

[PATCH] usb: dwc2: gadget: fix missing process for isoc descriptor dma mode

2018-05-29 Thread Zeng Tao
If it's the first request to queue, and we are using descriptor dma mode for isoc transfer, we only need to add the request to the queue, and it will be processed in the future nak interrupt handler. Signed-off-by: Zeng Tao --- drivers/usb/dwc2/gadget.c | 3 +++ 1 file changed, 3 insertions(+)

Re: Status of aspeed-bmc-opp-firestone (IBM S822LC)

2018-05-29 Thread Andrew Jeffery
Hi Paul, On Wed, 30 May 2018, at 00:23, Paul Menzel wrote: > Dear Joel, dear Linux folks, > > > We have an IBM S822LC system (Firestone(?)). Building of OpenBMC > currently fails, as the not everything was ported from dev-4.10 to > dev-4.13 [1], and therefore a file cannot be found. > > Looki

Re: [PATCH 3/3] f2fs: clean up symbol namespace

2018-05-29 Thread Jaegeuk Kim
Hi Chao, Thank you for the work. I resolved some conflicts and modified some function names. Please take a look at this. https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev-test --- fs/f2fs/checkpoint.c | 8 fs/f2fs/dir.c| 6 +++--- fs/f2fs/f2fs.h

Re: [PATCH 1/8] xen/grant-table: Make set/clear page private code shared

2018-05-29 Thread Juergen Gross
On 25/05/18 17:33, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Make set/clear page private code shared and accessible to > other kernel modules which can re-use these instead of open-coding. > > Signed-off-by: Oleksandr Andrushchenko > --- > drivers/xen/grant-table.c | 5

Re: [PATCH 4.16 000/272] 4.16.13-stable review

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 01:52:12PM -0600, Shuah Khan wrote: > On 05/28/2018 04:00 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.16.13 release. > > There are 272 patches in this series, all will be posted as a response > > to this one. If anyone has any is

Re: [PATCH v6 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-05-29 Thread Tobin C. Harding
On Mon, May 28, 2018 at 10:40:43AM -0700, Randy Dunlap wrote: > On 05/27/2018 06:46 PM, Tobin C. Harding wrote: > > Currently printing [hashed] pointers requires enough entropy to be > > available. Early in the boot sequence this may not be the case > > resulting in a dummy string '(ptrval

include/linux/syscalls.h:211:18: error: 'sys_mmap2' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigne

2018-05-29 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0044cdeb731313f20b63cb5644de7588731de32b commit: ee076e81fc14ca79334d02970cea66604f183a14 sparc: trivial conversions to {COMPAT_,}SYSCALL_DEFINE() date: 2 mon

Re: [PATCH] PCI: Add pci=safemode option

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 11:19:41PM -0400, Sinan Kaya wrote: > Adding pci=safemode kernel command line parameter to turn off all PCI > Express service driver as well as all optional PCIe features such as LTR, > Extended tags, Relaxed Ordering etc. > > Also setting MPS configuration to PCIE_BUS_SAFE

Re: [PATCH 2/8] xen/balloon: Move common memory reservation routines to a module

2018-05-29 Thread Juergen Gross
On 25/05/18 17:33, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Memory {increase|decrease}_reservation and VA mappings update/reset > code used in balloon driver can be made common, so other drivers can > also re-use the same functionality without open-coding. > Create a ded

[PATCH] PCI: move early dump functionality from x86 arch into the common code

2018-05-29 Thread Sinan Kaya
Move early dump functionality into common code so that it is available for all archtiectures. No need to carry arch specific reads around as the read hooks are already initialized by the time pci_setup_device() is getting called during scan. Signed-off-by: Sinan Kaya --- Documentation/admin-guid

Re: [REVIEW][PATCH 0/6] Wrapping up the vfs support for unprivileged mounts

2018-05-29 Thread Dave Chinner
On Tue, May 29, 2018 at 09:34:35PM -0500, Eric W. Biederman wrote: > Dave Chinner writes: > > > Yeah, the are some fairly big process and policy things that > > need to be decided here. Not just at the kernel level, but at > > distro and app infrastructure level too. > > > > I was originally scep

Re: [PATCH] PCI: move early dump functionality from x86 arch into the common code

2018-05-29 Thread Sinan Kaya
On 5/29/2018 9:34 PM, Sinan Kaya wrote: > -int early_pci_allowed(void) > -{ > - return (pci_probe & (PCI_PROBE_CONF1|PCI_PROBE_NOEARLY)) == > - PCI_PROBE_CONF1; > -} I should have kept this. I'll wait for more feedback before posting the next rev. -- Sinan Kaya Qualcomm

Re: [PATCH 07/15] arm: dts: exynos: Add missing cooling device properties for CPUs

2018-05-29 Thread Viresh Kumar
On 29-05-18, 15:18, Krzysztof Kozlowski wrote: > Thanks for the patch. > > In case of Exynos, the booting CPU always has these information in DT > and the booting CPU cannot be changed (chosen by firmware/hardware > configuration). But can the booting CPU be offlined ? If yes, then this is how t

[PATCH] arm64: mm: mark tramp_pg_dir read-only

2018-05-29 Thread YaoJun
To protect against KSMA(Kernel Space Mirroring Attack), make tramp_pg_dir read-only. The principle of KSMA is to insert a carefully constructed PGD entry into the translation table. The type of this entry is block, which maps the kernel text and its access permissions bits are 01. The user process

[PATCH] perf hists browser: Fix stale hist_entry__tui_annotate() declaration

2018-05-29 Thread Leo Yan
Since commit 464fb4fd6af7 ("perf hists browser: Pass annotation_options from tool to browser") has added extra parameter for functions, but it missed to update hist_entry__tui_annotate() declaration for !HAVE_SLANG_SUPPORT configuration so this results in regression for perf tool building failure.

include/linux/syscalls.h:211:18: error: 'sys_sparc_remap_file_pages' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned i

2018-05-29 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0044cdeb731313f20b63cb5644de7588731de32b commit: a0d32ad366bb4235267380b341fcae8307f51044 switch sparc_remap_file_pages() to SYSCALL_DEFINE date: 2 months ago

Re: [PATCH 2/2] cpufreq: Use static SRCU initializer

2018-05-29 Thread Viresh Kumar
On 25-05-18, 12:19, Sebastian Andrzej Siewior wrote: > Use the static SRCU initializer for `cpufreq_transition_notifier_list'. > This avoids the init_cpufreq_transition_notifier_list() initcall. Its > only purpose is to initialize the SRCU notifier once during boot and set > another variable which

Re: [PATCH] perf hists browser: Fix stale hist_entry__tui_annotate() declaration

2018-05-29 Thread Leo Yan
Hi Arnaldo, On Wed, May 30, 2018 at 12:49:27PM +0800, Leo Yan wrote: > Since commit 464fb4fd6af7 ("perf hists browser: Pass annotation_options > from tool to browser") has added extra parameter for functions, but it > missed to update hist_entry__tui_annotate() declaration for > !HAVE_SLANG_SUPPOR

RE: [kbuild-all] include/linux/syscalls.h:211:18: error: 'sys_sparc_remap_file_pages' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, l

2018-05-29 Thread Li, Philip
> > Hi Al, > > FYI, the error/warning still remains. hi AI, kindly ignore this, the warning below may be caused by gcc-8.1 upgrade. we will double check to reduce noises. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 0044cdeb731313f20b63cb564

Re: [PATCH] PCI: Add pci=safemode option

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 09:41:33PM -0700, Sinan Kaya wrote: > On 5/29/2018 9:31 PM, Greg Kroah-Hartman wrote: > > On Tue, May 29, 2018 at 11:19:41PM -0400, Sinan Kaya wrote: > >> Adding pci=safemode kernel command line parameter to turn off all PCI > >> Express service driver as well as all optiona

Re: [PATCH v3 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-05-29 Thread j...@8bytes.org
On Tue, May 29, 2018 at 04:10:24PM +, Kani, Toshi wrote: > Can you explain why you think allocating a page here is a major problem? Because a larger allocation is more likely to fail. And if you fail the allocation, you also fail to free more pages, which _is_ a problem. So better avoid any al

[PATCH] ANDROID: binder: rename parameter to resolve name collision.

2018-05-29 Thread kuangrufan
From: Kuang Rufan both bind.c & binder_alloc.c define the same kernel parameter 'debug_mask', rename the one in binder_alloc.c to 'alloc_debug_mask'. Signed-off-by: Kuang Rufan --- drivers/android/binder_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/androi

linux-next: manual merge of the regulator tree with the arm-soc tree

2018-05-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the regulator tree got a conflict in: arch/arm/mach-omap1/board-ams-delta.c between commit: 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables") from the arm-soc tree and commit: 6059577cb28d ("regulator: fixed: Convert to use GPIO descripto

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Olof Johansson
Hi, On Tue, May 29, 2018 at 5:20 AM, Ludovic BARRE wrote: > > > On 05/29/2018 10:55 AM, Alexandre Torgue wrote: >> >> >> >> On 05/29/2018 10:39 AM, Marc Zyngier wrote: >>> >>> On 29/05/18 09:16, Alexandre Torgue wrote: Hi Marc On 05/29/2018 09:47 AM, Marc Zyngier wrote: >

Re: Userland breakage from "Modify the device name as devfreq(X) for sysfs"

2018-05-29 Thread John Stultz
On Tue, May 8, 2018 at 7:28 PM, Chanwoo Choi wrote: > On 2018년 05월 09일 08:17, John Stultz wrote: >> Hey folks, >> I wanted to bring up an issue we've recently tripped over, which was >> caused by 4585fbcb5331f ("PM / devfreq: Modify the device name as >> devfreq(X) for sysfs"). >> >> https:/

Re: [PATCH] ext4: prefer strlcpy to strncpy

2018-05-29 Thread Theodore Y. Ts'o
On Mon, May 28, 2018 at 11:21:53PM -0700, Nick Desaulniers wrote: > Fixes a stringop-truncation warning from gcc-8. > > Signed-off-by: Nick Desaulniers I'll note that the ext4 superblock fields are *not* guaranteed to be NULL terminated. Code that references them must, and do, deal with this ap

[PATCH] drivers: of: of_reserved_mem: detect count overflow or range overlap

2018-05-29 Thread Jaewon Kim
During development, number of reserved memory region could be increased and a new region could be unwantedly overlapped. In that case the new region may work well but one of exisiting region could be affected so that it would not be defined properly. It may require time consuming work to find reaso

Re: [PATCH v4 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-05-29 Thread Doug Anderson
Hi, On Tue, May 22, 2018 at 7:43 PM, David Collins wrote: > + > +Examples > + > + > +#include > + > +&apps_rsc { > + pm8998-rpmh-regulators { > + compatible = "qcom,pm8998-rpmh-regulators"; > + qcom,pmic-id = "a"; > + > + vdd-l7-l12

Re: [PATCH v3 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-05-29 Thread Doug Anderson
Hi, On Wed, May 23, 2018 at 8:56 AM, Mark Brown wrote: > On Wed, May 23, 2018 at 08:50:22AM -0700, Doug Anderson wrote: >> On Wed, May 23, 2018 at 8:40 AM, Mark Brown wrote: > >> > It's got to be valid to think about the voltage of a disabled regulator >> > since drivers want to be able make sur

Re: [PATCH v4 2/2] regulator: add QCOM RPMh regulator driver

2018-05-29 Thread Doug Anderson
Hi, On Tue, May 22, 2018 at 7:43 PM, David Collins wrote: > + * @ever_enabled: Boolean indicating that the regulator has been > + * explicitly enabled at least once. Voltage > + * requests should be cached when this flag is >

Re: Userland breakage from "Modify the device name as devfreq(X) for sysfs"

2018-05-29 Thread Greg KH
On Tue, May 29, 2018 at 10:14:35PM -0700, John Stultz wrote: > On Tue, May 8, 2018 at 7:28 PM, Chanwoo Choi wrote: > > On 2018년 05월 09일 08:17, John Stultz wrote: > >> Hey folks, > >> I wanted to bring up an issue we've recently tripped over, which was > >> caused by 4585fbcb5331f ("PM / devfreq:

Re: [PATCH 3.18 093/185] microblaze: switch to NO_BOOTMEM

2018-05-29 Thread Michal Simek
On 29.5.2018 16:34, Rob Herring wrote: > On Mon, May 28, 2018 at 5:02 AM, Greg Kroah-Hartman > wrote: >> 3.18-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: Rob Herring >> >> [ Upstream commit 101646a24a2f9cdb61d7732459fbf068a7bbb542 ]

Re: [GIT PULL rcu/next] Additional RCU commit for 4.18

2018-05-29 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > This additional v4.18 pull request contains a single commit that fell > through the cracks: > > 1.Provide early rcu_cpu_starting() callback for the benefit of the > x86/mtrr code, which needs RCU to be available on incoming CPUs > e

Re: [PATCH 2/3] x86:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro

2018-05-29 Thread Ingo Molnar
* nixiaoming wrote: > mark_rodata_ro is only called by the function mark_readonly > when CONFIG_STRICT_KERNEL_RWX=y > > if CONFIG_STRICT_KERNEL_RWX is not set > a compile warning may be triggered: unused function > > Signed-off-by: nixiaoming > --- > arch/x86/mm/init_32.c | 2 ++ > arch/x86

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-29 Thread Masahiro Yamada
2018-05-25 5:09 GMT+09:00 Martin Blumenstingl : > Hi Philipp, > > On Tue, May 22, 2018 at 4:04 PM, Philipp Zabel wrote: >> Hi Martin, >> >> On Mon, 2018-05-21 at 12:40 +0200, Martin Blumenstingl wrote: >>> Hello, >>> >>> On Mon, May 21, 2018 at 3:27 AM, Masahiro Yamada >>> wrote: >>> > Hi. >>> >

[GIT PULL] two more s390 bug fixes for 4.17

2018-05-29 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Two bug fixes for 4.17 * A missing -msoft-float for the compile of the kexec purgatory * A fix for the dasd driver to avoid t

[PATCH] ia64: pgtable.h: fix a comment typo

2018-05-29 Thread Li Qiang
Signed-off-by: Li Qiang --- arch/ia64/include/asm/pgtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/include/asm/pgtable.h b/arch/ia64/include/asm/pgtable.h index 165827774bea..2cccfbb23c2d 100644 --- a/arch/ia64/include/asm/pgtable.h +++ b/arch/ia64/include/a

Re: [PATCH] x86/spectre_v1: Disable compiler optimizations over array_index_mask_nospec()

2018-05-29 Thread Mark Rutland
Hi Dan, On Fri, May 25, 2018 at 10:21:08AM -0700, Dan Williams wrote: > Mark notes that gcc optimization passes have the potential to elide > necessary invocations of this instruction sequence, so include an > optimization barrier. > > > I think that either way, we have a potential problem if

Re: [PATCH 2/3] x86:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro

2018-05-29 Thread Ard Biesheuvel
On 30 May 2018 at 07:58, Ingo Molnar wrote: > > * nixiaoming wrote: > >> mark_rodata_ro is only called by the function mark_readonly >> when CONFIG_STRICT_KERNEL_RWX=y >> >> if CONFIG_STRICT_KERNEL_RWX is not set >> a compile warning may be triggered: unused function >> >> Signed-off-by: nixiaomi

[PATCH v2] mm: condense scan_control

2018-05-29 Thread Greg Thelen
Use smaller scan_control fields for order, priority, and reclaim_idx. Convert fields from int => s8. All easily fit within a byte: * allocation order range: 0..MAX_ORDER(64?) * priority range: 0..12(DEF_PRIORITY) * reclaim_idx range: 0..6(__MAX_NR_ZONES) Since commit 6538b8ea886e ("x

Re: [PATCH] mm: convert scan_control.priority int => byte

2018-05-29 Thread Greg Thelen
Matthew Wilcox wrote: > On Mon, May 28, 2018 at 07:40:25PM -0700, Greg Thelen wrote: >> Reclaim priorities range from 0..12(DEF_PRIORITY). >> scan_control.priority is a 4 byte int, which is overkill. >> >> Since commit 6538b8ea886e ("x86_64: expand kernel stack to 16K") x86_64 >> stack overflows

Re: [PATCH] Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning

2018-05-29 Thread Marcel Holtmann
Hi Thierry, > This patch fixes the following warning during boot: > > do not call blocking ops when !TASK_RUNNING; state=1 set at > [<(ptrval)>] qca_setup+0x194/0x750 [hci_uart] > WARNING: CPU: 2 PID: 1878 at kernel/sched/core.c:6135 > __might_sleep+0x7c/0x88 > > In qca_set_baudrate(), the curre

Re: [PATCH] Bluetooth: btusb: Add additional device ID for RTL8822BE

2018-05-29 Thread Marcel Holtmann
Hi Artiom, > The Asus ROG GL702ZC laptop contains a Realtek RTL8822BE device with > an associated BT chip using a USB ID of 13d3:3526. This ID is added > to the driver. please include the /sys/kernel/debug/usb/devices portion for this device in the commit messages. Regards Marcel

Re: [PATCH v3 01/16] mtd: rawnand: helper function for setting up ECC configuration

2018-05-29 Thread Abhishek Sahu
On 2018-05-30 05:58, Masahiro Yamada wrote: Hi. 2018-05-30 4:30 GMT+09:00 Boris Brezillon : On Sat, 26 May 2018 10:42:47 +0200 Miquel Raynal wrote: Hi Abhishek, On Fri, 25 May 2018 17:51:29 +0530, Abhishek Sahu wrote: > commit 2c8f8afa7f92 ("mtd: nand: add generic helpers to check, > mat

Re: [PATCH v2 4/7] Bluetooth: Add new quirk for non-persistent setup settings

2018-05-29 Thread Marcel Holtmann
Hi Sean, >> >> [ ... ] > > [ ... ] > >>> I post it as plain text as below >>> >>> >>> Bluetooth monitor ver 5.37 >>> = Note: Linux version 4.16.0-rc1+ (aarch64) >>> 0.641494 >>> = Note: Bluetooth subsystem version 2.22 >>> 0.

[PATCH] perf util: Add more PMU fields for perf script python

2018-05-29 Thread Jin Yao
When doing pmu sampling and then running a script with perf script -s script.py, the process_event function gets dictionary with some fields from the perf ring buffer (like ip, sym, callchain etc). But we miss quite a few fields we report now, for example, LBRs,data source,weight,transaction,iregs

Re: heads up: moving intel-pt-decoder/Build header checks to check_headers.sh

2018-05-29 Thread Adrian Hunter
On 29/05/18 16:48, Arnaldo Carvalho de Melo wrote: > Hi Adrian, > > We've made tools/perf/check-headers.sh the mechanism to check > for drift on kernel file copies we have in tools/, and it assumes that > if we have tools/a/b/c/d, then it came from a/b/c/d in the kernel > sources, e.g. a cop

Re: [PATCH] HID: steam: select CONFIG_POWER_SUPPLY

2018-05-29 Thread Jiri Kosina
On Fri, 25 May 2018, Arnd Bergmann wrote: > Using the power supply APIs requires selecting the appropriate > Kconfig symbol, otherwise we get this build failure: > > drivers/hid/hid-steam.o: In function `steam_unregister': > hid-steam.c:(.text+0x1cc): undefined reference to `power_supply_unregist

RE: [PATCH 2/3] x86:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro

2018-05-29 Thread Nixiaoming
On 30 May 2018 at 2:07PM Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] wrote: >On 30 May 2018 at 07:58, Ingo Molnar wrote: >> >> * nixiaoming wrote: >> >>> mark_rodata_ro is only called by the function mark_readonly >>> when CONFIG_STRICT_KERNEL_RWX=y >>> >>> if CONFIG_STRICT_KERNEL_RWX is

Re: Userland breakage from "Modify the device name as devfreq(X) for sysfs"

2018-05-29 Thread John Stultz
On Tue, May 29, 2018 at 10:33 PM, Greg KH wrote: > On Tue, May 29, 2018 at 10:14:35PM -0700, John Stultz wrote: >> On Tue, May 8, 2018 at 7:28 PM, Chanwoo Choi wrote: >> > On 2018년 05월 09일 08:17, John Stultz wrote: >> >> Hey folks, >> >> I wanted to bring up an issue we've recently tripped over

Re: [PATCH] HID: multitouch: fix calculation of last slot field in multi-touch reports

2018-05-29 Thread Jiri Kosina
On Tue, 29 May 2018, Ben Chan wrote: > According to [1] and also seemingly agreed by [2], the Scan Time usage > (0x0D 0x56) is a report level usage, not a contact level usage. > > However, the hid-multitouch driver currently includes HID_DG_SCANTIME > when calculating `td->last_slot_field', which

Re: [PATCH] HID: rmi: use HID_QUIRK_NO_INPUT_SYNC

2018-05-29 Thread Jiri Kosina
On Fri, 25 May 2018, Benjamin Tissoires wrote: > When we receive a RMI4 report, we should not unconditionally send an > input_sync event. Instead, we should let the rmi4 transport layer do it > for us. > > This fixes a situation where we might receive X in a report and the rest > in a subsequent

Re: [PATCH] drm: Fix possible race conditions while unplugging DRM device

2018-05-29 Thread Daniel Vetter
On Tue, May 22, 2018 at 05:13:04PM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > When unplugging a hotpluggable DRM device we first unregister it > with drm_dev_unregister and then set drm_device.unplugged flag which > is used to mark device critical sections with drm_

Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet

2018-05-29 Thread Christoph Hellwig
On Tue, May 29, 2018 at 07:59:37AM +1200, Michael Schmitz wrote: > Hi Geert, > > my preference would be Finn's patch introducing a m68k > arch_setup_pdev_archdata(). It nicely preserves what bus code sets up > prior to registering a platform device (important for Zorro devices > using platform or

Re: [PATCH 4.14 102/496] drm/exynos: g2d: Delete an error message for a failed memory allocation in two functions

2018-05-29 Thread Greg Kroah-Hartman
On Mon, May 28, 2018 at 08:24:03AM -0700, Joe Perches wrote: > On Mon, 2018-05-28 at 11:58 +0200, Greg Kroah-Hartman wrote: > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Markus Elfring > > I still wonder why any Markus

[PATCH v4 8/8] Documentation/ABI: Add documentation mlxreg-io sysfs interfaces

2018-05-29 Thread Vadim Pasternak
Add documentation for mlxreg-io driver sysfs interfaces for user space access to system's power resets control, reset causes monitoring, programmable devices version reading and devices selection control. Signed-off-by: Vadim Pasternak --- v4: Comments pointed out by Greg: Add Documentation/ABI

[PATCH v4 7/8] platform/x86: mlx-platform: Add mlxreg-io platform driver activation

2018-05-29 Thread Vadim Pasternak
Add mlxreg-io platform driver activation. Access driver uses the same regmap infrastructure as others Mellanox platform drivers. Specific registers description for default platform data configuration are added to mlx-platform. There are the registers for resets control, reset causes monitoring, pro

[PATCH v4 6/8] platform/mellanox: Introduce support for Mellanox register access driver

2018-05-29 Thread Vadim Pasternak
Introduce new Mellanox platform driver to allow access to Mellanox programmable device register space trough sysfs interface. The driver purpose is to provide sysfs interface for user space for the registers essential for system control and monitoring. The sets of registers for sysfs access are sup

Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet

2018-05-29 Thread Christoph Hellwig
On Tue, May 29, 2018 at 03:38:23PM +1000, Finn Thain wrote: > On Tue, 29 May 2018, Michael Schmitz wrote: > > > > > > > Since an arch gets to apply limits in the dma ops it implements, why > > > would arch code also have to set a limit in the form of default > > > platform device masks? Powerpc

Re: [PATCH 4.14 199/496] scsi: core: return BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()

2018-05-29 Thread Greg Kroah-Hartman
On Mon, May 28, 2018 at 03:59:56PM +0200, Steffen Maier wrote: > question: > drop because of upstream's > > cbe095e2b584 ("Revert "scsi: core: return BLK_STS_OK for DID_OK in > __scsi_error_from_host_byte()"") > Fixes: e39a97353e53 ("scsi: core: return BLK_STS_OK for DID_OK in > __scsi_error_from_

Re: [PATCH v2] Documentation: dt-bindings: Explicitly mark Samsung Exynos SoC bindings as unstable

2018-05-29 Thread Javier Martinez Canillas
On Mon, May 28, 2018 at 9:13 PM, Krzysztof Kozlowski wrote: > From: Marek Szyprowski > > Samsung Exynos SoCs and boards related bindings evolved since the initial > introduction, but initially the bindings were minimal and a bit incomplete > (they never described all the hardware modules availabl

Re: [PATCH 4.16 000/272] 4.16.13-stable review

2018-05-29 Thread Greg Kroah-Hartman
On Mon, May 28, 2018 at 05:46:26PM -0700, Guenter Roeck wrote: > On 05/28/2018 03:00 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.16.13 release. > > There are 272 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.16 000/272] 4.16.13-stable review

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 10:55:34AM +0530, Naresh Kamboju wrote: > On 28 May 2018 at 15:30, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.16.13 release. > > There are 272 patches in this series, all will be posted as a response > > to this one. If anyone h

Re: [PATCH 4.14 000/496] 4.14.45-stable review

2018-05-29 Thread Greg Kroah-Hartman
On Mon, May 28, 2018 at 09:06:09AM -0700, Nathan Chancellor wrote: > On Mon, May 28, 2018 at 11:56:25AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.45 release. > > There are 496 patches in this series, all will be posted as a response > > to this o

Re: [PATCH 3.18 000/185] 3.18.111-stable review

2018-05-29 Thread Greg Kroah-Hartman
On Mon, May 28, 2018 at 09:57:25PM +0530, Harsh Shandilya wrote: > On 28 May 2018 3:30:41 PM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 3.18.111 release. > >There are 185 patches in this series, all will be posted as a response > >to this one. If any

Re: Revert "dmaengine: pl330: add DMA_PAUSE feature"

2018-05-29 Thread Vinod
On 29-05-18, 07:17, Marek Szyprowski wrote: > Hi Vinod, > > On 2018-05-18 09:21, Vinod wrote: > > On 18-05-18, 08:28, Marek Szyprowski wrote: > >> Hi Vinod, > >> > >> Okay, I see that in theory, there are some tricky bits in implementing DMA > >> support in UART drivers. On the other hand there ar

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-05-29 Thread Peter Rosin
On 2018-05-29 08:30, Eugen Hristev wrote: > > > On 28.05.2018 13:10, Peter Rosin wrote: >> On 2018-05-28 00:11, Peter Rosin wrote: >>> On 2018-05-27 11:18, Peter Rosin wrote: On 2018-05-25 16:51, Tudor Ambarus wrote: > We think the best way is to keep LCD on DDR Ports 2 and 3 (8th and 9t

Re: [RFC PATCH v2 1/2] drm: Add generic colorkey properties

2018-05-29 Thread Ville Syrjälä
On Tue, May 29, 2018 at 02:48:22AM +0300, Dmitry Osipenko wrote: > On 28.05.2018 16:15, Ville Syrjälä wrote: > > On Sat, May 26, 2018 at 06:56:22PM +0300, Dmitry Osipenko wrote: > >> Color keying is the action of replacing pixels matching a given color > >> (or range of colors) with transparent pix

Re: [PATCH] HID: Add support for 146b:0902 Bigben Interactive Kids' gamepad

2018-05-29 Thread Benjamin Tissoires
On Tue, May 29, 2018 at 12:57 AM, Roderick Colenbrander wrote: > Hi Hanno, > > A few suggestions for your patch based on a quick review (had limited time). > > In terms of code style, I noticed a lot of C++ style comments which > are not part of the kernel code style instead use C comments. To che

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-05-29 Thread Hannes Reinecke
On Mon, 28 May 2018 23:02:36 -0400 Mike Snitzer wrote: > On Mon, May 28 2018 at 9:19pm -0400, > Martin K. Petersen wrote: > > > > > Mike, > > > > I understand and appreciate your position but I still don't think > > the arguments for enabling DM multipath are sufficiently > > compelling. The

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-05-29 Thread Johannes Thumshirn
On Mon, May 28, 2018 at 11:02:36PM -0400, Mike Snitzer wrote: > No, what both Red Hat and SUSE are saying is: cool let's have a go at > "Plan A" but, in parallel, what harm is there in allowing "Plan B" (dm > multipath) to be conditionally enabled to coexist with native NVMe > multipath? For a "Pl

Re: [RESEND PATCH] dmaengine: pxa: add a default requestor policy

2018-05-29 Thread Vinod
On 26-05-18, 11:54, Robert Jarzmik wrote: > @@ -762,6 +762,8 @@ static void pxad_free_chan_resources(struct dma_chan > *dchan) > dma_pool_destroy(chan->desc_pool); > chan->desc_pool = NULL; > > + chan->drcmr = (u32)-1; why not use U32_MAX for this? -- ~Vinod

[RFC] rcu: Check the range of jiffies_till_xxx_fqs on setting them

2018-05-29 Thread Byungchul Park
Hello Paul and folks, I've thought the code should've been like the below since the range checking of jiffies_till_first_fqs and jiffies_till_next_fqs everytime in the loop of rcu_gp_kthread are unnecessary at all. However, it's ok even if you don't think it's worth doing it. Secondly, I also thi

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-05-29 Thread Eugen Hristev
On 29.05.2018 10:10, Peter Rosin wrote: On 2018-05-29 08:30, Eugen Hristev wrote: On 28.05.2018 13:10, Peter Rosin wrote: On 2018-05-28 00:11, Peter Rosin wrote: On 2018-05-27 11:18, Peter Rosin wrote: On 2018-05-25 16:51, Tudor Ambarus wrote: We think the best way is to keep LCD on DDR

Re: [PATCH 0/2] Add Mediatek X20 Development Board support

2018-05-29 Thread Manivannan Sadhasivam
Hi Matthias, On Tue, May 29, 2018 at 08:38:27AM +0200, Matthias Brugger wrote: > Hi Manivannan, > > it's nice to see that someone at Linaro cares about upstreaming the 96 board. > From what I can see, your patches add the very same support to the board as > does the mt6797 evaluation board. Do yo

Re: [PATCH 1/5] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2018-05-29 Thread Lee Jones
On Mon, 28 May 2018, Amelie DELAUNAY wrote: > On 05/24/2018 09:13 AM, Linus Walleij wrote: > > On Fri, May 18, 2018 at 9:29 AM, Amelie DELAUNAY > > wrote: > >> On 05/17/2018 08:36 AM, Lee Jones wrote: > >>> On Wed, 16 May 2018, Amelie DELAUNAY wrote: > On 05/16/2018 04:20 PM, Linus Walleij

Re: [RFC/RFT] [PATCH v2 3/6] cpufreq: intel_pstate: Add update_util_hook for HWP

2018-05-29 Thread Rafael J. Wysocki
On Thu, May 24, 2018 at 3:47 AM, Srinivas Pandruvada wrote: > When HWP dynamic boost is active then set the HWP specific update util > hook. > > Signed-off-by: Srinivas Pandruvada Splitting this patch out of the next one is sort of artificial. > --- > drivers/cpufreq/intel_pstate.c | 21 ++

Re: [PATCH 3/8] scsi: libsas: always unregister the old device if going to discover new

2018-05-29 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG N

[PATCH] IB/mad: Use ID allocator routines to allocate agent number

2018-05-29 Thread Hans Westgaard Ry
The agent TID is a 64 bit value split in two dwords. The least significant dword is the TID running counter. The most significant dword is the agent number. In the CX-3 shared port model, the mlx4 driver uses the most significant byte of the agent number to store the slave number, making agent num

Re: [PATCH v2 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-29 Thread Lee Jones
On Mon, 28 May 2018, Matti Vaittinen wrote: > Patch series adding support for ROHM BD71837 PMIC. > > BD71837 is a programmable Power Management IC for powering single-core, > dual-core, and quad-core SoC’s such as NXP-i.MX 8M. It is optimized for > low BOM cost and compact solution footprint. It

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Alexandre Torgue
Hi Stephen On 05/29/2018 07:52 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the irqchip tree got a conflict in: arch/arm/boot/dts/stm32mp157c.dtsi between commit: 3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c") from the arm-soc tree and commit:

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-05-29 Thread John Johansen
On 05/28/2018 10:01 AM, Matthew Wilcox wrote: > > ping? > > I have this queued up in my XArray tree. If I don't hear from you before > -rc1, I'll be submitting it as part of the XArray conversion. yeah looking at this is on my to do list (I am might even manage to get to it today), the last cou

Re: [PATCH] perf docu: Update section on cpu topology

2018-05-29 Thread Thomas-Mich Richter
On 05/28/2018 09:54 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, May 28, 2018 at 09:44:33AM +0200, Thomas Richter escreveu: >> Add an explanation of each cpu's core and socket >> identifier to the documentation. > > Thanks, applying. I guess it is not that worth to mention that older > files may

Re: [RFC/RFT] [PATCH v2 4/6] cpufreq: intel_pstate: HWP boost performance on IO wakeup

2018-05-29 Thread Rafael J. Wysocki
On Thu, May 24, 2018 at 3:47 AM, Srinivas Pandruvada wrote: > This change uses SCHED_CPUFREQ_IOWAIT flag to boost HWP performance. > Since SCHED_CPUFREQ_IOWAIT flag is set frequently, we don't start > boosting steps unless we see two consecutive flags in two ticks. This > avoids boosting due to IO

Re: [PATCH] HID: Add support for 146b:0902 Bigben Interactive Kids' gamepad

2018-05-29 Thread Hanno Zulla
Hi Roderick, Hi Benjamin, thanks for the review! > In terms of code style, I noticed a lot of C++ style comments which> are not > part of the kernel code style instead use C comments. To check> for potential other issues as well, run your patch through> 'scripts/checkpatch.pl'. Okay, will check

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Marc Zyngier
On 29/05/18 08:41, Alexandre Torgue wrote: > Hi Stephen > > On 05/29/2018 07:52 AM, Stephen Rothwell wrote: >> Hi all, >> >> Today's linux-next merge of the irqchip tree got a conflict in: >> >>arch/arm/boot/dts/stm32mp157c.dtsi >> >> between commit: >> >>3c00436fdb20 ("ARM: dts: stm32: ad

Re: [RFC/RFT] [PATCH v2 2/6] cpufreq: intel_pstate: Add HWP boost utility functions

2018-05-29 Thread Rafael J. Wysocki
On Thu, May 24, 2018 at 3:47 AM, Srinivas Pandruvada wrote: > Added two utility functions to HWP boost up gradually and boost down to > the default cached HWP request values. > > Boost up: > Boost up updates HWP request minimum value in steps. This minimum value > can reach upto at HWP request max

Re: [PATCH v2 4/6] clk: tegra20: init NDFLASH clock to sensible rate

2018-05-29 Thread Peter De Schrijver
On Mon, May 28, 2018 at 05:53:08PM +0200, Stefan Agner wrote: > On 28.05.2018 09:55, Peter De Schrijver wrote: > > On Sun, May 27, 2018 at 11:54:40PM +0200, Stefan Agner wrote: > >> From: Lucas Stach > >> > >> Set up the NAND Flash controller clock to run at 150MHz > >> instead of the rate set by

  1   2   3   4   5   6   7   8   9   10   >