Re: [PATCH v8 1/4] PCI: Add new PCIe Fabric End Node flag, PCI_DEV_FLAGS_NO_RELAXED_ORDERING

2017-08-04 Thread Ding Tianhong
On 2017/8/5 5:06, Casey Leedom wrote: > | From: Ding Tianhong > | Sent: Thursday, August 3, 2017 6:44 AM > | > | diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c > | index 6967c6b..1e1cdbe 100644 > | --- a/drivers/pci/quirks.c > | +++ b/drivers/pci/quirks.c > | @@ -4016,6 +4016,44 @@ sta

[PATCH 03/10] PCI: export symbol for PCI_TEST module

2017-08-04 Thread Yinghai Lu
We need to use them from pci_test module, so expose them. Signed-off-by: Yinghai Lu --- arch/x86/pci/i386.c | 1 + drivers/pci/setup-bus.c | 1 + kernel/resource.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/arch/x86/pci/i386.c b/arch/x86/pci/i386.c index 7b43071..9065c58 10

[PATCH 00/10] PCI: pci resource allocation test module

2017-08-04 Thread Yinghai Lu
Read from data file and mask file, to build simulated data structure, and have pci_ops to use them. Extract calling for pci_create_root_bus, scan_child_bus, resource survey and resource assign ... to see if those functions work as expected with simulated data. mask is with rw bits on pci register

[PATCH 01/10] PCI: avoid arch_remove_reservations() for PCI_TEST

2017-08-04 Thread Yinghai Lu
arch_remove_reservations will clip out with e820 from host that kernel running, that will cause failure from PCI_TEST from simulated data. PCI_TEST has different iomem resource instead iomem_resource, so check if iomem_resource is related to avoid calling arch_remove_reservations() Signed-off-by:

[PATCH 04/10] PCI: extend pci device match_driver state

2017-08-04 Thread Yinghai Lu
Change it from false/true to -1/0/1. If it is set from -1, then it will never get change to 1 later. For PCI_TEST, the simulated device does not have realy function support except bus number and BAR setting. Signed-off-by: Yinghai Lu --- drivers/iommu/amd_iommu_init.c | 2 +- drivers/pci/bus.c

[PATCH 06/10] PCI: PCI_TEST simple data

2017-08-04 Thread Yinghai Lu
Signed-off-by: Yinghai Lu --- drivers/pci/pci_test_data.txt | 24 drivers/pci/pci_test_mask.txt | 5 + 2 files changed, 29 insertions(+) create mode 100644 drivers/pci/pci_test_data.txt create mode 100644 drivers/pci/pci_test_mask.txt diff --git a/drivers/pci/pci_

Re: [PATCH] turbostat: Running on virtual machine is not supported

2017-08-04 Thread Len Brown
> Len, can you add an entry to RHMAINTAINERS for that? done. thx. Len 0001-MAINTAINERS-add-turbostat-utility.patch Description: Binary data

[PATCH 02/10] PCI: introduce ioport_res/iomem_res for PCI_TEST

2017-08-04 Thread Yinghai Lu
Make every bus to take the pointer to correct iomem_res instead of using iomem_resource directly. So PCI_TEST could use different iomem_res later. Signed-off-by: Yinghai Lu --- drivers/pci/probe.c | 2 ++ drivers/pci/quirks.c| 2 +- drivers/pci/setup-bus.c | 2 +- drivers/pci/setup-r

[PATCH 05/10] PCI: Add PCI_TEST module for resource allocation

2017-08-04 Thread Yinghai Lu
Read from data file and mask file, to build simulated data structure, and have pci_ops to use them. Extract calling for pci_create_root_bus, scan_child_bus, resource survey and resource assign ... to see if those functions work as expected with simulated data. mask is with rw bits on pci register

Re: [PATCH v2 4/5] PCI: mediatek: Add new generation controller support

2017-08-04 Thread Ryder Lee
On Sat, 2017-08-05 at 12:52 +0800, Ryder Lee wrote: > Hi Honghui, Bjorn, > > On Fri, 2017-08-04 at 08:18 -0500, Bjorn Helgaas wrote: > > On Fri, Aug 04, 2017 at 04:39:36PM +0800, Honghui Zhang wrote: > > > On Thu, 2017-08-03 at 17:42 -0500, Bjorn Helgaas wrote: > > > > > + > > > > > +static struct

Re: [tip:x86/microcode] x86/microcode: Document the three loading methods

2017-08-04 Thread Borislav Petkov
On Fri, Aug 04, 2017 at 01:24:02PM +0200, Paul Menzel wrote: > > Gitweb: > > http://git.kernel.org/tip/0e3258753f8183c63bf68bd274d2cc7e71e5f402 > > Could you the script(?) please be updated to use HTTPS URLs? tip guys? > Maybe it could be added, that certain bootloaders like GRUB allow to s

