Subscribe: lkml.org
http://lkml.org/rss.php
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
arch arm  arch  arm  file changed  greg kroah  hartman writes  kroah hartman  patch  struct  summary  writes summary  writes 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: lkml.org

lkml.org



lkml.org - the realtime linux kernel mailinglist archive



Last Build Date: Tue, 24 Jan 2017 10:34:08 +0100

 



Re: [PATCH v4 3/4] dt-bindings: phy: Add support for QMP phy
Kishon Vijay Abraham I writes: (Summary) Hi,
Hi,
On Friday 20 January 2017 03:12 AM, Stephen Boyd wrote: struct devices.
Yes, instead of having all the controller having a phandle to the same PHY and then using other mechanisms to differentiate between the PHYs, each controller can have a phandle to the exact port that it is connected to. This also gives a better representation of the hardware and can avoid lot of boilerplate code in the driver.
boilerplate code in the driver.
Thanks
Kishon
Kishon
Kishon



Re: [PATCH v2 RESEND] video: backlight: pwm_bl: Initialize fb_bl_o ...
Lee Jones writes: On Mon, 26 Dec 2016, Lukasz Majewski wrote:
On Mon, 26 Dec 2016, Lukasz Majewski wrote:
1 file changed, 9 insertions(+), 1 deletion(-)
Applied with Thierry's crazy Ack.
Applied with Thierry's crazy Ack.
platform_set_drvdata(pdev, bl);



Re: BUG: KASAN: Use-after-free
Matias_Bjørling writes: (Summary) bio refcounting in __blkdev_direct_IO is the following > first bio is allocated using bio_alloc_bioset to embedd the dio structure > blkdev_bio_end_io then checks if we hit the last reference on the dio, in > which case it then drops the additional reference on the first bio after > reference for the current bio - either explicitly or through > bio_put(bio) - bio is freed > Can you check this is the same bio that got submitted and it didn't >



Re: [PATCHv4] mfd: cpcap: Add minimal support
Lee Jones writes: (Summary) On Thu, 05 Jan 2017, Tony Lindgren wrote:
On Thu, 05 Jan 2017, Tony Lindgren wrote:
+ mask = (1 << bit);
Nit: BIT()
Nit: BIT()
+ * Copyright (C) 2016 Tony Lindgren Nit: 2017
Nit: 2017
+ */
Yes, please do that.
Yes, please do that.
But you can do all of the above with subsequent patches. But you can do all of the above with subsequent patches. Applied, thanks.
Applied, thanks.
+}



[PATCH][V3][net-next] net: sctp: fix array overrun read on sctp_ti ...
Colin King writes: (Summary) Also add a build time check that SCTP_EVENT_TIMEOUT_MAX is correct so we don't ever get this kind of mismatch between the table and SCTP_EVENT_TIMEOUT_MAX in the future.
and SCTP_EVENT_TIMEOUT_MAX in the future.
Kudos to Marcelo Ricardo Leitner for spotting the missing string and suggesting the build time sanity check.
and suggesting the build time sanity check.
Fixes CoverityScan CID#1397639 ("Out-of-bounds read") Fixes CoverityScan CID#1397639 ("Out-of-bounds read") Fixes: 7b9438de0cd4 ("sctp: add stream reconf timer") Signed-off-by: Colin Ian King 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/sctp/debug.c b/net/sctp/debug.c index 95d7b15..2e47eb2 100644 --- a/net/sctp/debug.c +++ b/net/sctp/debug.c @@ -159,6 +159,7 @@ static const char *const sctp_timer_tbl[] = { "TIMEOUT_T4_RTO", "TIMEOUT_T5_SHUTDOWN_GUARD", "TIMEOUT_HEARTBEAT", + "TIMEOUT_RECONF", "TIMEOUT_SACK", "TIMEOUT_AUTOCLOSE", };



[PATCH] drm/amd/amdgpu/amdgpu_ttm: Handle return NULL error from i ...
Arvind Yadav writes: (Summary) Kernel can run into a NULL-pointer dereference.
This error check will avoid NULL pointer dereference. 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index 8e35c1f..610c88f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c @@ -552,6 +552,8 @@ static int amdgpu_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_ mem->bus.addr = ioremap_nocache(mem->bus.base + mem->bus.offset, mem->bus.size); + if (!mem->bus.addr) + return -ENOMEM;



Re: [PATCH v7 3/5] phy: Add set_vbus callback
Kishon Vijay Abraham I writes: Hi,
Hi,
On Tuesday 24 January 2017 01:28 AM, Stephen Boyd wrote: the phy driver so it can be notified when vbus is present or not. I can I think extcon should be used here to get vbus notification. I think extcon should be used here to get vbus notification. Thanks
Kishon
Kishon
Kishon



