~ian-may/ubuntu/+source/linux/+git/xenial:series-update-4.4.222

Last commit made on 2020-05-12
Get this branch:
git clone -b series-update-4.4.222 https://git.launchpad.net/~ian-may/ubuntu/+source/linux/+git/xenial
Only Ian May can upload to this branch. If you are Ian May please log in for upload directions.

Branch merges

Branch information

Name:
series-update-4.4.222
Repository:
lp:~ian-may/ubuntu/+source/linux/+git/xenial

Recent commits

8a231ed... by Greg Kroah-Hartman <email address hidden>

Linux 4.4.222

BugLink: https://bugs.launchpad.net/bugs/1878246

Signed-off-by: Ian May <email address hidden>

7f517f0... by Paul Moore

selinux: properly handle multiple messages in selinux_netlink_send()

BugLink: https://bugs.launchpad.net/bugs/1878246

commit fb73974172ffaaf57a7c42f35424d9aece1a5af6 upstream.

Fix the SELinux netlink_send hook to properly handle multiple netlink
messages in a single sk_buff; each message is parsed and subject to
SELinux access control. Prior to this patch, SELinux only inspected
the first message in the sk_buff.

Cc: <email address hidden>
Reported-by: Dmitry Vyukov <email address hidden>
Reviewed-by: Stephen Smalley <email address hidden>
Signed-off-by: Paul Moore <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Ian May <email address hidden>

061b35c... by Olivier Matz

ipv6: use READ_ONCE() for inet->hdrincl as in ipv4

BugLink: https://bugs.launchpad.net/bugs/1878246

commit 59e3e4b52663a9d97efbce7307f62e4bc5c9ce91 upstream.