Re: [PATCH 4.9 000/105] 4.9.41-stable review

2017-08-04 Thread Guenter Roeck
On 08/04/2017 04:14 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.41 release. There are 105 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [ANNOUNCE] v4.11.12-rt9

2017-08-04 Thread Mike Galbraith
On Fri, 2017-08-04 at 19:38 +0200, Sebastian Andrzej Siewior wrote: > Dear RT folks! > > I'm pleased to announce the v4.11.12-rt9 patch set. > > Changes since v4.11.12-rt8: > > - CPU hotplug could be rock solid now. Yes. The rewrite of the hotplug > related parts for RT including rwlock's

Re: [PATCH 4.4 00/91] 4.4.80-stable review

2017-08-04 Thread Guenter Roeck
On 08/04/2017 04:14 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.80 release. There are 91 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH 3.18 00/50] 3.18.64-stable review

2017-08-04 Thread Willy Tarreau
On Sat, Aug 05, 2017 at 07:55:11AM +0200, Willy Tarreau wrote: > On Fri, Aug 04, 2017 at 07:51:07PM -0700, Greg Kroah-Hartman wrote: > > On Fri, Aug 04, 2017 at 07:46:57PM -0700, Greg Kroah-Hartman wrote: > > > On Fri, Aug 04, 2017 at 06:43:50PM -0700, Guenter Roeck wrote: > > > > On 08/04/2017 04:

Re: [PATCH 3.18 00/50] 3.18.64-stable review

2017-08-04 Thread Willy Tarreau
On Fri, Aug 04, 2017 at 07:51:07PM -0700, Greg Kroah-Hartman wrote: > On Fri, Aug 04, 2017 at 07:46:57PM -0700, Greg Kroah-Hartman wrote: > > On Fri, Aug 04, 2017 at 06:43:50PM -0700, Guenter Roeck wrote: > > > On 08/04/2017 04:15 PM, Greg Kroah-Hartman wrote: > > > > This is the start of the stabl

Re: [v4] wlcore: add missing nvs file name info for wilink8

2017-08-04 Thread Julian Calaby
Hi Eyal, On Mon, Jul 31, 2017 at 6:45 PM, Reizer, Eyal wrote: > The following commits: > c815fde wlcore: spi: Populate config firmware data > d776fc8 wlcore: sdio: Populate config firmware data > > Populated the nvs entry for wilink6 and wilink7 only while it is > still needed for wilink8 as well

Re: [PATCH v2 7/7] edac drivers: add MC owner check in init

2017-08-04 Thread Borislav Petkov
On Fri, Aug 04, 2017 at 09:48:23PM +, Kani, Toshimitsu wrote: > Not sure if anyone cares, but I thought it should return with -ENODEV > when this modules found no target, and -EBUSY when it found a target > but it's busy. Hence, this ordering. You can still return -EBUSY. Just do the owner ch

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread Borislav Petkov
On Fri, Aug 04, 2017 at 09:35:05PM +, Kani, Toshimitsu wrote: > 1 means the caller's init function can continue its initialization -- > such conditions are free or owned by itself. Make that: edac_get_owner(void) to return the owner string or NULL if there's no owner. The caller can

Re: [PATCH] f2fs: fix the size value in __check_sit_bitmap

2017-08-04 Thread Chao Yu
On 2017/8/4 17:07, Yunlong Song wrote: > The current size value is not correct and will miss bitmap check. > > Signed-off-by: Yunlong Song Reviewed-by: Chao Yu > --- > fs/f2fs/segment.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/fs/f2fs/segment.c b/fs/f2f

Re: [PATCH v6 2/2] ARM: dts: TS-4600: add basic device tree

2017-08-04 Thread Shawn Guo
On Thu, Aug 03, 2017 at 03:38:15PM -0400, Sebastien Bourdelin wrote: > These device trees add support for the TS-4600 by Technologic Systems. > > More details here: > http://wiki.embeddedarm.com/wiki/TS-4600 > > Signed-off-by: Sebastien Bourdelin > --- > Changes v5 -> v6: > - rebase on maste

Re: [PATCH v2 5/7] ghes_edac: add platform check to enable ghes_edac

2017-08-04 Thread Borislav Petkov
On Fri, Aug 04, 2017 at 09:06:27PM +, Kani, Toshimitsu wrote: > How about "ghes_edac.any_platform"? ghes_edac.force_load -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --

Re: [PATCH] ARM: dts: i.MX25: add ranges to tscadc