Re: [PATCH v4 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qc ...
Kishon Vijay Abraham I writes: (Summary) Hi,
Hi,
On Monday 23 January 2017 03:43 PM, Vivek Gautam wrote: this particular hardware block.
device tree has also been used to have configuration information. =
phy,tx- =
phy,tx- =
phy,tx- =
phy,tx- =
[1] ->



Re: [PATCH] mm: ensure alloc_flags in slow path are initialized
Vlastimil Babka writes: On 01/24/2017 12:56 AM, Andrew Morton wrote:
alloc_flags == ALLOC_NO_WATERMARKS. That's changed behaviour. Right.
Right.
behaviour?
Yes, that's cleaner. Thanks.
Yes, that's cleaner. Thanks.
_
_



Re: v4.9 to v4.10 regression: oops when USB cable is plugged in.
Pavel Machek writes: (Summary) Hi!
On Mon 2017-01-23 14:44:54, Tony Lindgren wrote:
external abort on non-linefetch for musb_irq_work()"? Can I get the copy of the patch?
Can I get the copy of the patch?
http://www.spinics.net/lists/linux-usb/msg152542.html http://www.spinics.net/lists/linux-usb/msg152542.html ...but it is html mangled with no obvious way to unmangle it. I don't yet know how to hit it reliably :-(.
it reliably :-(.
Pavel
[unhandled content-type:application/pgp-signature]



[PATCH] drm: radeon: radeon_ttm: Handle return NULL error from ior ...
Arvind Yadav writes: (Summary) Kernel can run into a NULL-pointer dereference.
This error check will avoid NULL pointer dereference. 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c index 0cf03cc..fc129fd 100644 --- a/drivers/gpu/drm/radeon/radeon_ttm.c +++ b/drivers/gpu/drm/radeon/radeon_ttm.c @@ -502,6 +502,8 @@ static int radeon_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_ mem->bus.addr = ioremap_nocache(mem->bus.base + mem->bus.offset, mem->bus.size); + if (!mem->bus.addr) + return -ENOMEM;



Re: [PATCH v3 3/13] mmc: sunxi: Always set signal delay to 0 for A64
Andre Przywara writes: (Summary) Hi Ulf,
Hi Ulf,
On 24/01/17 08:16, Ulf Hansson wrote:
those are already broken?
This is a sunxi specific calibration routine, which was introduced lately (e1b8dfd1b1c6) to be used by the Allwinner's enhanced MMC controller. This is only used by devices using the sun50i-a64-mmc compatible, of which this series introduces the first user. So there is no way this can regress in any way, since the code wasn't actually used before.
actually used before.
Cheers,
Andre.
Andre.
git-series 0.8.11
git-series 0.8.11



[PATCH v4] net: ethernet: faraday: To support device tree usage.
Greentime Hu writes: (Summary) faraday,ftmac.txt} (68%) diff --git a/Documentation/devicetree/bindings/net/moxa,moxart-mac.txt b/Documentation/devicetree/bindings/net/faraday,ftmac.txt similarity index 68% rename from Documentation/devicetree/bindings/net/moxa,moxart-mac.txt rename to Documentation/devicetree/bindings/net/faraday,ftmac.txt index 583418b..be4f55e 100644 --- a/Documentation/devicetree/bindings/net/moxa,moxart-mac.txt +++ b/Documentation/devicetree/bindings/net/faraday,ftmac.txt @@ -1,8 +1,11 @@ -MOXA ART Ethernet Controller +Faraday Ethernet Controller Required properties: -- compatible : Must be "moxa,moxart-mac" +- compatible : Must contain "faraday,ftmac", as well as one of + the SoC specific identifiers: + "andestech,atmac100" + "moxa,moxart-mac" - reg : Should contain register location and length - interrupts : Should contain the mac interrupt number diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 16d3b5e..489c336 100644 --- a



Re: [PATCH] ARM: tegra: paz00: fix __initdata placement
Marc Dietrich writes: (Summary) Contents of section .init.data:
0000 2c000000 0c000000 00010000 00000000 ,............... 0010 34000000 00000000 40000000 05000000 4.......@....... 0020 00010000 00000000 48000000 00000000 ........H....... 0030 00000000 00000000 00000000 00000000 ................ 0040 00000000 00000000 ........ 0020 73687574 646f776e 00000000 6e616d65 shutdown....name 0030 00000000 77696669 5f72666b 696c6c00 ....wifi_rfkill. 0040 74797065 00000000 776c616e 00 type....wlan.



[PATCH 2/2] btrfs: add lockdep annotation for btrfs_log_inode
Christian Borntraeger writes: (Summary) Add a proper subclass to get rid of the following lockdep error.
error.
[ INFO: possible recursive locking detected ]
4.9.0+ #279 Not tainted
--------------------------------------------- vim/4801 is trying to acquire lock: (&ei->log_mutex){+.+...}, at: [<000003ff82057592>] btrfs_log_inode+0x182/0xfa8 [btrfs] (&ei->log_mutex){+.+...}, at: [<000003ff82057592>] btrfs_log_inode+0x182/0xfa8 [btrfs] Possible unsafe locking scenario: CPU0 ---- lock(&ei->log_mutex);



[PATCH 0/1] btrfs lockdep annotation
Christian Borntraeger writes: (Summary) Chris,
Chris,
since my bug report about this did not result in any fix and since this disables lockdep before the the code that I want to debug runs here is my attempt to fix it.
Please double check if the subclass looks right. It seems to work for me but I do not know enough about btrfs to decide if this is right or not.
right or not.
Christian Borntraeger ():
btrfs: add lockdep annotation for btrfs_log_inode
btrfs: add lockdep annotation for btrfs_log_inode
fs/btrfs/tree-log.c |



[PATCH v5 2/3] MAINTAINERS: add zx2967 watchdog controller driver ...
Baoyou Xie writes: (Summary) 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index edfdea3..275c434 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1990,11 +1990,13 @@ F: drivers/clk/zte/ F: drivers/reset/reset-zx2967.c F: drivers/soc/zte/ F: drivers/thermal/zx* +F: drivers/watchdog/zx2967_wdt.c F: Documentation/devicetree/bindings/arm/zte.txt F: Documentation/devicetree/bindings/clock/zx296702-clk.txt F: Documentation/devicetree/bindings/reset/zte,zx2967-reset.txt F: Documentation/devicetree/bindings/soc/zte/ F: Documentation/devicetree/bindings/thermal/zx* +F: Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt F: include/dt-bindings/soc/zx*.h ARM/ZYNQ ARCHITECTURE -- 2.7.4



[V3 1/3] document: dt: add binding for Hi3660 SoC
Chen Feng writes: (Summary) Add binding for hisilicon Hi3660 SoC and HiKey960 Board. 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt index 7df79a7..6de2398 100644 --- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt +++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt @@ -8,6 +8,10 @@ Hi6220 SoC Required root node properties: - compatible = "hisilicon,hi6220"; +Hi3660 SoC +Required root node properties: + - compatible = "hisilicon,hi3660";



[PATCH v5 3/3] watchdog: zx2967: add watchdog controller driver fo ...
Baoyou Xie writes: (Summary) 8) +#define ZX2967_WDT_START_EN 0x1 + +#define ZX2967_WDT_WRITEKEY 0x12340000 + +#define ZX2967_WDT_DIV_DEFAULT 16 +#define ZX2967_WDT_DEFAULT_TIMEOUT 32 +#define ZX2967_WDT_MIN_TIMEOUT 1 +#define ZX2967_WDT_MAX_TIMEOUT 500 +#define ZX2967_WDT_MAX_COUNT 0xffff + +#define ZX2967_WDT_CLK_FREQ 0x8000 + +#define ZX2967_WDT_FLAG_REBOOT_MON BIT(0) + +struct zx2967_wdt { + struct watchdog_device wdt_device; + +static struct platform_driver zx2967_wdt_driver = { + .probe = zx2967_wdt_probe, + .remove = zx2967_wdt_remove, + .driver = { + .name = "zx2967-wdt", + .of_match_table = of_match_ptr(zx2967_wdt_match), + }, +};



[V3 2/3] arm64: dts: Add dts files for Hisilicon Hi3660 SoC
Chen Feng writes: (Summary) 160 ++++++++++++++++++++++ 3 files changed, 196 insertions(+) create mode 100644 arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts create mode 100644 arch/arm64/boot/dts/hisilicon/hi3660.dtsi diff --git a/arch/arm64/boot/dts/hisilicon/Makefile b/arch/arm64/boot/dts/hisilicon/Makefile index c8b8f80..c3a6c19 100644 --- a/arch/arm64/boot/dts/hisilicon/Makefile +++ b/arch/arm64/boot/dts/hisilicon/Makefile @@ -1,3 +1,4 @@ +dtb-$(CONFIG_ARCH_HISI) += hi3660-hikey960.dtb dtb-$(CONFIG_ARCH_HISI) += hi6220-hikey.dtb dtb-$(CONFIG_ARCH_HISI) += hip05-d02.dtb dtb-$(CONFIG_ARCH_HISI) += hip06-d03.dtb diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts new file mode 100644 index 0000000..9ed9e68 --- /dev/null +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -0,0 +1,35 @@ +/* + * dts file for Hisilicon HiKey960 Development Board + * + * Copyright (C) 2016, Hisilicon Ltd.



Re: [RESEND PATCHv1 5/8] mmc: sdhci-msm: configure CORE_CSR_CDC_DE ...
Ritesh Harjani writes: Hi Stephen,
Hi Stephen,
On 1/20/2017 11:12 PM, Stephen Boyd wrote:
Thanks for the review. Yes, I have addressed this comment on top of this series along with one other fix.
-named ("mmc: sdhci-msm: Addresses minor cleanups") -named ("mmc: sdhci-msm: Addresses minor cleanups") Regards
Ritesh
Ritesh



[V3 3/3] dt-bindings: Add a support cpu type for cortex-a73
Chen Feng writes: (Summary) Add arm cpu type cortex-a73
Add arm cpu type cortex-a73
Signed-off-by: Chen Feng 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Documentation/devicetree/bindings/arm/cpus.txt index a1bcfee..d748774 100644 --- a/Documentation/devicetree/bindings/arm/cpus.txt +++ b/Documentation/devicetree/bindings/arm/cpus.txt @@ -158,6 +158,7 @@ nodes to be present and contain the properties described below. "arm,cortex-a53" "arm,cortex-a57" "arm,cortex-a72" + "arm,cortex-a73" "arm,cortex-m0" "arm,cortex-m0+" "arm,cortex-m1" -- 1.9.1



[PATCH v5 1/3] dt: bindings: add documentation for zx2967 family w ...
Baoyou Xie writes: (Summary) 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt b/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt new file mode 100644 index 0000000..772403a --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt @@ -0,0 +1,31 @@ +ZTE zx2967 Watchdog timer + +Required properties: + +- compatible : should be one of the following. + +Optional properties: + +- zte,wdt-reset-sysctrl : Directs how to reset system by the watchdog. + +Example: + +wdt: watchdog@1465000 { + compatible = "zte,zx296718-wdt";



Re: [PATCH] mmc: core: Pass node pointer to mmc_of_parse
Ulf Hansson writes: On 21 January 2017 at 11:59, Jan Glauber wrote:



[PATCHv1 2/2] mmc: sdhci-msm: Remove unnecessary comments of CDC i ...
Ritesh Harjani writes: (Summary) - /* - * Perform CDC Register Initialization Sequence - * - * CORE_CSR_CDC_CTLR_CFG0 0x11800EC - * CORE_CSR_CDC_CTLR_CFG1 0x3011111 - * CORE_CSR_CDC_CAL_TIMER_CFG0 0x1201000 - * CORE_CSR_CDC_CAL_TIMER_CFG1 0x4 - * CORE_CSR_CDC_REFCOUNT_CFG 0xCB732020 - * CORE_CSR_CDC_COARSE_CAL_CFG 0xB19 - * CORE_CSR_CDC_DELAY_CFG 0x3AC - * CORE_CDC_OFFSET_CFG 0x0 - * CORE_CDC_SLAVE_DDA_CFG 0x16334 - */ + /* Perform CDC Register Initialization Sequence */ writel_relaxed(0x11800EC, host->ioaddr + CORE_CSR_CDC_CTLR_CFG0);



