Re: [PATCH] crypto: x86/twofish-3way - Fix %rbp usage

2017-12-18 Thread Ingo Molnar
* Eric Biggers wrote: > There may be a small overhead caused by replacing 'xchg REG, REG' with > the needed sequence 'mov MEM, REG; mov REG, MEM; mov REG, REG' once per > round. But, counterintuitively, when I tested "ctr-twofish-3way" on a > Haswell processor, the new version was actually abou

Re: [PATCH v2 00/22] mmc: tmio: various fixes and cleanups

2017-12-18 Thread Ulf Hansson
On 19 December 2017 at 04:56, Masahiro Yamada wrote: > Hi Ulf, > > > 2017-12-15 18:18 GMT+09:00 Ulf Hansson : >> On 24 November 2017 at 17:24, Masahiro Yamada >> wrote: >>> >>> I am working on this IP for Socionext SoCs. >>> >>> I was hit by several issues, and noticed various >>> clean-up candid

Re: stack traces and zombie tasks

2017-12-18 Thread Ingo Molnar
* Miroslav Benes wrote: > On Sun, 17 Dec 2017, Josh Poimboeuf wrote: > > > On Fri, Dec 15, 2017 at 07:51:45AM -0800, Andy Lutomirski wrote: > > > On Fri, Dec 15, 2017 at 4:54 AM, Miroslav Benes wrote: > > > > Hi, > > > > > > > > commit 1959a60182f4 ("x86/dumpstack: Pin the target stack when du

Re: [PATCH v1] media: videobuf2: Add new uAPI for DVB streaming I/O

2017-12-18 Thread Philippe Ombredanne
Dear Satendra, On Tue, Dec 19, 2017 at 4:35 AM, Satendra Singh Thakur wrote: > --- /dev/null > +++ b/drivers/media/dvb-core/dvb_vb2.c > @@ -0,0 +1,422 @@ > +/* > + * dvb-vb2.c - dvb-vb2 > + * > + * Copyright (C) 2015 Samsung Electronics > + * > + * Author: jh1009.s...@samsung.com > + * > + * T

Re: [patch V163 27/51] x86/mm/pti: Populate user PGD

2017-12-18 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Dec 18, 2017 at 12:45:13PM -0800, Dave Hansen wrote: > > On 12/18/2017 12:41 PM, Peter Zijlstra wrote: > > >> I also don't think the user_shared area of the fixmap can get *that* > > >> big. Does anybody know offhand what the theoretical limits are there? > > >

error: redefinition of ‘shipped_regdb_certs’

2017-12-18 Thread Michal Hocko
Hi Johannes, this is the first time I am seeing this with the current Linus tree. 4.15-rc3 compiled fine. I have checked that you have updated the makefile which generates the file by 715a12334764 ("wireless: don't write C files on failures"). I am getting the following compilation error: CC [M]

Re: [PATCH for-4.15] ASoC: rt5514: don't assume rt5514 component was "attached"

2017-12-18 Thread Cheng-yi Chiang
Hi Brian, I am sorry for not using the plain text mode in the previous mail. I agree with you on other points. On Tue, Dec 19, 2017 at 1:42 AM, Brian Norris wrote: > Hi! > > (By the way, your mail is HTML and likely will get rejected by many > mailing lists and/or people reading these mailing lis

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-18 Thread Ulf Hansson
On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make the PM core avoid invoking the "late" and "noirq" system-wide > suspend (or analogous) callbacks provided by device drivers directly > for devices with DPM_FLAG_SMART_SUSPEND set that are in runtime > suspen

Re: [PATCH 4.14 000/178] 4.14.8-stable review

2017-12-18 Thread Greg Kroah-Hartman
On Mon, Dec 18, 2017 at 01:25:06PM -0700, Shuah Khan wrote: > On 12/18/2017 08:47 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.8 release. > > There are 178 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: [PATCH 4.4 000/115] 4.4.107-stable review

2017-12-18 Thread Greg Kroah-Hartman
On Mon, Dec 18, 2017 at 11:17:30AM -0700, Nathan Chancellor wrote: > Merged, compiled, and flashed onto my Pixel 2 XL and OnePlus 5. > > No initial issues noticed in general usage or dmesg. Great, thanks for testing and letting me know. greg k-h

[PATCH] cgroup: Fix deadlock in cpu hotplug path

2017-12-18 Thread Prateek Sood
Deadlock during cgroup migration from cpu hotplug path when a task T is being moved from source to destination cgroup. kworker/0:0 cpuset_hotplug_workfn() cpuset_hotplug_update_tasks() hotplug_update_tasks_legacy() remove_tasks_in_empty_cpuset() cgroup_transfer_tasks() /

Re: [PATCH] powerpc/perf: Dereference bhrb entries safely

2017-12-18 Thread Ravi Bangoria
Hi Balbir, Sorry was away for few days. On 12/14/2017 05:54 PM, Balbir Singh wrote: > On Tue, Dec 12, 2017 at 11:29 PM, Ravi Bangoria > wrote: >> It may very well happen that branch instructions recorded by >> bhrb entries already get unmapped before they get processed by >> the kernel. Hence, t

Re: [alsa-devel] [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Takashi Iwai
On Mon, 18 Dec 2017 01:28:44 +0100, Joe Perches wrote: > > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for these

Re: [PATCH v3 07/33] nds32: MMU initialization

2017-12-18 Thread Greentime Hu
Hi, Guo Ren: 2017-12-18 20:22 GMT+08:00 Guo Ren : > On Mon, Dec 18, 2017 at 07:21:30PM +0800, Greentime Hu wrote: >> Hi, Guo Ren: >> >> 2017-12-18 17:08 GMT+08:00 Guo Ren : >> > Hi Greentime, >> > >> > On Fri, Dec 08, 2017 at 05:11:50PM +0800, Greentime Hu wrote: >> > [...] >> >> >> >> diff --git

Re: [PATCH 0/2] arm64 SMMUv3 PMU driver with IORT support

2017-12-18 Thread Linu Cherian
Hi Marc, On Mon Dec 18, 2017 at 03:39:22PM +, Marc Zyngier wrote: > Thanks for putting me in the loop Robin. > > On 18/12/17 14:48, Robin Murphy wrote: > > On 10/12/17 02:35, Linu Cherian wrote: > >> Hi, > >> > >> > >> On Fri Aug 04, 2017 at 03:59:12PM -0400, Neil Leeder wrote: > >>> This add

Re: [PATCH v6] mfd: syscon: Add hardware spinlock support

2017-12-18 Thread Baolin Wang
On 18 December 2017 at 20:44, Arnd Bergmann wrote: > On Mon, Dec 18, 2017 at 7:54 AM, Baolin Wang wrote: >> On 15 December 2017 at 21:13, Arnd Bergmann wrote: >>> On Fri, Dec 15, 2017 at 11:42 AM, Lee Jones wrote: >>> > @@ -87,6 +88,30 @@ static struct syscon *of_syscon_register(struct >>>

[PATCH 3/3] i2c: mediatek: Enable i2c module clock before i2c registers access.

2017-12-18 Thread Jun Gao
From: Jun Gao Make sure i2c module clock has been enabled before i2c registers access. Signed-off-by: Jun Gao --- drivers/i2c/busses/i2c-mt65xx.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/i2c/busses/i2c-mt65xx.c b/drivers/i2c/busses/i2c-mt65xx.c index 58d6401..cf23a7

[PATCH 0/3] Add i2c dt-binding and compatible for Mediatek MT2712

2017-12-18 Thread Jun Gao
This patch series based on v4.15-rc1, include MT2712 i2c dt-binding, compatible and i2c module clock enable. Jun Gao (3): dt-bindings: i2c: Add MediaTek MT2712 i2c binding i2c: mediatek: Add i2c compatible for MediaTek MT2712 i2c: mediatek: Enable i2c module clock before i2c registers access

[PATCH 1/3] dt-bindings: i2c: Add MediaTek MT2712 i2c binding

2017-12-18 Thread Jun Gao
From: Jun Gao Add MT2712 i2c binding to binding file. Compare to MT8173 i2c controller, MT2712 has timing adjust registers which can adjust the internal divider of i2c source clock, SCL duty cycle, SCL compare point, start(repeated start) and stop time, SDA change time. Signed-off-by: Jun Gao -

[PATCH 2/3] i2c: mediatek: Add i2c compatible for MediaTek MT2712

2017-12-18 Thread Jun Gao
From: Jun Gao Add i2c compatible for MT2712. Compare to MT8173 i2c controller, internal divider of i2c source clock need to be configured for MT2712 i2c speed calculation. Signed-off-by: Jun Gao --- drivers/i2c/busses/i2c-mt65xx.c | 31 +++ 1 file changed, 27 insert

Re: [PATCH] KVM/Eventfd: Avoid crash when assign and deassign same eventfd in parallel.

2017-12-18 Thread Lan Tianyu
On 2017年12月18日 16:50, Paolo Bonzini wrote: > On 18/12/2017 09:30, David Hildenbrand wrote: >> The ugly thing in kvm_irqfd_assign() is that we access irqfd without >> holding a lock. I think that should rather be fixed than working around >> that issue. (e.g. lock() -> lookup again -> verify still i

[PATCH v2 1/5] mm: migrate NUMA stats from per-zone to per-node

2017-12-18 Thread Kemi Wang
There is not really any use to get NUMA stats separated by zone, and current per-zone NUMA stats is only consumed in /proc/zoneinfo. For code cleanup purpose, we move NUMA stats from per-zone to per-node and reuse the existed per-cpu infrastructure. Suggested-by: Andi Kleen Suggested-by: Michal H

[PATCH v2 5/5] mm: Rename zone_statistics() to numa_statistics()

2017-12-18 Thread Kemi Wang
Since the functionality of zone_statistics() updates numa counters, but numa statistics has been separated from zone statistics framework. Thus, the function name makes people confused. So, change the name to numa_statistics() as well as its call sites accordingly. Signed-off-by: Kemi Wang --- m

[PATCH v2 4/5] mm: use node_page_state_snapshot to avoid deviation

2017-12-18 Thread Kemi Wang
To avoid deviation, this patch uses node_page_state_snapshot instead of node_page_state for node page stats query. e.g. cat /proc/zoneinfo cat /sys/devices/system/node/node*/vmstat cat /sys/devices/system/node/node*/numastat As it is a slow path and would not be read frequently, I would

[PATCH v2 2/5] mm: Extends local cpu counter vm_diff_nodestat from s8 to s16

2017-12-18 Thread Kemi Wang
The type s8 used for vm_diff_nodestat[] as local cpu counters has the limitation of global counters update frequency, especially for those monotone increasing type of counters like NUMA counters with more and more cpus/nodes. This patch extends the type of vm_diff_nodestat from s8 to s16 without an

[PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-18 Thread Kemi Wang
We have seen significant overhead in cache bouncing caused by NUMA counters update in multi-threaded page allocation. See 'commit 1d90ca897cb0 ("mm: update NUMA counter threshold size")' for more details. This patch updates NUMA counters to a fixed size of (MAX_S16 - 2) and deals with global count

[PATCH v2 0/5] mm: NUMA stats code cleanup and enhancement

2017-12-18 Thread Kemi Wang
The existed implementation of NUMA counters is per logical CPU along with zone->vm_numa_stat[] separated by zone, plus a global numa counter array vm_numa_stat[]. However, unlike the other vmstat counters, NUMA stats don't effect system's decision and are only consumed when reading from /proc and /

Re: [PATCH v10 3/5] bpf: add a bpf_override_function helper

2017-12-18 Thread Masami Hiramatsu
On Mon, 18 Dec 2017 16:09:30 +0100 Daniel Borkmann wrote: > On 12/18/2017 10:51 AM, Masami Hiramatsu wrote: > > On Fri, 15 Dec 2017 14:12:54 -0500 > > Josef Bacik wrote: > >> From: Josef Bacik > >> > >> Error injection is sloppy and very ad-hoc. BPF could fill this niche > >> perfectly with it

Re: [PATCH 0/2] arm64 SMMUv3 PMU driver with IORT support

2017-12-18 Thread Linu Cherian
Hi Robin, On Mon Dec 18, 2017 at 02:48:14PM +, Robin Murphy wrote: > On 10/12/17 02:35, Linu Cherian wrote: > >Hi, > > > > > >On Fri Aug 04, 2017 at 03:59:12PM -0400, Neil Leeder wrote: > >>This adds a driver for the SMMUv3 PMU into the perf framework. > >>It includes an IORT update to support

Re: [PATCH v2 2/3] vsprintf: print if symbol not found

2017-12-18 Thread Tobin C. Harding
On Mon, Dec 18, 2017 at 10:18:27PM -0800, Joe Perches wrote: > On Tue, 2017-12-19 at 14:28 +1100, Tobin C. Harding wrote: > > Depends on: commit 40eee173a35e ("kallsyms: don't leak address when > > symbol not found") > > > > Currently vsprintf for specifiers %p[SsB] relies on the behaviour of > >

Re: [PATCH] KVM/Eventfd: Avoid crash when assign and deassign same eventfd in parallel.

2017-12-18 Thread Lan Tianyu
Hi David: Thanks for your review. On 2017年12月18日 16:30, David Hildenbrand wrote: > On 18.12.2017 00:40, Lan Tianyu wrote: >> Syzroot reports crash in kvm_irqfd_assign() is caused by use-after-free. >> Because kvm_irqfd_assign() and kvm_irqfd_deassign() can't run in parallel >> for same eve

Re: [PATCH v10 1/5] add infrastructure for tagging functions as error injectable

2017-12-18 Thread Masami Hiramatsu
On Fri, 15 Dec 2017 14:12:52 -0500 Josef Bacik wrote: > From: Josef Bacik > > Using BPF we can override kprob'ed functions and return arbitrary > values. Obviously this can be a bit unsafe, so make this feature opt-in > for functions. Simply tag a function with KPROBE_ERROR_INJECT_SYMBOL in >

[PATCH] fs: add kernel-doc entry for function argument

2017-12-18 Thread Tobin C. Harding
Building kernel docs causes SPHINX to emit warning: No description found for parameter 'rcu' Add kernel-doc description for parameter 'rcu' Signed-off-by: Tobin C. Harding --- Description taken from comments in update_ovl_inode_times() /* * Nothing to do if in rcu or if non-o

[PATCH v2] crypto: AF_ALG - limit mask and type

2017-12-18 Thread Stephan Müller
The user space interface allows specifying the type and the mask field used to allocate the cipher. As user space can precisely select the desired cipher by using either the name or the driver name, additional selection options for cipher are not considered necessary and relevant for user space. T

RE: [PATCH 0/3] Use mm_struct and switch_mm() instead of manually

2017-12-18 Thread Prakhya, Sai Praneeth
> > Changes in V3: > > 1. When CPUMASK_OFFSTACK is enabled, switch_mm_irqs_off() sets cpumask > > by calling cpumask_set_cpu(). This panics kernel as efi_mm is not > > initialized, therefore initialize efi_mm in efi_alloc_page_tables(). > > Thanks for the v3. > > I confirmed that the issue I saw

Re: [PATCH v2 2/3] vsprintf: print if symbol not found

2017-12-18 Thread Joe Perches
On Tue, 2017-12-19 at 14:28 +1100, Tobin C. Harding wrote: > Depends on: commit 40eee173a35e ("kallsyms: don't leak address when > symbol not found") > > Currently vsprintf for specifiers %p[SsB] relies on the behaviour of > kallsyms (sprint_symbol()) and prints the actual address if a symbol is >

[PATCH] iio: add kernel-doc '@owner'

2017-12-18 Thread Tobin C. Harding
When building kernel documentation sphinx emits the following warning warning: No description found for parameter 'owner' Add description for struct member 'owner'. Signed-off-by: Tobin C. Harding --- I couldn't work out what DRIVER/INTERN were for so I took a guess. include/linux/ii

Re: [PATCH] USB: serial: option: adding support for YUGA CLM920-NC5

2017-12-18 Thread Bjørn Mork
"SZ Lin (林上智)" writes: >> Johan Hovold writes: >> >> >> +static const struct option_blacklist_info yuga_clm920_nc5_blacklist = { >> >> + .reserved = BIT(0) | BIT(1) | BIT(4), }; >> > >> > Do you really need to blacklist the first interface? >> >> Good question. Interface #0 does look a lot like

RE: [PATCH] USB: serial: option: adding support for YUGA CLM920-NC5

2017-12-18 Thread 林上智
> -Original Message- > From: Bjørn Mork [mailto:bj...@mork.no] > Sent: Tuesday, December 19, 2017 2:44 AM > To: SZ Lin (林上智) > Cc: Johan Hovold; Taiyi TY Wu (吳泰毅); Greg Kroah-Hartman; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] USB: serial: option: addin

net/wireless/certs/*.x509 binary files

2017-12-18 Thread Randy Dunlap
This is just an FYI/acknowledgment that net/wireless/certs/*.x509 binary file(s) practically kills use of Linux kernel tarballs. Of course, someone can always enable EXPERT and CFG80211_CERTIFICATION_ONUS and disable the REGDB kconfig symbols to get around this. Oh, and then chmod +x tools/objtool

Re: linux-next: Signed-off-by missing for commit in the scsi tree

2017-12-18 Thread chenxiang (M)
在 2017/12/19 12:27, Martin K. Petersen 写道: Stephen, 9188808c7760 ("scsi: hisi_sas: fix SAS_QUEUE_FULL problem while running IO") is missing a Signed-off-by from its author. John? Hi Stephen and Martin, John is on vacation. I have checked it and please add a "Signed-off-by: Xiang Chen "

[PATCH] iio: fix SPHINX kernel-docs build warning

2017-12-18 Thread Tobin C. Harding
When building kernel documentation sphinx emits the following warnings No description found for parameter 'iio_dev' Excess function parameter 'indio_dev' description in 'iio_device_register' These warnings are caused by a macro with a different argument identifier to the one listed in the kernel-

[PATCH V2] USBIP: return correct port ENABLE status

2017-12-18 Thread pei . zhang
From: Pei Zhang USB system will clear port's ENABLE feature for some USB devices when vdev is already assigned port address. This cause getPortStatus reports to system that this device is not enabled, client OS will failed to use this usb device. The failure devices include a SAMSUNG SSD storage

Re: r8169 regression: UDP packets dropped intermittantly

2017-12-18 Thread Jonathan Woithe
Hi again This is a follow up to my earlier message. On Tue, Dec 19, 2017 at 09:02:25AM +1030, Jonathan Woithe wrote: > On Mon, Dec 18, 2017 at 02:38:53PM +0100, Holger Hoffstätte wrote: > > Since I've seen your postings several times now with no comment or > > resolution > > I've decided to try

[PATCH V4 02/26] powerpc/PCI: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Use pci_get_domain_bus_

[PATCH V4 06/26] edd: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Domain number is not av

linux-next: Tree for Dec 19

2017-12-18 Thread Stephen Rothwell
Hi all, Changes since 20171218: The xtensa tree gained a conflict against Linus' tree. The v4l-dvb tree gained a conflict against the vfs tree. The net-next tree gained a conflict against the net tree. The tty tree lost its build failure. Non-merge commits (relative to Linus' t

[PATCH V4 11/26] iommu/amd: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Hard-code the domain nu

[PATCH V4 15/26] PCI: cpqhp: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Hard-coding the domain

[PATCH V4 14/26] pch_gbe: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Use the domain informat

[PATCH V4 18/26] PCI/syscall: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Hard-coding the domain

[PATCH V4 16/26] PCI: ibmphp: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Hard-coding the domain

[PATCH V4 17/26] PCI/quirks: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Extract the domain numb

[PATCH V4 19/26] xen: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Use pci_get_domain_bus_and_slot() with a domain number of 0 where we can't extract the domain number. Other places, use the

[PATCH V4 10/26] Drivers: ide: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Replace pci_get_bus_and

[PATCH V4 20/26] openprom: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Hard-coding the domain

[PATCH V4 21/26] backlight: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Hard-coding the domain

[PATCH V4 09/26] drm/nouveau: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Replace pci_get_bus_and

[PATCH V4 13/26] bnx2x: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Introduce bnx2x_vf_doma

[PATCH V4 12/26] powerpc/powermac: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Hard-code the domain nu

[PATCH V4 23/26] video: fbdev: nvidia: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). struct nvidia_par has a

[PATCH V4 25/26] i7300_idle: remove unused file

2017-12-18 Thread Sinan Kaya
i7300_idle.h is not being called by any source file and contains calls to pci_get_bus_and_slot() that we are trying to deprecate. Remove unused file. Signed-off-by: Sinan Kaya --- include/linux/i7300_idle.h | 84 -- 1 file changed, 84 deletions(-) del

[PATCH V4 26/26] PCI: Remove pci_get_bus_and_slot() function

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Now that all users of pci_get_bus_and_slot() switched to pci_get_domain_bus_and_slot(), it is now safe to remove this funct

[PATCH V4 24/26] video: fbdev: riva: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). struct riva_par has a p

[PATCH V4 08/26] drm/gma500: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Add domain parameter to

[PATCH V4 22/26] video: fbdev: intelfb: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Find the domain number

[PATCH V4 07/26] ibft: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). We don't search for the

[PATCH V4 04/26] ata: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Use pci_get_domain_bus_

[PATCH V4 05/26] agp: nvidia: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Replace pci_get_bus_and

[PATCH V4 01/26] alpha/PCI: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Use pci_get_domain_bus_and_slot() with a domain number of 0 where we can't extract the domain number. Other places, use the

[PATCH V4 03/26] x86/PCI: deprecate pci_get_bus_and_slot()

2017-12-18 Thread Sinan Kaya
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers. Getting ready to remove pci_get_bus_and_slot() function in favor of pci_get_domain_bus_and_slot(). Use domain number of 0

Re: [PATCH v5] mmap.2: MAP_FIXED updated documentation

2017-12-18 Thread Michael Kerrisk (man-pages)
Hi John, On 12/18/2017 10:27 PM, John Hubbard wrote: > On 12/18/2017 11:15 AM, Michael Kerrisk (man-pages) wrote: >> On 12/12/2017 01:23 AM, john.hubb...@gmail.com wrote: >>> From: John Hubbard >>> >>> -- Expand the documentation to discuss the hazards in >>>enough detail to allow avo

Re: [PATCH -V3 -mm] mm, swap: Fix race between swapoff and some swap operations

2017-12-18 Thread Paul E. McKenney
On Tue, Dec 19, 2017 at 09:57:21AM +0800, Huang, Ying wrote: > "Paul E. McKenney" writes: > > > On Mon, Dec 18, 2017 at 03:41:41PM +0800, Huang, Ying wrote: > >> "Huang, Ying" writes: > >> And, it appears that if we replace smp_wmb() in _enable_swap_info() with > >> stop_machine() in some way, w

Re: pxa3xx_nand times out in 4.14 with JFFS2

2017-12-18 Thread Willy Tarreau
On Tue, Dec 19, 2017 at 01:13:15AM +0100, Miquel RAYNAL wrote: > Boris' fix wouldn't apply anyway as it was written for pxa3xx_nand.c > and here you are using marvell_nand.c and the code is really different. yep I noticed already during the first problem, I couldn't even find where the equivalent

Re: [PATCH v4 25/36] nds32: Miscellaneous header files

2017-12-18 Thread Greentime Hu
Hi, Arnd: 2017-12-18 19:13 GMT+08:00 Arnd Bergmann : > On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: >> From: Greentime Hu >> >> This patch introduces some miscellaneous header files. > >> +static inline void __delay(unsigned long loops) >> +{ >> + __asm__ __volatile__(".align 2\n"

Re: AMD erratum 665 on f15h processor?

2017-12-18 Thread Andrew Randrianasulu
В сообщении от Tuesday 19 December 2017 00:05:40 Borislav Petkov написал(а): > When you git reply, please hit reply-to-all in your mail client so that > mailing lists get CCed too. ok. > > On Mon, Dec 18, 2017 at 07:54:52PM +0300, Andrew Randrianasulu wrote: > > В сообщении от Monday 18 December

RE: [Bug fix] octeon-i2c driver improvement [2/2]

2017-12-18 Thread Zhang, Sean C. (NSB - CN/Hangzhou)
Hi Jan and David, Any other comment for these three patches? I sent them separately. 1. [Bug fix] octeon-i2c driver updates 2. [Bug fix] octeon-i2c driver improvement [1/2] 3. [Bug fix] octeon-i2c driver improvement [2/2] BR, Sean Zhang -Original Message- From: Zhang, Sean C. (NSB - CN/

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-18 Thread AKASHI Takahiro
On Tue, Dec 19, 2017 at 02:58:20AM +0530, Bhupesh Sharma wrote: > Hi Dave, > > On Mon, Dec 18, 2017 at 10:46 AM, Dave Young wrote: > > kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it > > to ke...@lists.infradead.org > > > > Also add linux-acpi list > > On 12/18/17 at 02:

Re: [PATCH 3/3] misc: ad525x_dpot: macros should not use a trailing semicolon

2017-12-18 Thread Dhaval Shah
Hi Greg k-h, > From: Greg KH > Sent: Monday, December 18, 2017 8:32 PM > To: Dhaval Shah > Cc: a...@arndb.de; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 3/3] misc: ad525x_dpot: macros should not use a trailing > semicolon > > On Fri, Dec 08, 2017

Re: [PATCH v2 06/12] drm/sun4i: engine: Create an atomic_begin callback

2017-12-18 Thread Chen-Yu Tsai
On Mon, Dec 18, 2017 at 10:57 PM, Maxime Ripard wrote: > We have to implement some display engine specific behaviours in > atomic_begin. Let's add a function for that. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/sun4i_crtc.c | 6 +- > drivers/gpu/drm/sun4i/sunxi_engine.

Re: [PATCH v2 05/12] drm/sun4i: engine: Add a VBLANK quirk callback

2017-12-18 Thread Chen-Yu Tsai
On Mon, Dec 18, 2017 at 10:57 PM, Maxime Ripard wrote: > In some cases, the display engine needs to apply some quirks during the > VBLANK event. In the Display Engine 1.0 case for example, we can only > disable the frontend once the backend has been, which is at VBLANK. > > Let's introduce a callb

Re: [PATCH v2 04/12] drm/sun4i: engine: Add a custom crtc atomic_check

2017-12-18 Thread Chen-Yu Tsai
On Mon, Dec 18, 2017 at 10:57 PM, Maxime Ripard wrote: > We have some restrictions on what the planes and CRTC can provide that are > tied to only one generation of display engines. > > For example, on the first generation, we can only have one YUV plane or one > plane that uses the frontend outpu

Re: [PATCH v2 03/12] drm/sun4i: backend: Add a custom plane state

2017-12-18 Thread Chen-Yu Tsai
On Mon, Dec 18, 2017 at 10:57 PM, Maxime Ripard wrote: > We will need to store some additional data in the future to the state. > Create a custom plane state that will embed those data, in order to store > the pipe or whether or not that plane should use the frontend. > > Reviewed-by: Neil Armstro

Re: [PATCH v2 02/12] sun4i/drm: backend: Document the engine operations

2017-12-18 Thread Chen-Yu Tsai
On Mon, Dec 18, 2017 at 10:57 PM, Maxime Ripard wrote: > Our operations were missing some documentation to explain what was expected > from them. > > Let's make that clearer. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/sun4i_backend.c | 2 +- > drivers/gpu/drm/sun4i/sunxi_eng

Re: [PATCH v2 01/12] drm/sun4i: backend: Move line stride setup to buffer setup function

2017-12-18 Thread Chen-Yu Tsai
On Mon, Dec 18, 2017 at 10:57 PM, Maxime Ripard wrote: > Setup the line stride in the buffer setup function, since it's tied to the > buffer itself, and is not needed when we do not set the buffer in the > backend. > > This is for example the case when using the frontend and then routing its > out

Re: [PATCH v5 7/8] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2017-12-18 Thread Keerthy
On Monday 18 December 2017 06:25 PM, Keerthy wrote: > > > On Monday 18 December 2017 03:01 PM, Ladislav Michl wrote: >> Keerthy, >> >> On Tue, Dec 12, 2017 at 11:42:16AM +0530, Keerthy wrote: >>> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks. >>> >>> Signed-off-by: Keerthy

Re: [RFC][PATCHv6 00/12] printk: introduce printing kernel thread

2017-12-18 Thread Sergey Senozhatsky
On (12/18/17 22:38), Steven Rostedt wrote: > On Tue, 19 Dec 2017 11:46:10 +0900 > Sergey Senozhatsky wrote: > > > anyway, > > before you guys push the patch to printk.git, can we wait for Tejun to > > run his tests against it? > > I've been asking for that since day one ;-) ok so you are not c

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-18 Thread AKASHI Takahiro
On Mon, Dec 18, 2017 at 02:29:05PM +0530, Bhupesh SHARMA wrote: > > [snip..] > > [0.00] linux,usable-memory-range base e80, size 2000 > [0.00] - e80 , 2000 > [0.00] linux,usable-memory-range base 396c, size a > [0.00] - 396c , a

Re: [PATCH] drivers: gpio: remove duplicate includes

2017-12-18 Thread Gregory Fong
On Sat, Dec 16, 2017 at 4:56 AM, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl > but they have been removed manually to avoid removing false positives. > > Signed-off-by: Pravin Shedge Acked-by: Gregory Fong

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-18 Thread vcaputo
On Mon, Dec 18, 2017 at 06:06:58PM -0800, vcap...@pengaru.com wrote: > On Thu, Dec 14, 2017 at 10:57:30AM +0100, Pavel Machek wrote: > > On Tue 2017-11-28 08:00:20, Takashi Iwai wrote: > > > On Mon, 27 Nov 2017 19:44:12 +0100, > > > Pavel Machek wrote: > > > > > > > > On Mon 2017-11-27 19:35:32, T

Re: [RFC][PATCHv6 00/12] printk: introduce printing kernel thread

2017-12-18 Thread Sergey Senozhatsky
On (12/18/17 12:46), Steven Rostedt wrote: > > One question is if we really want to rely on offloading in > > this case. What if this is printed to debug some stalled > > system. > > Correct, and this is what I call when debugging hard lockups, and I do > it from NMI. [..] > show_state_filter() is

[BUG] 4.15-rc4 'do_IRQ: 0.33 No irq handler for vector'

2017-12-18 Thread vcaputo
Hello everyone, While investigating `journalctl -k` for anything associated with broken audio, this was found: Dec 18 16:09:28 iridesce kernel: do_IRQ: 0.33 No irq handler for vector Dec 18 16:10:21 iridesce kernel: ata1.00: exception Emask 0x0 SAct 0xfe0 SErr 0x0 action 0x6 frozen Dec 18

Re: [PATCH 4.13 03/28] Bluetooth: btusb: fix QCA Rome suspend/resume

2017-12-18 Thread Kai Heng Feng
Hi Brian, > On 19 Dec 2017, at 2:13 AM, Brian Norris wrote: > > Hi Greg, > > On Mon, Dec 18, 2017 at 12:43:48PM +0100, Greg Kroah-Hartman wrote: >> On Fri, Dec 15, 2017 at 07:05:39PM -0800, Matthias Kaehlcke wrote: >>> We identified the above patch as the culprit, in combination with USB >>> au

Re: linux-next: Signed-off-by missing for commit in the scsi tree

2017-12-18 Thread Martin K. Petersen
Stephen, > 9188808c7760 ("scsi: hisi_sas: fix SAS_QUEUE_FULL problem while running IO") > > is missing a Signed-off-by from its author. John? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 3/3] trace: print address if symbol not found

2017-12-18 Thread Tobin C. Harding
On Mon, Dec 18, 2017 at 10:37:38PM -0500, Steven Rostedt wrote: > On Tue, 19 Dec 2017 14:00:11 +1100 > "Tobin C. Harding" wrote: > > > I ran through these as outlined here for the new version (v4). This hits > > the modified code but doesn't test symbol look up failure. > > stacktrace shouldn't

Re: [PATCH 07/13] ocxl: Add AFU interrupt support

2017-12-18 Thread Benjamin Herrenschmidt
On Mon, 2017-12-18 at 16:21 +0100, Frederic Barrat wrote: > Add user APIs through ioctl to allocate, free, and be notified of an > AFU interrupt. > > For opencapi, an AFU can trigger an interrupt on the host by sending a > specific command targeting a 64-bit object handle. On POWER9, this is > imp

[PATCH v2] usb: Add device quirk for Logitech HD Pro Webcam C925e

2017-12-18 Thread Dmitry Fleytman
From: Dmitry Fleytman Dmitry Fleytman Commit e0429362ab15 ("usb: Add device quirk for Logitech HD Pro Webcams C920 and C930e") introduced quirk to workaround an issue with some Logitech webcams. There is one more model that has the same issue - C925e, so applying the same quirk as well. See afo

[PATCH v2 1/2] clk: tegra: Mark HCLK, SCLK, EMC, MC and PLL_P outputs as critical

2017-12-18 Thread Dmitry Osipenko
Machine dies if HCLK, SCLK or EMC is disabled, hence mark these clocks as critical. Currently some of drivers do not manage clocks properly, expecting clocks to be 'always enabled', these clocks are MC and PLL_P outputs. Let's mark MC or PLL_P outputs as critical for now and revert this change once

[PATCH v2 2/2] clk: tegra20: Correct PLL_C_OUT1 setup

2017-12-18 Thread Dmitry Osipenko
PLL_C_OUT_1 can't produce 216 MHz defined in the init_table. Let's set it to 240 MHz and explicitly specify HCLK rate for consistency. Signed-off-by: Dmitry Osipenko Acked-By: Peter De Schrijver --- Change log: v2: No change. drivers/clk/tegra/clk-tegra20.c | 6 +++--- 1 file changed, 3

Re: [PATCH v2 00/22] mmc: tmio: various fixes and cleanups

2017-12-18 Thread Masahiro Yamada
Hi Ulf, 2017-12-15 18:18 GMT+09:00 Ulf Hansson : > On 24 November 2017 at 17:24, Masahiro Yamada > wrote: >> >> I am working on this IP for Socionext SoCs. >> >> I was hit by several issues, and noticed various >> clean-up candidates. >> >> - Fix and clean-up Kconfig >> - Fix various card dete

  1   2   3   4   5   6   7   8   9   10   >