~timg-tpi/ubuntu/+source/linux/+git/bionic:master-prep

Last commit made on 2022-09-16
Get this branch:
git clone -b master-prep https://git.launchpad.net/~timg-tpi/ubuntu/+source/linux/+git/bionic
Only Tim Gardner can upload to this branch. If you are Tim Gardner please log in for upload directions.

Branch merges

Branch information

Name:
master-prep
Repository:
lp:~timg-tpi/ubuntu/+source/linux/+git/bionic

Recent commits

e8c5aa7... by Luke Nowakowski-Krijger

UBUNTU: Ubuntu-4.15.0-194.205

Signed-off-by: Luke Nowakowski-Krijger <email address hidden>

aecd35b... by Luke Nowakowski-Krijger

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1989935
Properties: no-test-build
Signed-off-by: Luke Nowakowski-Krijger <email address hidden>

9df8210... by Kamal Mostafa

UBUNTU: Upstream stable to v4.14.289, v4.19.253

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

Ignore: yes
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Luke Nowakowski-Krijger <email address hidden>

4e76ed0... by =?utf-8?q?Ilpo_J=C3=A4rvinen?= <email address hidden>

serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle

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

commit 211565b100993c90b53bf40851eacaefc830cfe0 upstream.

The driver must provide throttle and unthrottle in uart_ops when it
sets UPSTAT_AUTORTS. Add them using existing stop_rx &
enable_interrupts functions.

Fixes: 2a76fa283098 (serial: pl011: Adopt generic flag to store auto RTS status)
Cc: stable <email address hidden>
Cc: Lukas Wunner <email address hidden>
Reported-by: Nuno Gonçalves <email address hidden>
Tested-by: Nuno Gonçalves <email address hidden>
Signed-off-by: Ilpo Järvinen <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Luke Nowakowski-Krijger <email address hidden>

35698b0... by Francesco Dolcini <email address hidden>

ASoC: sgtl5000: Fix noise on shutdown/remove

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

[ Upstream commit 040e3360af3736348112d29425bf5d0be5b93115 ]

Put the SGTL5000 in a silent/safe state on shutdown/remove, this is
required since the SGTL5000 produces a constant noise on its output
after it is configured and its clock is removed. Without this change
this is happening every time the module is unbound/removed or from
reboot till the clock is enabled again.

The issue was experienced on both a Toradex Colibri/Apalis iMX6, but can
be easily reproduced everywhere just playing something on the codec and
after that removing/unbinding the driver.

Fixes: 9b34e6cc3bc2 ("ASoC: Add Freescale SGTL5000 codec support")
Signed-off-by: Francesco Dolcini <email address hidden>
Reviewed-by: Fabio Estevam <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Luke Nowakowski-Krijger <email address hidden>

11e6c4e... by Marc Kleine-Budde

can: m_can: m_can_tx_handler(): fix use after free of skb

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

commit 2e8e79c416aae1de224c0f1860f2e3350fa171f8 upstream.

can_put_echo_skb() will clone skb then free the skb. Move the
can_put_echo_skb() for the m_can version 3.0.x directly before the
start of the xmit in hardware, similar to the 3.1.x branch.

Fixes: 80646733f11c ("can: m_can: update to support CAN FD features")
Link: https://<email address hidden>
Cc: <email address hidden>
Reported-by: Hangyu Hua <email address hidden>
Signed-off-by: Marc Kleine-Budde <email address hidden>
[sudip: adjust context]
Signed-off-by: Sudip Mukherjee <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Luke Nowakowski-Krijger <email address hidden>

ed8719c... by Rik van Riel <email address hidden>

mm: invalidate hwpoison page cache page in fault path

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

commit e53ac7374e64dede04d745ff0e70ff5048378d1f upstream.

Sometimes the page offlining code can leave behind a hwpoisoned clean
page cache page. This can lead to programs being killed over and over
and over again as they fault in the hwpoisoned page, get killed, and
then get re-spawned by whatever wanted to run them.

This is particularly embarrassing when the page was offlined due to
having too many corrected memory errors. Now we are killing tasks due
to them trying to access memory that probably isn't even corrupted.

This problem can be avoided by invalidating the page from the page fault
handler, which already has a branch for dealing with these kinds of
pages. With this patch we simply pretend the page fault was successful
if the page was invalidated, return to userspace, incur another page
fault, read in the file from disk (to a new memory page), and then
everything works again.

Link: https://<email address hidden>
Signed-off-by: Rik van Riel <email address hidden>
Reviewed-by: Miaohe Lin <email address hidden>
Acked-by: Naoya Horiguchi <email address hidden>
Reviewed-by: Oscar Salvador <email address hidden>
Cc: John Hubbard <email address hidden>
Cc: Mel Gorman <email address hidden>
Cc: Johannes Weiner <email address hidden>
Cc: Matthew Wilcox <email address hidden>
Cc: <email address hidden>
Signed-off-by: Andrew Morton <email address hidden>
Signed-off-by: Linus Torvalds <email address hidden>
[sudip: use int instead of vm_fault_t]
Signed-off-by: Sudip Mukherjee <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Luke Nowakowski-Krijger <email address hidden>

b0bb158... by Yi Yang <email address hidden>

serial: 8250: fix return error code in serial8250_request_std_resource()

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

commit 6e690d54cfa802f939cefbd2fa2c91bd0b8bd1b6 upstream.

If port->mapbase = NULL in serial8250_request_std_resource() , it need
return a error code instead of 0. If uart_set_info() fail to request new
regions by serial8250_request_std_resource() but the return value of
serial8250_request_std_resource() is 0, The system incorrectly considers
that the resource application is successful and does not attempt to
restore the old setting. A null pointer reference is triggered when the
port resource is later invoked.

Signed-off-by: Yi Yang <email address hidden>
Cc: stable <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Luke Nowakowski-Krijger <email address hidden>

1e061a2... by Chanho Park

tty: serial: samsung_tty: set dma burst_size to 1

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

commit f7e35e4bf1e8dc2c8cbd5e0955dc1bd58558dae0 upstream.

The src_maxburst and dst_maxburst have been changed to 1 but the settings
of the UCON register aren't changed yet. They should be changed as well
according to the dmaengine slave config.

Fixes: aa2f80e752c7 ("serial: samsung: fix maxburst parameter for DMA transactions")
Cc: stable <email address hidden>
Cc: Marek Szyprowski <email address hidden>
Reviewed-by: Krzysztof Kozlowski <email address hidden>
Signed-off-by: Chanho Park <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Luke Nowakowski-Krijger <email address hidden>

9739f8a... by Thinh Nguyen <email address hidden>

usb: dwc3: gadget: Fix event pending check

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

commit 7441b273388b9a59d8387a03ffbbca9d5af6348c upstream.

The DWC3_EVENT_PENDING flag is used to protect against invalid call to
top-half interrupt handler, which can occur when there's a delay in
software detection of the interrupt line deassertion.

However, the clearing of this flag was done prior to unmasking the
interrupt line, creating opportunity where the top-half handler can
come. This breaks the serialization and creates a race between the
top-half and bottom-half handler, resulting in losing synchronization
between the controller and the driver when processing events.

To fix this, make sure the clearing of the DWC3_EVENT_PENDING is done at
the end of the bottom-half handler.

Fixes: d325a1de49d6 ("usb: dwc3: gadget: Prevent losing events in event cache")
Cc: <email address hidden>
Signed-off-by: Thinh Nguyen <email address hidden>
Link: https://lore.kernel.org/r/8670aaf1cf52e7d1e6df2a827af2d77263b93b75<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Luke Nowakowski-Krijger <email address hidden>