2017-08-04 Thread Shawn Guo
On Thu, Aug 03, 2017 at 06:29:48PM +0200, Martin Kaiser wrote: > Hi Shawn, > > Thus wrote Shawn Guo (shawn...@kernel.org): > > > On Wed, Aug 02, 2017 at 10:06:11PM +0200, Martin Kaiser wrote: > > > Add a ranges; line to the tscadc node. This creates a 1:1 mapping between > > > the addresses used

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-04 Thread Borislav Petkov
On Fri, Aug 04, 2017 at 09:02:17PM +, Kani, Toshimitsu wrote: > GHES platform devices correspond to GHES entries, which define firmware > interfaces to report generic memory errors to the OS, such as NMI and > SCI. These devices are associated with all DIMMs, not a particular > DIMM. And? Sta

Re: [PATCH v2 3/7] ACPI / APEI: add OSC APEI bit check for ghes_edac

2017-08-04 Thread Borislav Petkov
On Fri, Aug 04, 2017 at 08:49:51PM +, Kani, Toshimitsu wrote: > Some firmware features can be enabled / disabled in BIOS. While HPE > firmware does not allow to disable FF, it's possible that other vendors > might allow such and still have the same OEM ID info. Yeah, we don't protect ourselve

Re: [PATCH v2 1/7] ACPI / blacklist: add acpi_match_oemlist() interface

2017-08-04 Thread Borislav Petkov
On Fri, Aug 04, 2017 at 08:39:35PM +, Kani, Toshimitsu wrote: > Well, we did talk a lot about your suggested name, "acpi_blacklist", > and I explained that it did not work since it'd be used for both black > and white-list. We've agreed on that. > > You then suggested it's "platform", not "OE

Re: [PATCH v2 4/5] PCI: mediatek: Add new generation controller support