As it was done in commit 8f659a03a0ba ("net: ipv4: fix for a race
condition in raw_sendmsg") and commit 20b50d79974e ("net: ipv4: emulate
READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()") for ipv4, copy the
value of inet->hdrincl in a local variable, to avoid introducing a race
condition in the next commit.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: David S. Miller <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Ian May <email address hidden>

0f969c3... by Lars-Peter Clausen <email address hidden>

ASoC: imx-spdif: Fix crash on suspend

BugLink: https://bugs.launchpad.net/bugs/1878246

commit 9954859185c6e8359e71121037b627f1e294057d upstream.

When registering a ASoC card the driver data of the parent device is set to
point to the card. This driver data is used in the
snd_soc_suspend()/resume() callbacks.

The imx-spdif driver overwrites the driver data with custom data which
causes snd_soc_suspend() to crash. Since the custom driver is not used
anywhere simply deleting the line which sets the custom driver data fixes
the issue.

Fixes: 43ac946922b3 ("ASoC: imx-spdif: add snd_soc_pm_ops for spdif machine driver")
Tested-by: Fabio Estevam <email address hidden>
Signed-off-by: Lars-Peter Clausen <email address hidden>
Signed-off-by: Mark Brown <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Ian May <email address hidden>

8173a0f... by Stuart Henderson

ASoC: wm8960: Fix WM8960_SYSCLK_PLL mode

BugLink: https://bugs.launchpad.net/bugs/1878246

commit 6bb7451429084cefcb3a18fff809f7992595d2af upstream.

With the introduction of WM8960_SYSCLK_AUTO mode, WM8960_SYSCLK_PLL mode was
made unusable. Ensure we're not PLL mode before trying to use MCLK.

Fixes: 3176bf2d7ccd ("ASoC: wm8960: update pll and clock setting function")
Signed-off-by: Stuart Henderson <email address hidden>
Reviewed-by: Charles Keepax <email address hidden>
Signed-off-by: Mark Brown <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Ian May <email address hidden>

3117813... by Rasmus Villemoes

exynos4-is: fix a format string bug

BugLink: https://bugs.launchpad.net/bugs/1878246

commit 76a563675485849f6f9ad5b30df220438b3628c1 upstream.

Ironically, 7d4020c3c400 ("[media] exynos4-is: fix some warnings when
compiling on arm64") fixed some format string bugs but introduced a
new one. buf_index is a simple int, so it should be printed with %d,
not %pad (which is correctly used for dma_addr_t).

Fixes: 7d4020c3c400 ("[media] exynos4-is: fix some warnings when compiling on arm64")

Signed-off-by: Rasmus Villemoes <email address hidden>
Signed-off-by: Mauro Carvalho Chehab <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Ian May <email address hidden>

54515cd... by Peter Zijlstra <email address hidden>

perf/x86: Fix uninitialized value usage

BugLink: https://bugs.launchpad.net/bugs/1878246

commit e01d8718de4170373cd7fbf5cf6f9cb61cebb1e9 upstream.

When calling intel_alt_er() with .idx != EXTRA_REG_RSP_* we will not
initialize alt_idx and then use this uninitialized value to index an
array.

When that is not fatal, it can result in an infinite loop in its
caller __intel_shared_reg_get_constraints(), with IRQs disabled.

Alternative error modes are random memory corruption due to the
cpuc->shared_regs->regs[] array overrun, which manifest in either
get_constraints or put_constraints doing weird stuff.

Only took 6 hours of painful debugging to find this. Neither GCC nor
Smatch warnings flagged this bug.

Signed-off-by: Peter Zijlstra (Intel) <email address hidden>
Cc: Arnaldo Carvalho de Melo <email address hidden>
Cc: David Ahern <email address hidden>
Cc: Jiri Olsa <email address hidden>
Cc: Kan Liang <email address hidden>
Cc: Linus Torvalds <email address hidden>
Cc: Namhyung Kim <email address hidden>
Cc: Peter Zijlstra <email address hidden>
Cc: Stephane Eranian <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Vince Weaver <email address hidden>
Fixes: ae3f011fc251 ("perf/x86/intel: Fix SLM MSR_OFFCORE_RSP1 valid_mask")
Signed-off-by: Ingo Molnar <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Ian May <email address hidden>

2496790... by Madhavan Srinivasan

powerpc/perf: Remove PPMU_HAS_SSLOT flag for Power8

BugLink: https://bugs.launchpad.net/bugs/1878246

commit 370f06c88528b3988fe24a372c10e1303bb94cf6 upstream.

Commit 7a7868326d77 ("powerpc/perf: Add an explict flag indicating
presence of SLOT field") introduced the PPMU_HAS_SSLOT flag to remove
the assumption that MMCRA[SLOT] was present when PPMU_ALT_SIPR was not
set.

That commit's changelog also mentions that Power8 does not support
MMCRA[SLOT]. However when the Power8 PMU support was merged, it
errnoeously included the PPMU_HAS_SSLOT flag.

So remove PPMU_HAS_SSLOT from the Power8 flags.

mpe: On systems where MMCRA[SLOT] exists, the field occupies bits 37:39
(IBM numbering). On Power8 bit 37 is reserved, and 38:39 overlap with
the high bits of the Threshold Event Counter Mantissa. I am not aware of
any published events which use the threshold counting mechanism, which
would cause the mantissa bits to be set. So in practice this bug is
unlikely to trigger.

Fixes: e05b9b9e5c10 ("powerpc/perf: Power8 PMU support")
Signed-off-by: Madhavan Srinivasan <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Ian May <email address hidden>

35af6bb... by Jiri Olsa <email address hidden>

perf hists: Fix HISTC_MEM_DCACHELINE width setting

BugLink: https://bugs.launchpad.net/bugs/1878246

commit 0805909f59e02036a4e2660159f27dbf8b6084ac upstream.

Set correct width for unresolved mem_dcacheline addr.

Signed-off-by: Jiri Olsa <email address hidden>
Cc: David Ahern <email address hidden>
Cc: Don Zickus <email address hidden>
Cc: Namhyung Kim <email address hidden>
Cc: Peter Zijlstra <email address hidden>
Fixes: 9b32ba71ba90 ("perf tools: Add dcacheline sort")
Link: http://<email address hidden>
Signed-off-by: Arnaldo Carvalho de Melo <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Ian May <email address hidden>

aef35ed... by Andy Shevchenko <email address hidden>

i2c: designware-pci: use IRQF_COND_SUSPEND flag

BugLink: https://bugs.launchpad.net/bugs/1878246

commit 08c6e8cc66282a082484480c1a5641bc27d26c55 upstream.

This is effectively reapplies the commit b0898fdaffb2 ("i2c: designware-pci: use
IRQF_COND_SUSPEND flag") after the commit d80d134182ba ("i2c: designware: Move
common probe code into i2c_dw_probe()"). Original message as follows.

The mentioned flag fixes a warning on Intel Edison board since one of the I2C
controller shares IRQ line with watchdog timer.

Fixes: d80d134182ba (i2c: designware: Move common probe code into i2c_dw_probe())
Signed-off-by: Andy Shevchenko <email address hidden>
Acked-by: Jarkko Nikula <email address hidden>
Signed-off-by: Wolfram Sang <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Ian May <email address hidden>