[PATCHv1 1/2] mmc: sdhci-msm: Remove platform_execute_tuning from ...
Ritesh Harjani writes: (Summary) } -static int sdhci_msm_execute_tuning(struct sdhci_host *host, u32 opcode) +static int sdhci_msm_execute_tuning(struct mmc_host *mmc, u32 opcode) { + struct sdhci_host *host = mmc_priv(mmc); static const struct sdhci_ops sdhci_msm_ops = { - .platform_execute_tuning = sdhci_msm_execute_tuning, .reset = sdhci_reset, .set_clock = sdhci_msm_set_clock, .get_min_clock = sdhci_msm_get_min_clock, @@ -1294,6 +1294,7 @@ static int sdhci_msm_probe(struct platform_device *pdev) MSM_MMC_AUTOSUSPEND_DELAY_MS);



[tip:ras/core] x86/ras, EDAC, acpi: Assign MCE notifier handlers a ...
tip-bot for Borislav Petkov writes: (Summary) static int __init mce_amd_init(void) diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index 54ae6dc..c585a01 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -3136,7 +3136,8 @@ static int sbridge_mce_check_error(struct notifier_block *nb, unsigned long val, } static struct notifier_block sbridge_mce_dec = { - .notifier_call = sbridge_mce_check_error, + .notifier_call = sbridge_mce_check_error, + .priority = MCE_PRIO_EDAC, }; /**************************************************************************** diff --git a/drivers/edac/skx_edac.c b/drivers/edac/skx_edac.c index 79ef675..1159dba 100644 --- a/drivers/edac/skx_edac.c +++ b/drivers/edac/skx_edac.c @@ -1007,7 +1007,8 @@ static int skx_mce_check_error(struct notifier_block *nb, unsigned long val, } static struct notifier_block skx_mce_dec = { - .notifier_call = skx_mce_check_error, + .notifier_call = skx_mce_check_error, + .priority = MCE_PRIO_EDAC, };



[tip:ras/core] x86/ras: Get rid of mce_process_work()
tip-bot for Borislav Petkov writes: (Summary) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index ca15a7e..0fef540 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c @@ -1316,16 +1316,6 @@ int memory_failure(unsigned long pfn, int vector, int flags) #endif /* - * Action optional processing happens here (picking up - * from the list of faulting pages that do_machine_check() - * placed into the genpool).



[PATCHv1 0/2] mmc: sdhci-msm: Addresses minor cleanups
Ritesh Harjani writes: (Summary) So as requested by Ulf, please find the below two patch fixes/cleanup on top of next branch.
top of next branch.
Patch 1:- Addresses comment from Adrian [2]
Patch 2:- Addresses comment from Stephen [3]
Patch 2:- Addresses comment from Stephen [3]
Patch 2:- Addresses comment from Stephen [3]
links
[1]:- https://lkml.org/lkml/2017/1/10/70
[2]:- https://lkml.org/lkml/2017/1/19/153
[3]:- https://lkml.org/lkml/2017/1/20/542
[3]:- https://lkml.org/lkml/2017/1/20/542
Ritesh Harjani (2):
mmc: sdhci-msm: Remove platform_execute_tuning from sdhci_msm_ops mmc: sdhci-msm: Remove unnecessary comments of CDC init sequence mmc: sdhci-msm: Remove unnecessary comments of CDC init sequence drivers/mmc/host/sdhci-msm.c |



[tip:ras/core] EDAC/mce/amd: Dump TSC value
tip-bot for Borislav Petkov writes: (Summary) Commit-ID: 0bceab677dcef409f6281d922461057721d547b3 Gitweb: http://git.kernel.org/tip/0bceab677dcef409f6281d922461057721d547b3 Author: Borislav Petkov
AuthorDate: Mon, 23 Jan 2017 19:35:12 +0100
Committer: Ingo Molnar
CommitDate: Tue, 24 Jan 2017 09:14:56 +0100
CommitDate: Tue, 24 Jan 2017 09:14:56 +0100
EDAC/mce/amd: Dump TSC value
EDAC/mce/amd: Dump TSC value
Dump the TSC value of the time when the MCE got logged.



Re: [PATCH v5 2/2] perf probe: add sdt probes arguments into the u ...
Ravi Bangoria writes: (Summary) + memcpy(new_desc + prefix_len + uprobe_len, > + ":s64", "", "", "", ":s32", "", ":s16", ":s8", > + "", ":u8", ":u16", "", ":u32", "", "", "", ":u64" > + if (desc == NULL) { > + if (tmp) { > + * detect ',' characters, if there is just one, there is no > + if (strchr(desc, ',')) { > + if (tmp) { > + if (strchr(desc, '$')) { > + while (tmp) { > + tmp = strchr(desc + offset + 1, '%');



[tip:ras/core] EDAC/mce/amd: Unexport amd_decode_mce()
tip-bot for Borislav Petkov writes: (Summary) Commit-ID: 1fbcd909035251b5eac267f1c5d6d67b32d16b62 Gitweb: http://git.kernel.org/tip/1fbcd909035251b5eac267f1c5d6d67b32d16b62 Author: Borislav Petkov
AuthorDate: Mon, 23 Jan 2017 19:35:11 +0100
Committer: Ingo Molnar
CommitDate: Tue, 24 Jan 2017 09:14:55 +0100
CommitDate: Tue, 24 Jan 2017 09:14:55 +0100
EDAC/mce/amd: Unexport amd_decode_mce()
EDAC/mce/amd: Unexport amd_decode_mce()
It is not used outside of the driver anymore.
It is not used outside of the driver anymore.
Signed-off-by: Borislav Petkov
Cc: Linus Torvalds



[tip:ras/core] x86/ras/amd/inj: Change dependency
tip-bot for Borislav Petkov writes: (Summary) Commit-ID: bd43f60a260c83cbc9befd7d710a3f2bfd3b2dd2 Gitweb: http://git.kernel.org/tip/bd43f60a260c83cbc9befd7d710a3f2bfd3b2dd2 Author: Borislav Petkov
AuthorDate: Mon, 23 Jan 2017 19:35:10 +0100
Committer: Ingo Molnar
CommitDate: Tue, 24 Jan 2017 09:14:55 +0100
CommitDate: Tue, 24 Jan 2017 09:14:55 +0100
x86/ras/amd/inj: Change dependency
x86/ras/amd/inj: Change dependency
Change dependency to mce.c as we're using mce_inject_log() now to stick an MCE into the MCA subsystem.
an MCE into the MCA subsystem.
Signed-off-by: Borislav Petkov
Cc: Linus Torvalds



[tip:ras/core] x86/ras: Flip the TSC-adding logic
tip-bot for Borislav Petkov writes: (Summary) Commit-ID: 669c00f09935fc7a22297eadee04536af141595b Gitweb: http://git.kernel.org/tip/669c00f09935fc7a22297eadee04536af141595b Author: Borislav Petkov
AuthorDate: Mon, 23 Jan 2017 19:35:09 +0100
Committer: Ingo Molnar
CommitDate: Tue, 24 Jan 2017 09:14:54 +0100
CommitDate: Tue, 24 Jan 2017 09:14:54 +0100
x86/ras: Flip the TSC-adding logic
x86/ras: Flip the TSC-adding logic
Add the TSC value to the MCE record only when the MCE being logged is precise, i.e., it is logged as an exception or an MCE-related interrupt.



[tip:ras/core] x86/ras/therm_throt: Do not log a fake MCE for ther ...
tip-bot for Borislav Petkov writes: (Summary) - * @status: Event status information - * - * This function should be called by the thermal interrupt after the - * event has been processed and the decision was made to log the event - * further. When the poller finds no more diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c b/arch/x86/kernel/cpu/mcheck/therm_throt.c index 465aca8..85469f8 100644 --- a/arch/x86/kernel/cpu/mcheck/therm_throt.c +++ b/arch/x86/kernel/cpu/mcheck/therm_throt.c @@ -6,7 +6,7 @@ * * Maintains a counter in /sys that keeps track of the number of thermal * events, such that the user knows how bad the thermal problem might be - * (since the logging to syslog and mcelog is rate limited).



[tip:ras/core] x86/ras/inject: Make it depend on X86_LOCAL_APIC=y
tip-bot for Borislav Petkov writes: (Summary) Commit-ID: d4b2ac63b0eae461fc10c9791084be24724ef57a Gitweb: http://git.kernel.org/tip/d4b2ac63b0eae461fc10c9791084be24724ef57a Author: Borislav Petkov
AuthorDate: Mon, 23 Jan 2017 19:35:06 +0100
Committer: Ingo Molnar
CommitDate: Tue, 24 Jan 2017 09:14:52 +0100
CommitDate: Tue, 24 Jan 2017 09:14:52 +0100
x86/ras/inject: Make it depend on X86_LOCAL_APIC=y
x86/ras/inject: Make it depend on X86_LOCAL_APIC=y
...



Re: [patch] samples/bpf: silence shift wrapping warning
Dan Carpenter writes: On Mon, Jan 23, 2017 at 10:44:34PM -0800, Alexei Starovoitov wrote: please mention [PATCH net-next] in the subject.
Sure.
Sure.
regards,
dan carpenter
dan carpenter
dan carpenter



[tip:x86/urgent] x86/fpu/xstate: Fix xcomp_bv in XSAVES header
tip-bot for Yu-cheng Yu writes: (Summary) This can be easily triggered by doing valgrind on a COMPAT-mode "Hello World," as reported by Joakim Tjernlund and others:
others:
https://bugzilla.kernel.org/show_bug.cgi?id=190061
https://bugzilla.kernel.org/show_bug.cgi?id=190061
Fix it by setting xcomp_bv correctly.
Fix it by setting xcomp_bv correctly.
This patch also moves the xcomp_bv initialization to the proper place, which was in copyin_to_xsaves() as of:
place, which was in copyin_to_xsaves() as of:
4c833368f0bf x86/fpu: Set the xcomp_bv when we fake up a XSAVES area 4c833368f0bf x86/fpu: Set the xcomp_bv when we fake up a XSAVES area which fixed the bug too, but it's more efficient and cleaner to initialize things once per boot, not for every signal handling operation.
operation.
Reported-by: Kevin Hao
Reported-by: Joakim Tjernlund



[PATCH 4.4 11/42] ARM: dts: imx31: fix AVIC base address
Greg Kroah-Hartman writes: (Summary) The problem was shadowed by the AVIC driver, which takes the correct base address from a SoC specific header file. --- arch/arm/boot/dts/imx31.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/imx31.dtsi +++ b/arch/arm/boot/dts/imx31.dtsi @@ -30,11 +30,11 @@ }; }; - avic: avic-interrupt-controller@60000000 { + avic: interrupt-controller@68000000 { compatible = "fsl,imx31-avic", "fsl,avic"; - reg = <0x60000000 0x100000>; };



[PATCH 4.4 16/42] PCI: Enumerate switches below PCI-to-PCIe bridges
Greg Kroah-Hartman writes: (Summary) The bug report below involves a PCI-to-PCIe bridge and a PCIe switch below the bridge: 00:1e.0 Intel 82801 PCI Bridge to [bus 01-0a] 01:00.0 Pericom PI7C9X111SL PCIe-to-PCI Reversible Bridge to [bus 02-0a] 02:00.0 Pericom Device 8608 [PCIe Upstream Port] to [bus 03-0a] 03:01.0 Pericom Device 8608 [PCIe Downstream Port] to [bus 0a] 01:00.0 is configured as a PCI-to-PCIe bridge (despite the name printed by lspci). Two Links are connected by a Switch - * that has a Port on each Link and internal logic to connect the - * two Ports. Two Links are + * connected by a Switch that has a Port on each Link and internal + * logic to connect the two Ports.



[PATCH 4.4 13/42] x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
Greg Kroah-Hartman writes: (Summary) 10 ++++++++++ 1 file changed, 10 insertions(+) --- a/arch/x86/pci/acpi.c +++ b/arch/x86/pci/acpi.c @@ -114,6 +114,16 @@ static const struct dmi_system_id pci_cr DMI_MATCH(DMI_BIOS_VERSION, "6JET85WW (1.43 )"), }, }, + /* https://bugzilla.kernel.org/show_bug.cgi?id=42606 */ + { + .callback = set_nouse_crs, + .ident = "Supermicro X8DTH", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Supermicro"), + DMI_MATCH(DMI_PRODUCT_NAME, "X8DTH-i/6/iF/6F"), + DMI_MATCH(DMI_BIOS_VERSION, "2.0a"), + }, + }, /* https://bugzilla.kernel.org/show_bug.cgi?id=15362 */ {




[PATCH 4.4 12/42] tmpfs: clear S_ISGID when setting posix ACLs
Greg Kroah-Hartman writes: (Summary) This change was missed the tmpfs modification in In CVE-2016-7097 commit 073931017b49 ("posix_acl: Clear SGID bit when setting file permissions") It can test by xfstest generic/375, which failed to clear setgid bit in the following test case on tmpfs: touch $testfile chown 100:100 $testfile chmod 2755 $testfile _runas -u 100 -g 101 -- setfacl -m u::rwx,g::rwx,o::rwx $testfile Signed-off-by: Gu Zheng 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) --- a/fs/posix_acl.c +++ b/fs/posix_acl.c @@ -903,11 +903,10 @@ int simple_set_acl(struct inode *inode, int error; if (type == ACL_TYPE_ACCESS) { - error = posix_acl_equiv_mode(acl, &inode->i_mode); - if (error == 0) - acl = NULL;



[PATCH 4.4 15/42] fuse: clear FR_PENDING flag when moving requests ...
Greg Kroah-Hartman writes: (Summary) fuse_abort_conn() moves requests from pending list to a temporary list before canceling them. It checks FR_PENDING flag to determine whether the request is still in the pending list. Make fuse_abort_conn() clear FR_PENDING flag so that request_wait_answer() does not remove the request from temporary list. 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -2083,7 +2083,6 @@ static void end_requests(struct fuse_con struct fuse_req *req;



[PATCH 4.4 14/42] svcrpc: dont leak contexts on PROC_DESTROY
Greg Kroah-Hartman writes: (Summary) 4.4-stable review patch. Context expiry times are in units of seconds since boot, not unix time. This prevents timely freeing of contexts destroyed by client RPC_GSS_PROC_DESTROY requests. 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/sunrpc/auth_gss/svcauth_gss.c +++ b/net/sunrpc/auth_gss/svcauth_gss.c @@ -1481,7 +1481,7 @@ svcauth_gss_accept(struct svc_rqst *rqst case RPC_GSS_PROC_DESTROY: if (gss_write_verf(rqstp, rsci->mechctx, gc->gc_seq)) goto auth_err;



[PATCH 4.4 17/42] HID: corsair: fix DMA buffers on stack
Greg Kroah-Hartman writes: (Summary) 54 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 42 insertions(+), 12 deletions(-) --- a/drivers/hid/hid-corsair.c +++ b/drivers/hid/hid-corsair.c @@ -148,7 +148,11 @@ static enum led_brightness k90_backlight struct usb_interface *usbif = to_usb_interface(dev->parent); + + data = kmalloc(8, GFP_KERNEL); + if (!data) + return -ENOMEM; + + return ret; + + data = kmalloc(2, GFP_KERNEL); + if (!data) + return -ENOMEM; + + return ret; + + data = kmalloc(8, GFP_KERNEL); + + return ret;



[PATCH 4.4 02/42] IB/mlx5: Wait for all async command completions ...
Greg Kroah-Hartman writes: (Summary) + + for (i = 0; i++) { + ent = &cache->ent[i]; j++) { + if (!ent->pending) + break; + } + } + for (i = 0; i++) { + ent = &cache->ent[i]; + } + + if (total) + mlx5_ib_warn(dev, "aborted while there are %d pending mr requests\n", total); +} + int mlx5_mr_cache_cleanup(struct mlx5_ib_dev *dev) { int i;



[PATCH 4.4 20/42] ieee802154: atusb: do not use the stack for buff ...
Greg Kroah-Hartman writes: (Summary) 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) --- a/drivers/net/ieee802154/atusb.c +++ b/drivers/net/ieee802154/atusb.c @@ -110,13 +110,26 @@ static int atusb_read_reg(struct atusb * { struct usb_device *usb_dev = atusb->usb_dev; + + if (ret >= 0) { + value = buffer[0]; + } } static int atusb_write_subreg(struct atusb *atusb, uint8_t reg, uint8_t mask, @@ -517,9 +530,13 @@ static struct ieee802154_ops atusb_ops = static int atusb_get_and_show_revision(struct atusb *atusb) { struct usb_device *usb_dev = atusb->usb_dev;



[PATCH 4.4 21/42] mtd: nand: xway: disable module support
Greg Kroah-Hartman writes: (Summary) Fixes: 99f2b107924c ("mtd: lantiq: Add NAND support on Lantiq XWAY SoC.") Signed-off-by: Hauke Mehrtens 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -527,7 +527,7 @@ config MTD_NAND_FSMC Flexible Static Memory Controller (FSMC) config MTD_NAND_XWAY - tristate "Support for NAND on Lantiq XWAY SoC" + bool "Support for NAND on Lantiq XWAY SoC" depends on LANTIQ &&



[PATCH 4.4 22/42] x86/ioapic: Restore IO-APIC irq_chip retrigger c ...
Greg Kroah-Hartman writes: (Summary) 2 ++ 1 file changed, 2 insertions(+) --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c @@ -1875,6 +1875,7 @@ static struct irq_chip ioapic_chip __rea .irq_ack = irq_chip_ack_parent, .irq_eoi = ioapic_ack_level, .irq_set_affinity = ioapic_set_affinity, + .irq_retrigger = irq_chip_retrigger_hierarchy, .flags = IRQCHIP_SKIP_SET_WAKE, }; @@ -1886,6 +1887,7 @@ static struct irq_chip ioapic_ir_chip __ .irq_ack = irq_chip_ack_parent, .irq_eoi = ioapic_ir_ack_level, .irq_set_affinity = ioapic_set_affinity, + .irq_retrigger = irq_chip_retrigger_hierarchy, .flags = IRQCHIP_SKIP_SET_WAKE, };



[PATCH 4.4 27/42] ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs
Greg Kroah-Hartman writes: (Summary) } + /* + * Scorpion CPUs (at least those in APQ8060) seem to set DBGPRSR.SPD + * whenever a WFI is issued, even if the core is not powered down, in + * violation of the architecture. When DBGPRSR.SPD is set, accesses to + * breakpoint and watchpoint registers are treated as undefined, so + * this results in boot time and runtime failures when these are + * accessed and we unexpectedly take a trap.



[PATCH 4.4 18/42] HID: corsair: fix control-transfer error handling
Greg Kroah-Hartman writes: (Summary) 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/hid/hid-corsair.c +++ b/drivers/hid/hid-corsair.c @@ -159,7 +159,7 @@ static enum led_brightness k90_backlight USB_DIR_IN | 0) { + if (ret < 5) { dev_warn(dev, "Failed to get K90 initial state (error %d).\n", ret); 0) { + if (ret < 0) { + if (ret < 8) { dev_warn(dev, "Failed to get K90 initial state (error %d).\n", ret);



[PATCH 4.4 28/42] ceph: fix bad endianness handling in parse_reply ...
Greg Kroah-Hartman writes: (Summary) 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c @@ -274,12 +274,13 @@ static int parse_reply_info_extra(void * struct ceph_mds_reply_info_parsed *info, u64 features) { - if (info->head->op == CEPH_MDS_OP_GETFILELOCK) + u32 op = le32_to_cpu(info->head->op); - else if (info->head->op == CEPH_MDS_OP_CREATE) + else if (op == CEPH_MDS_OP_CREATE) return parse_reply_info_create(p, end, info, features);



[PATCH 4.4 24/42] ubifs: Fix journal replay wrt. xattr nodes
Greg Kroah-Hartman writes: (Summary) + if (c->replaying) { + err = fallible_read_node(c, &zbr->key, zbr, node); + */ + if (err == 0) + err = -ENOENT; + else if (err == 1) + err = 0; + } else { + err = ubifs_tnc_read_node(c, zbr, node); + if (c->replaying) + err = fallible_resolve_collision(c, key, &znode, &n, + nm, 0); + else + err = resolve_collision(c, key, &znode, &n, nm);



[PATCH 4.4 26/42] svcrdma: avoid duplicate dma unmapping during er ...
Greg Kroah-Hartman writes: (Summary) It then invokes svc_rdma_put_frmr() which in turn tries to unmap the same sg list through ib_dma_unmap_sg() again. This second unmap is invalid and could lead to problems when the iova being unmapped is subsequently reused. 2 -- 1 file changed, 2 deletions(-) --- a/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c +++ b/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c @@ -346,8 +346,6 @@ int rdma_read_chunk_frmr(struct svcxprt_ atomic_inc(&rdma_stat_read);



[PATCH 4.4 31/42] arm64/ptrace: Preserve previous registers for sh ...
Greg Kroah-Hartman writes: (Summary) 4.4-stable review patch. Fixes: 766a85d7bc5d ("arm64: ptrace: add NT_ARM_SYSTEM_CALL regset") Signed-off-by: Dave Martin 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -576,7 +576,8 @@ static int system_call_set(struct task_s unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) { - int syscallno, ret; + int syscallno = task_pt_regs(target)->syscallno; + int ret;



Re: [PATCH v5 0/2] perf probe: add sdt probes arguments into the u ...
Ravi Bangoria writes: (Summary) On Tuesday 24 January 2017 01:52 PM, Ingo Molnar wrote: way I reported it results in me trying the right approach? There was a patch by Hemant about directly recording SDT marker events. I don't see any updates on that:
don't see any updates on that:
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1138183.html https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1138183.html -Ravi
-Ravi
Ingo
Ingo



[PATCH 4.4 03/42] IB/mlx4: Set traffic class in AH
Greg Kroah-Hartman writes: (Summary) Fixes: 9106c4106974 ('IB/mlx4: Fix SL to 802.1Q priority-bits mapping for IBoE') Signed-off-by: Maor Gottlieb 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/drivers/infiniband/hw/mlx4/ah.c +++ b/drivers/infiniband/hw/mlx4/ah.c @@ -113,7 +113,9 @@ static struct ib_ah *create_iboe_ah(stru !(1 << } - + ah->av.eth.sl_tclass_flowlabel |= + cpu_to_be32((ah_attr->grh.traffic_class << - ah->av.eth.sl_tclass_flowlabel = cpu_to_be32(ah_attr->sl <<



[PATCH 4.4 05/42] IB/mlx4: Fix port query for 56Gb Ethernet links
Greg Kroah-Hartman writes: (Summary) 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) --- a/drivers/infiniband/hw/mlx4/main.c +++ b/drivers/infiniband/hw/mlx4/main.c @@ -630,9 +630,11 @@ static int eth_link_query_port(struct ib if (err) goto out; - props->active_width = (((u8 *)mailbox->buf)[5] == 0x40) ? - IB_WIDTH_4X : IB_WIDTH_1X; + (((u8 *)mailbox->buf)[5] == 0x20 /*56Gb*/) ? + props->active_speed = (((u8 *)mailbox->buf)[5] == 0x20 /*56Gb*/) ?



[PATCH 4.4 30/42] arm64/ptrace: Preserve previous registers for sh ...
Greg Kroah-Hartman writes: (Summary) 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -495,7 +495,7 @@ static int gpr_set(struct task_struct *t const void *kbuf, const void __user *ubuf) { int ret; if (ret) @@ -525,7 +525,8 @@ static int fpr_set(struct task_struct *t const void *kbuf, const void __user *ubuf) { int ret;



[PATCH 4.4 06/42] IB/mlx4: When no DMFS for IPoIB, dont allow NET_ ...
Greg Kroah-Hartman writes: (Summary) - - err = mlx4_FLOW_STEERING_IB_UC_QP_RANGE( - dev, ibdev->steer_qpn_base, - ibdev->steer_qpn_base + - ibdev->steer_qpn_count - 1); MLX4_DEV_CAP_FLAG2_DMFS_IPOIB) { + bitmap_zero(ibdev->ib_uc_qpns_bitmap, + ibdev->steer_qpn_count); + err = mlx4_FLOW_STEERING_IB_UC_QP_RANGE( + dev, ibdev->steer_qpn_base, + ibdev->steer_qpn_base + + ibdev->steer_qpn_count - 1); + } else { + bitmap_fill(ibdev->ib_uc_qpns_bitmap, + ibdev->steer_qpn_count);



[PATCH 4.4 04/42] IB/mlx4: Fix out-of-range array index in destroy ...
Greg Kroah-Hartman writes: (Summary) If the QP has not undergone that transition, its port number value is still zero. 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/infiniband/hw/mlx4/qp.c +++ b/drivers/infiniband/hw/mlx4/qp.c @@ -1207,7 +1207,8 @@ int mlx4_ib_destroy_qp(struct ib_qp *qp) if (is_qp0(dev, mqp)) mlx4_CLOSE_PORT(dev->dev, mqp->port); - if (dev->qp1_proxy[mqp->port - 1] == mqp) { + if (mqp->mlx4_ib_qp_type == MLX4_IB_QPT_PROXY_GSI && + dev->qp1_proxy[mqp->port - 1] == mqp) { mutex_lock(&dev->qp1_proxy_lock[mqp->port - 1]);



Re: [PATCH 2/2] pidns: Expose task pid_ns_for_children to userspace
Kirill Tkhai writes: On 24.01.2017 00:49, Alban Crequy wrote:
PID namespace."
You can setns() on a pid_ns only if your active pid_ns is a (grand)parent for the target pid_ns. So, the situation you described is not possible. See pidns_install() for the details.
See pidns_install() for the details.
See pidns_install() for the details.



[PATCH 4.4 07/42] IB/IPoIB: Remove cant use GFP_NOIO warning
Greg Kroah-Hartman writes: (Summary) Remove the warning print of "can't use of GFP_NOIO" to avoid prints in each QP creation when devices aren't supporting IB_QP_CREATE_USE_GFP_NOIO. 2 -- 1 file changed, 2 deletions(-) --- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c @@ -1035,8 +1035,6 @@ static struct ib_qp *ipoib_cm_create_tx_ tx_qp = ib_create_qp(priv->pd, &attr); if (PTR_ERR(tx_qp) == -EINVAL) { - ipoib_warn(priv, "can't use GFP_NOIO for QPs on device %s, using GFP_KERNEL\n", - priv->ca->name);



[PATCH 4.4 08/42] perf scripting: Avoid leaking the scripting_cont ...
Greg Kroah-Hartman writes: (Summary) 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/tools/perf/util/trace-event-scripting.c +++ b/tools/perf/util/trace-event-scripting.c @@ -95,7 +95,8 @@ static void register_python_scripting(st if (err) die("error registering py script extension"); + if (scripting_context == NULL) + scripting_context = malloc(sizeof(*scripting_context)); } #ifdef NO_LIBPYTHON @@ -159,7 +160,8 @@ static void register_perl_scripting(stru if (err) die("error registering pl script extension"); + if (scripting_context == NULL) + scripting_context = malloc(sizeof(*scripting_context));



[PATCH 4.4 42/42] arm64: avoid returning from bad_mode
Greg Kroah-Hartman writes: (Summary) 28 ++++++++++++++++++++++++---- 2 files changed, 25 insertions(+), 5 deletions(-) --- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S @@ -562,7 +562,7 @@ el0_inv: mov x0, sp mov x1, #BAD_SYNC mov x2, x25 - bl bad_mode + bl bad_el0_sync b ret_to_user ENDPROC(el0_sync) --- a/arch/arm64/kernel/traps.c +++ b/arch/arm64/kernel/traps.c @@ -434,16 +434,33 @@ const char *esr_get_class_string(u32 esr } /* - * bad_mode handles the impossible case in the exception vector.



[PATCH 4.4 09/42] ARM: dts: imx31: fix clock control module interr ...
Greg Kroah-Hartman writes: (Summary) The type of AVIC interrupt controller found on i.MX31 is one-cell, namely 31 for CCM DVFS and 53 for CCM, however for clock control module its interrupts are specified as 3-cells, fix it. 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/Documentation/devicetree/bindings/clock/imx31-clock.txt +++ b/Documentation/devicetree/bindings/clock/imx31-clock.txt @@ -77,7 +77,7 @@ Examples: clks: ccm@53f80000{ compatible = "fsl,imx31-ccm"; - interrupts = <0 31 0x04 0 53 0x04>; --- a/arch/arm/boot/dts/imx31.dtsi +++ b/arch/arm/boot/dts/imx31.dtsi @@ -114,7 +114,7 @@ clks: ccm@53f80000{ compatible = "fsl,imx31-ccm"; - interrupts = <0 31 0x04 0 53 0x04>;



[PATCH 4.4 34/42] arm64/ptrace: Reject attempts to set incomplete ...
Greg Kroah-Hartman writes: (Summary) 4 ++++ 1 file changed, 4 insertions(+) --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -450,6 +450,8 @@ static int hw_break_set(struct task_stru /* (address, ctrl) registers */ limit = regset->n * regset->size; ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &addr, offset, offset + PTRACE_HBP_ADDR_SZ); ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl, offset, offset + PTRACE_HBP_CTRL_SZ);



[PATCH 4.4 33/42] arm64/ptrace: Avoid uninitialised struct padding ...
Greg Kroah-Hartman writes: (Summary) 4.4-stable review patch. This patch adds an explicit __reserved[] field to user_fpsimd_state to replace what was previously unnamed padding. This ensures that data in this region are propagated across assignment rather than being left possibly uninitialised at the destination. Fixes: 60ffc30d5652 ("arm64: Exception handling") Signed-off-by: Dave Martin --- arch/arm64/include/uapi/asm/ptrace.h | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/include/uapi/asm/ptrace.h +++ b/arch/arm64/include/uapi/asm/ptrace.h @@ -76,6 +76,7 @@ struct user_fpsimd_state { __uint128_t vregs[32]; };



[PATCH 4.4 00/42] 4.4.45-stable review
Greg Kroah-Hartman writes: (Summary) 2 +- Makefile | 2 +- arch/arm64/kernel/ptrace.c | 2 + arch/x86/kernel/mcount_64.S | 2 + drivers/media/rc/ite-cir.c | 2 +- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c |



[PATCH 4.4 36/42] ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
Greg Kroah-Hartman writes: (Summary) Fixes: 34fe6f107eab ("mfd : Check if the other db8500 core is in WFI") Signed-off-by: Arnd Bergmann 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm/mach-ux500/pm.c +++ b/arch/arm/mach-ux500/pm.c @@ -134,8 +134,8 @@ bool prcmu_pending_irq(void) */ bool prcmu_is_cpu_in_wfi(int cpu) { - return readl(PRCM_ARM_WFI_STANDBY) & cpu ? PRCM_ARM_WFI_STANDBY_WFI1 : - PRCM_ARM_WFI_STANDBY_WFI0; PRCM_ARM_WFI_STANDBY_WFI1 : PRCM_ARM_WFI_STANDBY_WFI0);



[PATCH 4.4 37/42] ARM: 8613/1: Fix the uaccess crash on PB11MPCore
Greg Kroah-Hartman writes: (Summary) 7 +++++++ 1 file changed, 7 insertions(+) --- a/arch/arm/kernel/smp_tlb.c +++ b/arch/arm/kernel/smp_tlb.c @@ -9,6 +9,7 @@ */ #include @@ -40,8 +41,11 @@ static inline void ipi_flush_tlb_mm(void static inline void ipi_flush_tlb_page(void *arg) { struct tlb_args *ta = (struct tlb_args *)arg; } static inline void ipi_flush_tlb_kernel_page(void *arg) @@ -54,8 +58,11 @@ static inline void ipi_flush_tlb_kernel_ static inline void ipi_flush_tlb_range(void *arg) { struct tlb_args *ta = (struct tlb_args *)arg;



[PATCH 4.4 35/42] ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pi ...
Greg Kroah-Hartman writes: (Summary) This patch fixes the following error: sgtl5000 0-000a: Error reading chip id -6 imx-sgtl5000 sound: ASoC: CODEC DAI sgtl5000 not registered imx-sgtl5000 sound: snd_soc_register_card failed (-517) The problem was that the pinctrl group was linked to the sound driver instead of the codec node. 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi @@ -319,8 +319,6 @@ compatible = "fsl,imx6q-nitrogen6_max-sgtl5000", "fsl,imx-audio-sgtl5000"; audio-routing = @@ -401,6 +399,8 @@ codec: sgtl5000@0a { compatible = "fsl,sgtl5000";



[PATCH 4.4 39/42] [media] ite-cir: initialize use_demodulator befo ...
Greg Kroah-Hartman writes: (Summary) 4.4-stable review patch. Function ite_set_carrier_params() uses variable use_demodulator after having initialized it to false in some if branches, but this variable is never set to true otherwise. Fixes: 620a32bba4a2 ("[media] rc: New rc-based ite-cir driver for several ITE CIRs") Signed-off-by: Nicolas Iooss 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/media/rc/ite-cir.c +++ b/drivers/media/rc/ite-cir.c @@ -263,6 +263,8 @@ static void ite_set_carrier_params(struc if (allowance > } }




Re: [PATCH] USB: Add quirk for WORLDE easykey.25 MIDI keyboard
Lukáš Lalinský writes: (Summary) wrote:
=C3=BD:
configuration details somewhere.
I re-ran the capture on a Windows 7 host. The previous capture was missing data, probably due to interactions of the Linux host and Windows VM.
Windows VM.
https://gist.github.com/lalinsky/2ec7d74b049b448b1f7032d8861ca4a2 https://gist.github.com/lalinsky/2ec7d74b049b448b1f7032d8861ca4a2 It does set the configuration, but does not request the string descriptor.



[PATCH 4.4 41/42] selftest/powerpc: Wrong PMC initialized in pmc56 ...
Greg Kroah-Hartman writes: (Summary) 4.4-stable review patch. If anyone has any objections, please let me know. 4.4-stable review patch. Fixes: 3752e453f6ba ('selftests/powerpc: Add tests of PMU EBBs') Signed-off-by: Madhavan Srinivasan 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c +++ b/tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c @@ -66,7 +66,7 @@ int pmc56_overflow(void) FAIL_IF(ebb_event_enable(&event));



[PATCH 4.4 32/42] arm64/ptrace: Preserve previous registers for sh ...
Greg Kroah-Hartman writes: (Summary) 4.4-stable review patch. Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill all the registers, the thread's old registers are preserved. Fixes: 5d220ff9420f ("arm64: Better native ptrace support for compat tasks") Signed-off-by: Dave Martin 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -849,7 +849,7 @@ static int compat_tls_set(struct task_st const void __user *ubuf) { int ret; - compat_ulong_t tls;



[PATCH 4.4 38/42] [media] blackfin: check devm_pinctrl_get() for e ...
Greg Kroah-Hartman writes: (Summary) Fixes: 0a6824bc10de ('[media] v4l2: blackfin: select proper pinctrl state in ppi_set_params if CONFIG_PINCTRL is enabled') Signed-off-by: Dan Carpenter 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/media/platform/blackfin/ppi.c +++ b/drivers/media/platform/blackfin/ppi.c @@ -214,6 +214,8 @@ static int ppi_set_params(struct ppi_if if (params->dlen > pstate = pinctrl_lookup_state(pctrl, pin_state[(params->dlen + 7) / 8 - 1]);



[PATCH 4.9 013/130] IB/mlx4: Check if GRH is available before using it
Greg Kroah-Hartman writes: (Summary) 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/infiniband/hw/mlx4/qp.c +++ b/drivers/infiniband/hw/mlx4/qp.c @@ -1765,14 +1765,14 @@ static int __mlx4_ib_modify_qp(struct ib u8 port_num = mlx4_is_bonded(to_mdev(ibqp->device)->dev) ? 1 : attr_mask & IB_QP_PORT ? attr->port_num : qp->port; + struct ib_gid_attr gid_attr = {.gid_type = IB_GID_TYPE_IB}; - if (is_eth) { + if (is_eth && IB_AH_GRH) { int index = attr->ah_attr.grh.sgid_index;



[PATCH 4.9 010/130] IB/mlx4: Handle well-known-gid in mad_demux pr ...
Greg Kroah-Hartman writes: (Summary) IB_WC_GRH) { - slave = mlx4_ib_find_real_gid(ibdev, port, grh->dgid.global.interface_id); 0) { - mlx4_ib_warn(ibdev, "failed matching grh\n"); + grh->dgid.global.subnet_prefix == cpu_to_be64( + atomic64_read(&dev->sriov.demux[port - 1].subnet_prefix))) { + slave = 0; + } else { + slave = mlx4_ib_find_real_gid(ibdev, port, + grh->dgid.global.interface_id); + } } } /* Class-specific handling */




[PATCH 4.9 001/130] IB/core: Release allocated memory in cache set ...
Greg Kroah-Hartman writes: (Summary) 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) --- a/drivers/infiniband/core/cache.c +++ b/drivers/infiniband/core/cache.c @@ -770,12 +770,8 @@ static int _gid_table_setup_one(struct i int err = 0; - - if (!table) { - pr_warn("failed to allocate ib gid cache for %s\n", - ib_dev->name); if (err) - /* Allocated memory will be cleaned in the release function */ - return err;



Re: [PATCH] USB: Add quirk for WORLDE easykey.25 MIDI keyboard
Oliver Neukum writes: (Summary) That is exactly what the kernel does when it is confronted with a device that would overdraw the power budget.
a device that would overdraw the power budget.
active.
No, it is not. Can you please recheck that you are capturing the whole exchange?
that you are capturing the whole exchange?
Aren't those in the CONFIGURATION descriptors? Reading the STRING True.
True.
configuration details somewhere.
Also true.
Also true.
Yes. It's a standard MIDI device, no configuration is required.



[PATCH 4.9 014/130] IB/IPoIB: Remove cant use GFP_NOIO warning
Greg Kroah-Hartman writes: (Summary) Remove the warning print of "can't use of GFP_NOIO" to avoid prints in each QP creation when devices aren't supporting IB_QP_CREATE_USE_GFP_NOIO. 2 -- 1 file changed, 2 deletions(-) --- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c @@ -1054,8 +1054,6 @@ static struct ib_qp *ipoib_cm_create_tx_ tx_qp = ib_create_qp(priv->pd, &attr); if (PTR_ERR(tx_qp) == -EINVAL) { - ipoib_warn(priv, "can't use GFP_NOIO for QPs on device %s, using GFP_KERNEL\n", - priv->ca->name);



[PATCH 4.9 012/130] IB/mlx4: When no DMFS for IPoIB, dont allow NE ...
Greg Kroah-Hartman writes: (Summary) - - err = mlx4_FLOW_STEERING_IB_UC_QP_RANGE( - dev, ibdev->steer_qpn_base, - ibdev->steer_qpn_base + - ibdev->steer_qpn_count - 1); MLX4_DEV_CAP_FLAG2_DMFS_IPOIB) { + bitmap_zero(ibdev->ib_uc_qpns_bitmap, + ibdev->steer_qpn_count); + err = mlx4_FLOW_STEERING_IB_UC_QP_RANGE( + dev, ibdev->steer_qpn_base, + ibdev->steer_qpn_base + + ibdev->steer_qpn_count - 1); + } else { + bitmap_fill(ibdev->ib_uc_qpns_bitmap, + ibdev->steer_qpn_count);



[PATCH 4.9 024/130] ARM: dts: r8a7794: remove Z clock
Greg Kroah-Hartman writes: (Summary) 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi @@ -1025,8 +1025,7 @@ clocks = <&extal_clk &usb_extal_clk>; /* Variable factor clocks */ --- a/include/dt-bindings/clock/r8a7794-clock.h +++ b/include/dt-bindings/clock/r8a7794-clock.h @@ -20,8 +20,7 @@ #define R8A7794_CLK_QSPI 5 #define R8A7794_CLK_SDH 6 #define R8A7794_CLK_SD0 7 -#define R8A7794_CLK_Z 8 -#define R8A7794_CLK_RCAN 9 +#define R8A7794_CLK_RCAN 8 /* MSTP0 */ #define R8A7794_CLK_MSIOF0 0




[PATCH 4.9 021/130] perf jit: Enable jitdump support without dwarf
Greg Kroah-Hartman writes: (Summary) 2 ++ 4 files changed, 11 insertions(+), 4 deletions(-) --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -366,7 +366,7 @@ ifndef NO_SDT endif ifdef PERF_HAVE_JITDUMP - ifndef NO_DWARF + ifndef NO_LIBELF $(call detected,CONFIG_JITDUMP) CFLAGS += -DHAVE_JITDUMP endif --- a/tools/perf/util/Build +++ b/tools/perf/util/Build @@ -120,7 +120,7 @@ libperf-y += demangle-rust.o ifdef CONFIG_JITDUMP libperf-$(CONFIG_LIBELF) += jitdump.o libperf-$(CONFIG_LIBELF) += genelf.o -libperf-$(CONFIG_LIBELF) += genelf_debug.o +libperf-$(CONFIG_DWARF) += genelf_debug.o endif CFLAGS_config.o += -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))" --- a/tools/perf/util/genelf.c +++ b/tools/perf/util/genelf.c @@ -19,7 +19,9 @@ #include



[PATCH 4.9 026/130] ARM: dts: imx31: fix clock control module inte ...
Greg Kroah-Hartman writes: (Summary) The type of AVIC interrupt controller found on i.MX31 is one-cell, namely 31 for CCM DVFS and 53 for CCM, however for clock control module its interrupts are specified as 3-cells, fix it. 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/Documentation/devicetree/bindings/clock/imx31-clock.txt +++ b/Documentation/devicetree/bindings/clock/imx31-clock.txt @@ -77,7 +77,7 @@ Examples: clks: ccm@53f80000{ compatible = "fsl,imx31-ccm"; - interrupts = <0 31 0x04 0 53 0x04>; --- a/arch/arm/boot/dts/imx31.dtsi +++ b/arch/arm/boot/dts/imx31.dtsi @@ -122,7 +122,7 @@ clks: ccm@53f80000{ compatible = "fsl,imx31-ccm"; - interrupts = <0 31 0x04 0 53 0x04>;



[PATCH 4.9 023/130] ARM: dts: r8a7794: Use SYSC "always-on" PM Dom ...
Greg Kroah-Hartman writes: (Summary) Fixes: 320d6c5a08a4abd3 ("ARM: dts: r8a7794: add sound support") Fixes: 298e4ee3d213a076 ("ARM: dts: r8a7794: add Audio-DMAC support") Signed-off-by: Geert Uytterhoeven 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi @@ -319,7 +319,7 @@ "ch12"; - power-domains = <&cpg_clocks>; + power-domains = <&sysc R8A7794_PD_ALWAYS_ON>; - power-domains = <&cpg_clocks>; + power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;



[PATCH 4.9 018/130] perf diff: Do not overwrite valid build id
Greg Kroah-Hartman writes: (Summary) Before the fix: $ perf diff 1.perf.data 2.perf.data # Event 'cycles' # # Baseline Delta Shared Object Symbol # ........ # 99.83% -99.80% tchain_edit [.] f2 0.12% +99.81% tchain_edit [.] f3 0.02% -0.01% [ixgbe] [k] ixgbe_read_reg After the fix: $ perf diff 1.perf.data 2.perf.data # Event 'cycles' # # Baseline Delta Shared Object Symbol # ........



[PATCH 4.9 020/130] perf scripting: Avoid leaking the scripting_co ...
Greg Kroah-Hartman writes: (Summary) 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/tools/perf/util/trace-event-scripting.c +++ b/tools/perf/util/trace-event-scripting.c @@ -95,7 +95,8 @@ static void register_python_scripting(st if (err) die("error registering py script extension"); + if (scripting_context == NULL) + scripting_context = malloc(sizeof(*scripting_context)); } #ifdef NO_LIBPYTHON @@ -159,7 +160,8 @@ static void register_perl_scripting(stru if (err) die("error registering pl script extension"); + if (scripting_context == NULL) + scripting_context = malloc(sizeof(*scripting_context));



[PATCH 4.9 025/130] ARM: dts: imx6q-cm-fx6: fix fec pinctrl
Greg Kroah-Hartman writes: (Summary) 4.9-stable review patch. Fixes: 682d055e6ac5 ("ARM: dts: Add initial support for cm-fx6.") Signed-off-by: Christopher Spinrath --- arch/arm/boot/dts/imx6q-cm-fx6.dts | 1 - 1 file changed, 1 deletion(-) --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts @@ -183,7 +183,6 @@ MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 - MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 >;



[PATCH 4.9 016/130] perf mem: Fix --all-user/--all-kernel options
Greg Kroah-Hartman writes: (Summary) 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/tools/perf/builtin-mem.c +++ b/tools/perf/builtin-mem.c @@ -70,8 +70,8 @@ static int __cmd_record(int argc, const OPT_UINTEGER(0, "ldlat", &perf_mem_events__loads_ldlat, "mem-loads latency"), OPT_INCR('v', "verbose", &verbose, "be more verbose (show counter open errors, etc)"), - OPT_BOOLEAN('U', "--all-user", &all_user, "collect only user level data"), - OPT_BOOLEAN('K', "--all-kernel", &all_kernel, "collect only kernel level data"), + OPT_BOOLEAN('U', "all-user", &all_user, "collect only user level data"), + OPT_BOOLEAN('K', "all-kernel", &all_kernel, "collect only kernel level data"), OPT_END() };



[PATCH 4.9 029/130] ARM: dts: omap3: Add DTS for Logic PD SOM-LV 3 ...
Greg Kroah-Hartman writes: (Summary) 4.9-stable review patch. V2: Update patch description - same source code V1: Original patch Reviewed-by: Javier Martinez Canillas 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -485,6 +485,7 @@ dtb-$(CONFIG_ARCH_OMAP3) += \ am3517-evm.dtb \ am3517_mt_ventoux.dtb \ logicpd-torpedo-37xx-devkit.dtb \ + logicpd-som-lv-37xx-devkit.dtb \ omap3430-sdp.dtb \ omap3-beagle.dtb \ omap3-beagle-xm.dtb \




[PATCH 4.9 002/130] IB/rxe: Increase max number of completions to 32k
Greg Kroah-Hartman writes: (Summary) 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/infiniband/sw/rxe/rxe_param.h +++ b/drivers/infiniband/sw/rxe/rxe_param.h @@ -82,7 +82,7 @@ enum rxe_device_param { RXE_MAX_SGE = 32, RXE_MAX_SGE_RD = 32, RXE_MAX_CQ = 16384, - RXE_MAX_LOG_CQE = 13, + RXE_MAX_LOG_CQE = 15, RXE_MAX_MR = 2 * 1024, RXE_MAX_PD = 0x7ffc, RXE_MAX_QP_RD_ATOM = 128,




[PATCH 4.9 003/130] IB/rxe: avoid putting a large struct rxe_qp on ...
Greg Kroah-Hartman writes: (Summary) 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --- a/drivers/infiniband/sw/rxe/rxe_req.c +++ b/drivers/infiniband/sw/rxe/rxe_req.c @@ -548,23 +548,23 @@ static void update_wqe_psn(struct rxe_qp static void save_state(struct rxe_send_wqe *wqe, struct rxe_qp *qp, struct rxe_send_wqe *rollback_wqe, - struct rxe_qp *rollback_qp) + u32 *rollback_psn) { rollback_wqe->state = wqe->state;



[PATCH 4.9 028/130] ARM: dts: imx31: fix AVIC base address
Greg Kroah-Hartman writes: (Summary) The problem was shadowed by the AVIC driver, which takes the correct base address from a SoC specific header file. --- arch/arm/boot/dts/imx31.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/imx31.dtsi +++ b/arch/arm/boot/dts/imx31.dtsi @@ -30,11 +30,11 @@ }; }; - avic: avic-interrupt-controller@60000000 { + avic: interrupt-controller@68000000 { compatible = "fsl,imx31-avic", "fsl,avic"; - reg = <0x60000000 0x100000>; };



[PATCH 4.9 033/130] rcu: Narrow early boot window of illegal synch ...
Greg Kroah-Hartman writes: (Summary) So when this variable is zero, RCU - * can assume that there is but one task, allowing RCU to (for example) + * The rcu_scheduler_active variable is initialized to the value + * RCU_SCHEDULER_INACTIVE and transitions RCU_SCHEDULER_INIT just before the + * first task is spawned. (Except during the time period during boot from + * when the first task is spawned until the rcu_exp_runtime_mode() + * core_initcall() is invoked, at which point everything is expedited.) */ bool rcu_gp_is_normal(void) { - return READ_ONCE(rcu_normal);



[PATCH 4.9 031/130] x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
Greg Kroah-Hartman writes: (Summary) 10 ++++++++++ 1 file changed, 10 insertions(+) --- a/arch/x86/pci/acpi.c +++ b/arch/x86/pci/acpi.c @@ -114,6 +114,16 @@ static const struct dmi_system_id pci_cr DMI_MATCH(DMI_BIOS_VERSION, "6JET85WW (1.43 )"), }, }, + /* https://bugzilla.kernel.org/show_bug.cgi?id=42606 */ + { + .callback = set_nouse_crs, + .ident = "Supermicro X8DTH", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Supermicro"), + DMI_MATCH(DMI_PRODUCT_NAME, "X8DTH-i/6/iF/6F"), + DMI_MATCH(DMI_BIOS_VERSION, "2.0a"), + }, + }, /* https://bugzilla.kernel.org/show_bug.cgi?id=15362 */ {




[PATCH 4.9 037/130] ARC: module: Fix !CONFIG_ARC_DW2_UNWIND builds
Greg Kroah-Hartman writes: (Summary) 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -28,7 +28,7 @@ config ARC select HAVE_KPROBES select HAVE_KRETPROBES select HAVE_MEMBLOCK - select HAVE_MOD_ARCH_SPECIFIC if ARC_DW2_UNWIND + select HAVE_MOD_ARCH_SPECIFIC select HAVE_OPROFILE select HAVE_PERF_EVENTS select HANDLE_DOMAIN_IRQ --- a/arch/arc/include/asm/module.h +++ b/arch/arc/include/asm/module.h @@ -14,13 +14,13 @@ #include } @@ -113,8 +113,10 @@ int apply_relocate_add(Elf32_Shdr *sechd } +#ifdef CONFIG_ARC_DW2_UNWIND if (strcmp(module->arch.secstr+sechdrs[tgtsec].sh_name, ".eh_frame") == 0) module->arch.unw_sec_idx = tgtsec;



[PATCH 4.9 035/130] svcrpc: dont leak contexts on PROC_DESTROY
Greg Kroah-Hartman writes: (Summary) 4.9-stable review patch. Context expiry times are in units of seconds since boot, not unix time. This prevents timely freeing of contexts destroyed by client RPC_GSS_PROC_DESTROY requests. 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/sunrpc/auth_gss/svcauth_gss.c +++ b/net/sunrpc/auth_gss/svcauth_gss.c @@ -1489,7 +1489,7 @@ svcauth_gss_accept(struct svc_rqst *rqst case RPC_GSS_PROC_DESTROY: if (gss_write_verf(rqstp, rsci->mechctx, gc->gc_seq)) goto auth_err;



[PATCH 4.9 038/130] fuse: clear FR_PENDING flag when moving reques ...
Greg Kroah-Hartman writes: (Summary) fuse_abort_conn() moves requests from pending list to a temporary list before canceling them. It checks FR_PENDING flag to determine whether the request is still in the pending list. Make fuse_abort_conn() clear FR_PENDING flag so that request_wait_answer() does not remove the request from temporary list. 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -2025,7 +2025,6 @@ static void end_requests(struct fuse_con struct fuse_req *req;