2017-08-04 Thread Ryder Lee
Hi Honghui, Bjorn, On Fri, 2017-08-04 at 08:18 -0500, Bjorn Helgaas wrote: > On Fri, Aug 04, 2017 at 04:39:36PM +0800, Honghui Zhang wrote: > > On Thu, 2017-08-03 at 17:42 -0500, Bjorn Helgaas wrote: > > > > + > > > > +static struct mtk_pcie_port *mtk_pcie_find_port(struct mtk_pcie *pcie, > > > >

[PATCH V3] get_maintainer: Prepare for separate MAINTAINERS files

2017-08-04 Thread Joe Perches
Allow for MAINTAINERS to become a directory and if it is, read all the files in the directory for maintained sections. Optionally look for all files named MAINTAINERS in directories excluding the .git directory by using --find-maintainer-files. This optional feature adds ~.3 seconds of CPU on an

Re: [PATCH 0/3] arm64 xilinx zynqmp firmware interface

2017-08-04 Thread Alexander Graf
> Am 04.08.2017 um 15:45 schrieb Michal Simek : > > Hi, > > xilinx is using this interface for very long time and we can't merge our > driver changes to Linux because of missing communication layer with > firmware. This interface was developed before scpi and scmi was > available. In connection

[PATCH 2/2] io_getevents: Use timespec64 to represent timeouts

2017-08-04 Thread Deepa Dinamani
struct timespec is not y2038 safe. Use y2038 safe struct timespec64 to represent timeouts. The system call interface itself will be changed as part of different series. Timeouts will not really need more than 32 bits. But, replacing these with timespec64 helps verification of a y2038 safe kernel b

[PATCH 1/2] select: Use get/put_timespec64

2017-08-04 Thread Deepa Dinamani
Usage of these apis and their compat versions makes the syscalls: select family of syscalls and their compat implementations simpler. This is a preparatory patch to isolate data conversions to struct timespec64 at userspace boundaries. This helps contain the changes needed to transition to new y20

[PATCH 0/2] i/o: Make i/o y2038 safe

2017-08-04 Thread Deepa Dinamani
This is a preparatory series to make i/o y2038-safe by replacing the use of struct timespec which is not y2038 safe by y2038 safe struct timespec64. Sockets and userspace interfaces themselves will be changed in a separate series. Deepa Dinamani (2): select: Use get/put_timespec64 io_getevent

Re: [PATCH 3.18 00/50] 3.18.64-stable review

2017-08-04 Thread Guenter Roeck
On 08/04/2017 08:00 PM, Greg Kroah-Hartman wrote: On Fri, Aug 04, 2017 at 07:51:07PM -0700, Greg Kroah-Hartman wrote: On Fri, Aug 04, 2017 at 07:46:57PM -0700, Greg Kroah-Hartman wrote: On Fri, Aug 04, 2017 at 06:43:50PM -0700, Guenter Roeck wrote: On 08/04/2017 04:15 PM, Greg Kroah-Hartman wr

Re: [PATCH 3.18 00/50] 3.18.64-stable review

2017-08-04 Thread Guenter Roeck
On 08/04/2017 07:46 PM, Greg Kroah-Hartman wrote: On Fri, Aug 04, 2017 at 06:43:50PM -0700, Guenter Roeck wrote: On 08/04/2017 04:15 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.64 release. There are 50 patches in this series, all will be posted as a r

Re: [PATCH] soc: imx: gpcv2: fix regulator deferred probe

2017-08-04 Thread Shawn Guo
On Wed, Aug 02, 2017 at 12:51:29PM -0700, Stefan Agner wrote: > If a regulator requests a deferred probe, the power domain gets > initialized twice. This leads to a list double add (without > list debugging the kernel hangs due to the double add later): > > WARNING: CPU: 0 PID: 19 at lib/list_de

Re: [PATCH 3.18 00/50] 3.18.64-stable review

2017-08-04 Thread Greg Kroah-Hartman
On Fri, Aug 04, 2017 at 07:51:07PM -0700, Greg Kroah-Hartman wrote: > On Fri, Aug 04, 2017 at 07:46:57PM -0700, Greg Kroah-Hartman wrote: > > On Fri, Aug 04, 2017 at 06:43:50PM -0700, Guenter Roeck wrote: > > > On 08/04/2017 04:15 PM, Greg Kroah-Hartman wrote: > > > > This is the start of the stabl

Re: [PATCH 4.9 000/105] 4.9.41-stable review

2017-08-04 Thread Greg Kroah-Hartman
On Fri, Aug 04, 2017 at 07:54:52PM -0700, Randy Dunlap wrote: > On 08/04/2017 07:53 PM, Randy Dunlap wrote: > > On 08/04/2017 04:14 PM, Greg Kroah-Hartman wrote: > >> This is the start of the stable review cycle for the 4.9.41 release. > >> There are 105 patches in this series, all will be posted a

Re: [PATCH v5 0/4] ARM: dts: imx: add CX9020 Embedded PC device tree

2017-08-04 Thread Shawn Guo
On Wed, Jul 26, 2017 at 02:05:30PM +0200, linux-kernel-...@beckhoff.com wrote: > Patrick Bruenn (4): > dt-bindings: arm: Add entry for Beckhoff CX9020 > ARM: dts: imx53: add srtc node > ARM: dts: imx53: add alternative UART2 configuration > ARM: dts: imx: add CX9020 Embedded PC device tree

Re: [PATCH 4.9 000/105] 4.9.41-stable review

2017-08-04 Thread Randy Dunlap
On 08/04/2017 07:53 PM, Randy Dunlap wrote: > On 08/04/2017 04:14 PM, Greg Kroah-Hartman wrote: >> This is the start of the stable review cycle for the 4.9.41 release. >> There are 105 patches in this series, all will be posted as a response >> to this one. If anyone has any issues with these bein

Re: [PATCH 4.9 000/105] 4.9.41-stable review

2017-08-04 Thread Randy Dunlap
On 08/04/2017 04:14 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.41 release. > There are 105 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 3.18 00/50] 3.18.64-stable review

2017-08-04 Thread Greg Kroah-Hartman
On Fri, Aug 04, 2017 at 07:46:57PM -0700, Greg Kroah-Hartman wrote: > On Fri, Aug 04, 2017 at 06:43:50PM -0700, Guenter Roeck wrote: > > On 08/04/2017 04:15 PM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 3.18.64 release. > > > There are 50 patches in this s

Re: [PATCH 3.18 00/50] 3.18.64-stable review

2017-08-04 Thread Greg Kroah-Hartman
On Fri, Aug 04, 2017 at 06:43:50PM -0700, Guenter Roeck wrote: > On 08/04/2017 04:15 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.64 release. > > There are 50 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.9 000/105] 4.9.41-stable review

2017-08-04 Thread Greg Kroah-Hartman
On Fri, Aug 04, 2017 at 07:51:12PM -0600, Shuah Khan wrote: > On 08/04/2017 05:14 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.41 release. > > There are 105 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: [PATCH 3.18 00/50] 3.18.64-stable review

2017-08-04 Thread Shuah Khan
On 08/04/2017 05:15 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.64 release. > There are 50 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 4.4 00/91] 4.4.80-stable review

2017-08-04 Thread Shuah Khan
On 08/04/2017 05:14 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.80 release. > There are 91 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH v5 0/8] Add board support for TS-4600

2017-08-04 Thread Shawn Guo
On Thu, Aug 03, 2017 at 03:32:36PM -0400, Sebastien Bourdelin wrote: > Hi Shawn, > > Thanks i understand, however if it's ok, i would like to process in the > same time with the TS4600 board bindings and initial dts without the > part related to the nbus and watchdog. > There is no dependencies he

[PATCH] imon: constify attribute_group structures

2017-08-04 Thread Amitoj Kaur Chawla
Functions working with attribute_groups provided by work with const attribute_group. These attribute_group structures do not change at runtime so mark them as const. File size before: text data bss dec hex filename 3698116776 960 54717d5bd drivers/media/rc/imon.o

Re: [PATCH 4.9 000/105] 4.9.41-stable review

2017-08-04 Thread Shuah Khan
On 08/04/2017 05:14 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.41 release. > There are 105 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH v5 2/8] ARM: dts: TS-4600: add basic device tree

2017-08-04 Thread Shawn Guo
On Fri, Jul 14, 2017 at 04:32:12PM -0400, Sebastien Bourdelin wrote: > These device trees add support for the TS-4600 by Technologic Systems. > > More details here: > http://wiki.embeddedarm.com/wiki/TS-4600 > > Signed-off-by: Sebastien Bourdelin > --- > Changes v4 -> v5: > - fix missing sig

RE: [PATCH] mm, oom: fix potential data corruption when oom_reaper races with writer

2017-08-04 Thread 陶文苇
> -Original Message- > From: Michal Hocko [mailto:mho...@kernel.org] > Sent: Friday, August 04, 2017 10:57 PM > To: Tetsuo Handa > Cc: linux...@kvack.org; a...@linux-foundation.org; 陶文苇 > ; o...@redhat.com; rient...@google.com; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] mm, oo

Re:Re: drivers/s390/char/keyboard.c NULL pointer reference

2017-08-04 Thread sohu0106
I don't understand a bit,My idea is in userland fd=open("tty3270",O_RDONLY) ... ret=ioctl(fd,KDGKBDIACR,NULL) ... then here drivers/s390/char/keyboard.c 477 case KDGKBDIACR: { struct kbdiacrs __user *a = argp; struct kbdiacr diacr; int

Re: [PATCH 3.18 00/50] 3.18.64-stable review

2017-08-04 Thread Guenter Roeck
On 08/04/2017 04:15 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.64 release. There are 50 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

[PATCH] thunderbolt: constify attribute_group structure

2017-08-04 Thread Amitoj Kaur Chawla
Functions working with attribute_groups provided by work with const attribute_group. These attribute_group structures do not change at runtime so mark them as const. File size before: text data bss dec hex filename 28565 7300 0 358658c19 drivers/thunderbolt/swit

Re: [PATCH v6 2/3] ARM: i.MX25: add RNGB node to dtsi

2017-08-04 Thread Shawn Guo
On Sun, Jul 23, 2017 at 07:49:05PM +0200, Martin Kaiser wrote: > From: Steffen Trumtrar > > Add a devicetree entry for the Random Number Generator Version B (RNGB). > The driver for RNGC supports version B as well. > > Signed-off-by: Steffen Trumtrar > Signed-off-by: Martin Kaiser Applied, th

Re: [f2fs-dev] [PATCH] f2fs: do not change the valid_block value if cur_valid_map was wrongly set or cleared

2017-08-04 Thread Chao Yu
On 2017/8/2 22:16, Yunlong Song wrote: > Signed-off-by: Yunlong Song Reviewed-by: Chao Yu > --- > fs/f2fs/segment.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c > index 40e40c5..9e3249a 100644 > --- a/fs/f2fs/segment.c > +++ b/fs/f2fs/segm

[PATCH v2 1/4] ipmi: bt-i2c: added documentation for bt-i2c drivers

2017-08-04 Thread Brendan Higgins
Added device tree binding documentation for ipmi-bt-i2c (host) and ipmi-bmc-bt-i2c (BMC) and documentation for the Block Transfer over I2C (bt-i2c) protocol. Signed-off-by: Brendan Higgins --- Changes for v2: - Fixed a typo - Reworded a sentence to make it clear that I was talking about IBM's

[PATCH v2 0/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C

2017-08-04 Thread Brendan Higgins
This patchset introduces IPMI Block Transfer over I2C (BT-I2C), which has the same semantics as IPMI Block Transfer except it done over I2C. For the OpenBMC people, this is based on an RFC: https://lists.ozlabs.org/pipermail/openbmc/2016-September/004505.html The documentation discusses the reaso

[PATCH v2 2/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C host side

2017-08-04 Thread Brendan Higgins
The IPMI definition of the Block Transfer protocol defines the hardware registers and behavior in addition to the message format and messaging semantics. This implements a new protocol that uses IPMI Block Transfer messages and semantics on top of a standard I2C interface. Signed-off-by: Brendan H

[PATCH v2 3/4] ipmi: bt-i2c: added IPMI Block Transfer over I2C BMC side

2017-08-04 Thread Brendan Higgins
The IPMI definition of the Block Transfer protocol defines the hardware registers and behavior in addition to the message format and messaging semantics. This implements a new protocol that uses IPMI Block Transfer messages and semantics on top of a standard I2C interface. This protocol has the sam

[PATCH v2 4/4] ipmi: bt-bmc: move Aspeed IPMI BMC driver to ipmi_bmc

2017-08-04 Thread Brendan Higgins
From: Benjamin Fair The ipmi_bmc folder contains drivers for a BMC to communicate using IPMI. The ipmi folder is only for drivers on the host side using the OpenIPMI framework. Signed-off-by: Benjamin Fair Signed-off-by: Brendan Higgins --- Added in v2: --- drivers/char/ipmi/Kconfig

[PATCH] nfit, libnvdimm, region: export 'position' in mapping info

2017-08-04 Thread Dan Williams
It is useful to be able to know the position of a DIMM in an interleave-set. Consider the case where the order of the DIMMs changes causing a namespace to be invalidated because the interleave-set cookie no longer matches. If the before and after state of each DIMM position is known this state debu

Re: [PATCH] oom_reaper: close race without using oom_lock

2017-08-04 Thread Tetsuo Handa
Michal Hocko wrote: > On Wed 26-07-17 20:33:21, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > On Sun 23-07-17 09:41:50, Tetsuo Handa wrote: > > > > So, how can we verify the above race a real problem? > > > > > > Try to simulate a _real_ workload and see whether we kill more tasks > > > than n

Re: [PATCH net-next 1/3] net: dsa: assign switch device in legacy code

2017-08-04 Thread Andrew Lunn
> @@ -251,8 +251,9 @@ dsa_switch_setup(struct dsa_switch_tree *dst, struct > net_device *master, > ds->cd = cd; > ds->ops = ops; > ds->priv = priv; > + ds->dev = parent; Hi Vivien Is this even needed? dsa_switch_alloc() does ds->dev = dev. Andrew

[PATCH v4] drm: kirin: Add mode_valid logic to avoid mode clocks we can't generate

2017-08-04 Thread John Stultz
Currently the hikey dsi logic cannot generate accurate byte clocks values for all pixel clock values. Thus if a mode clock is selected that cannot match the calculated byte clock, the device will boot with a blank screen. This patch uses the new mode_valid callback (many thanks to Jose Abreu for u

[PATCH] selftests: futex: convert test to use ksft TAP13 framework

2017-08-04 Thread Shuah Khan
Convert test to use ksft TAP13 framework. Signed-off-by: Shuah Khan --- .../selftests/futex/functional/futex_requeue_pi.c| 8 +--- .../functional/futex_requeue_pi_mismatched_ops.c | 3 ++- .../functional/futex_requeue_pi_signal_restart.c | 5 +++-- .../functional/futex_wait_pr

Re: [PATCH 3/3] IPI: Avoid to use 2 cache lines for one call_single_data

2017-08-04 Thread Huang, Ying
Peter Zijlstra writes: > On Fri, Aug 04, 2017 at 10:05:55AM +0800, Huang, Ying wrote: >> "Huang, Ying" writes: >> > Peter Zijlstra writes: > >> >> +struct __call_single_data { >> >> struct llist_node llist; >> >> smp_call_func_t func; >> >> void *info; >> >> unsigned int flags; >> >> }

[PATCH 4.9 001/105] af_key: Add lock to key dump

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yuejie Shi commit 89e357d83c06b6fac581c3ca7f0ee3ae7e67109e upstream. A dump may come in the middle of another dump, modifying its dump structure members. This race condition will result in NULL

[PATCH 4.9 008/105] parisc: Extend disabled preemption in copy_user_page

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 56008c04ebc099940021b714da2d7779117cf6a7 upstream. It's always bothered me that we only disable preemption in copy_user_page around the call to flush_dcache_page_asm. T

[PATCH 4.9 017/105] drm/nouveau/disp/nv50-: bump max chans to 21

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilia Mirkin commit a90e049cacd965dade4dae7263b4d3fd550e78b6 upstream. GP102's cursors go from chan 17..20. Increase the array size to hold their data properly. Fixes: e50fcff15f ("drm/nouveau/

[PATCH 4.9 019/105] KVM: PPC: Book3S HV: Restore critical SPRs to host values on guest exit

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 4c3bb4ccd074e1a0552078c0bf94c662367a1658 upstream. This restores several special-purpose registers (SPRs) to sane values on guest exit that were missed before. TAR and VR

[PATCH 4.9 018/105] drm/nouveau/bar/gf100: fix access to upper half of BAR2

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs commit 38bcb208f60924a031b9f809f7cd252ea4a94e5f upstream. Bit 30 being set causes the upper half of BAR2 to stay in physical mode, mapped over the end of VRAM, even when the rest of

[PATCH 4.9 021/105] Revert "powerpc/numa: Fix percpu allocations to be NUMA aware"

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman This reverts commit b4624ff952ec7d268a9651cd9184a1995befc271 which is commit ba4a648f12f4cd0a8003dd229b6ca8a53348ee4b upstream. Michal Hocko writes: JFYI. We have encountere

[PATCH 4.9 020/105] KVM: PPC: Book3S HV: Save/restore host values of debug registers

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 7ceaa6dcd8c6f59588428cec37f3c8093dd1011f upstream. At present, HV KVM on POWER8 and POWER9 machines loses any instruction or data breakpoint set in the host whenever a gue

[PATCH 4.9 026/105] nfc: Fix hangup of RC-S380* in port100_send_ack()

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: OGAWA Hirofumi commit 2497128133f8169b24b928852ba6eae34fc495e5 upstream. If port100_send_ack() was called twice or more, it has race to hangup. port100_send_ack() port100_send_ack()

[PATCH 4.9 024/105] smp/hotplug: Move unparking of percpu threads to the control CPU

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 9cd4f1a4e7a858849e889a081a99adff83e08e4c upstream. Vikram reported the following backtrace: BUG: scheduling while atomic: swapper/7/0/0x0002 CPU: 7 PID: 0 Comm

[PATCH 4.9 009/105] parisc: Suspend lockup detectors before system halt

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 56188832a50f09998cb570ba3771a1d25c193c0e upstream. Some machines can't power off the machine, so disable the lockup detectors to avoid this watchdog BUG to show up every few

[PATCH 4.9 027/105] nfc: fdp: fix NULL pointer dereference

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sudip Mukherjee commit b6355fb3f5f40bbce165847d277e64896cab8f95 upstream. We are checking phy after dereferencing it. We can print the debug information after checking it. If phy is NULL then w

[PATCH 4.9 023/105] drm: rcar-du: Simplify and fix probe error handling

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit 4f7b0d263833928e947e172eff2d2997179c5cb9 upstream. It isn't safe to call drm_dev_unregister() without first initializing mode setting with drm_mode_config_init(). This l

[PATCH 4.9 022/105] Staging: comedi: comedi_fops: Avoid orphaned proc entry

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Cheah Kok Cheong commit bf279ece37d2a3eaaa9813fcd7a1d8a81eb29c20 upstream. Move comedi_proc_init to the end to avoid orphaned proc entry if module loading failed. Signed-off-by: Cheah Kok Cheo

[PATCH 4.9 031/105] ath10k: fix null deref on wmi-tlv when trying spectral scan

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kazior commit 18ae68fff392e445af3c2d8be9bef8a16e1c72a7 upstream. WMI ops wrappers did not properly check for null function pointers for spectral scan. This caused null dereference crash

[PATCH 4.9 032/105] wil6210: fix deadlock when using fw_no_recovery option

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lior David commit dfb5b098e0f40b68aa07f2ec55f4dd762efefbfa upstream. When FW crashes with no_fw_recovery option, driver waits for manual recovery with wil->mutex held, this can easily create de

[PATCH 4.9 035/105] mailbox: handle empty message in tx_tick

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sudeep Holla commit cb710ab1d8a23f68ff8f45aedf3e552bb90e70de upstream. We already check if the message is empty before calling the client tx_done callback. Calling completion on a wait event is

[PATCH 4.9 034/105] mailbox: skip complete wait event if timer expired

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sudeep Holla commit cc6eeaa3029a6dbcb4ad41b1f92876483bd88965 upstream. If a wait_for_completion_timeout() call returns due to a timeout, complete() can get called after returning from the wait

[PATCH 4.9 029/105] isdn: Fix a sleep-in-atomic bug

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jia-Ju Bai commit e8f4ae85439f34bec3b0ab69223a41809dab28c9 upstream. The driver may sleep under a spin lock, the function call path is: isdn_ppp_mp_receive (acquire the lock) isdn_ppp_mp_reas

[PATCH 4.9 033/105] mailbox: always wait in mbox_send_message for blocking Tx mode

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sudeep Holla commit c61b781ee084e69855477d23dd33e7e6caad652c upstream. There exists a race when msg_submit return immediately as there was an active request being processed which may have compl

[PATCH 4.9 028/105] net: phy: Do not perform software reset for Generic PHY

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit 0878fff1f42c18e448ab5b8b4f6a3eb32365b5b6 upstream. The Generic PHY driver is a catch-all PHY driver and it should preserve whatever prior initialization has been done by

[PATCH 4.9 030/105] isdn/i4l: fix buffer overflow

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Annie Cherkaev commit 9f5af546e6acc30f075828cb58c7f09665033967 upstream. This fixes a potential buffer overflow in isdn_net.c caused by an unbounded strcpy. [ ISDN seems to be effectively unma

[PATCH 4.9 036/105] sched/cgroup: Move sched_online_group() back into css_online() to fix crash

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 96b777452d8881480fd5be50112f791c17db4b6b upstream. Commit: 2f5177f0fd7e ("sched/cgroup: Fix/cleanup cgroup teardown/init") .. moved sched_online_group() from cs

[PATCH 4.9 037/105] RDMA/uverbs: Fix the check for port number

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ismail, Mustafa commit 5a7a88f1b488e4ee49eb3d5b82612d4d9ffdf2c3 upstream. The port number is only valid if IB_QP_PORT is set in the mask. So only check port number if it is valid to prevent mod

[PATCH 4.9 038/105] ipmi/watchdog: fix watchdog timeout set on reboot

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Valentin Vidic commit 860f01e96981a68553f3ca49f574ff14fe955e72 upstream. systemd by default starts watchdog on reboot and sets the timer to ShutdownWatchdogSec=10min. Reboot handler in ipmi_wa

[PATCH 4.9 039/105] dentry name snapshots

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 49d31c2f389acfe83417083e1208422b4091cd9e upstream. take_dentry_name_snapshot() takes a safe snapshot of dentry name; if the name is a short one, it gets copied into caller-suppli

[PATCH 4.9 015/105] md/raid5: add thread_group worker async_tx_issue_pending_all

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ofer Heifetz commit 7e96d559634b73a8158ee99a7abece2eacec2668 upstream. Since thread_group worker and raid5d kthread are not in sync, if worker writes stripe before raid5d then requests will be

[PATCH] selftests: kselftest framework: add error counter

2017-08-04 Thread Shuah Khan
Some tests track errors in addition to test failures. Add ksft_error counter, ksft_get_error_cnt(), and ksft_test_result_error() API to get the counter value and print error message. Update ksft_print_cnts(), and ksft_test_num() to include error counter. Signed-off-by: Shuah Khan --- tools/test

[PATCH 4.9 012/105] NFSv4.1: Fix a race where CB_NOTIFY_LOCK fails to wake a waiter

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington commit b7dbcc0e433f0f61acb89ed9861ec996be4f2b38 upstream. nfs4_retry_setlk() sets the task's state to TASK_INTERRUPTIBLE within the same region protected by the wait_queue's

[PATCH 4.9 014/105] KVM: PPC: Book3S HV: Enable TM before accessing TM registers

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit e47057151422a67ce08747176fa21cb3b526a2c9 upstream. Commit 46a704f8409f ("KVM: PPC: Book3S HV: Preserve userspace HTM state properly", 2017-06-15) added code to read transa

[PATCH 4.9 016/105] drm/vmwgfx: Fix gcc-7.1.1 warning

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit fcfffdd8f98ac305285dca568b5065ef86be6458 upstream. The current code does not look correct, and the reason for it is probably lost. Since this now generates a compiler warni

[PATCH 4.9 041/105] pstore: Allow prz to control need for locking

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Joel Fernandes commit 663deb47880f2283809669563c5a52ac7c6aef1a upstream. In preparation of not locking at all for certain buffers depending on if there's contention, make locking optional depen

[PATCH 4.9 042/105] pstore: Correctly initialize spinlock and flags

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 76d5692a58031696e282384cbd893832bc92bd76 upstream. The ram backend wasn't always initializing its spinlock correctly. Since it was coming from kzalloc memory, though, it was ha

[PATCH 4.9 011/105] NFS: invalidate file size when taking a lock.

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 442ce0499c0535f8972b68fa1fda357357a5c953 upstream. Prior to commit ca0daa277aca ("NFS: Cache aggressively when file is open for writing"), NFS would revalidate, or invalidate,

[PATCH 4.9 007/105] parisc: Prevent TLB speculation on flushed pages on CPUs that only support equivalent aliases

2017-08-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit ae7a609c34b6fb12328c553b5f9aab26ae74a28e upstream. Helge noticed that we flush the TLB page in flush_cache_page but not in flush_cache_range or flush_cache_mm. For a l

  1   2   3   4   5   6   7   8   9   >