~apw/ubuntu/+source/linux/+git/jammy:master-prep

Last commit made on 2022-05-10
Get this branch:
git clone -b master-prep https://git.launchpad.net/~apw/ubuntu/+source/linux/+git/jammy
Only Andy Whitcroft can upload to this branch. If you are Andy Whitcroft please log in for upload directions.

Branch merges

Branch information

Name:
master-prep
Repository:
lp:~apw/ubuntu/+source/linux/+git/jammy

Recent commits

4b9ee5a... by Stefan Bader

UBUNTU: Ubuntu-5.15.0-32.33

Signed-off-by: Stefan Bader <email address hidden>

c98d344... by Stefan Bader

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1972668
Properties: no-test-build
Signed-off-by: Stefan Bader <email address hidden>

40d734d... by Tadeusz Struk <email address hidden>

ext4: limit length to bitmap_maxbytes - blocksize in punch_hole

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

Syzbot found an issue [1] in ext4_fallocate().
The C reproducer [2] calls fallocate(), passing size 0xffeffeff000ul,
and offset 0x1000000ul, which, when added together exceed the
bitmap_maxbytes for the inode. This triggers a BUG in
ext4_ind_remove_space(). According to the comments in this function
the 'end' parameter needs to be one block after the last block to be
removed. In the case when the BUG is triggered it points to the last
block. Modify the ext4_punch_hole() function and add constraint that
caps the length to satisfy the one before laster block requirement.

LINK: [1] https://syzkaller.appspot.com/bug?id=b80bd9cf348aac724a4f4dff251800106d721331
LINK: [2] https://syzkaller.appspot.com/text?tag=ReproC&x=14ba0238700000

Fixes: a4bb6b64e39a ("ext4: enable "punch hole" functionality")
Reported-by: <email address hidden>
Signed-off-by: Tadeusz Struk <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Theodore Ts'o <email address hidden>
Cc: <email address hidden>

(cherry picked from commit 2da376228a2427501feb9d15815a45dbdbdd753e)
Reported-by: Colin King <email address hidden>
Signed-off-by: Paolo Pisati <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

5951226... by Mario Limonciello <email address hidden>

drm/amdgpu: explicitly check for s0ix when evicting resources

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

This codepath should be running in both s0ix and s3, but only does
currently because s3 and s0ix are both set in the s0ix case.

Signed-off-by: Mario Limonciello <email address hidden>
Acked-by: Evan Quan <email address hidden>
Signed-off-by: Alex Deucher <email address hidden>

(cherry picked from commit e53d9665ab003df0ece8f869fcd3c2bbbecf7190)
Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

1367ec2... by Nirmoy Das <email address hidden>

drm/amdgpu: unify BO evicting method in amdgpu_ttm

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

Unify BO evicting functionality for possible memory
types in amdgpu_ttm.c.

Signed-off-by: Nirmoy Das <email address hidden>
Reviewed-by: Christian König <email address hidden>
Signed-off-by: Alex Deucher <email address hidden>

(cherry picked from commit 58144d283712c9e80e528e001af6ac5aeee71af2)
Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

ea9330f... by Stefan Bader

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Stefan Bader <email address hidden>

2545be0... by Stefan Bader

UBUNTU: Ubuntu-5.15.0-31.32

Signed-off-by: Stefan Bader <email address hidden>

f5bbabd... by Stefan Bader

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1971890
Properties: no-test-build
Signed-off-by: Stefan Bader <email address hidden>

f9f42ed... by Mario Limonciello <email address hidden>

gpio: Request interrupts after IRQ is initialized

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

Commit 5467801f1fcb ("gpio: Restrict usage of GPIO chip irq members
before initialization") attempted to fix a race condition that lead to a
NULL pointer, but in the process caused a regression for _AEI/_EVT
declared GPIOs.

This manifests in messages showing deferred probing while trying to
allocate IRQs like so:

  amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517
  amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x002C to IRQ, err -517
  amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x003D to IRQ, err -517
  [ .. more of the same .. ]

The code for walking _AEI doesn't handle deferred probing and so this
leads to non-functional GPIO interrupts.

Fix this issue by moving the call to `acpi_gpiochip_request_interrupts`
to occur after gc->irc.initialized is set.

Fixes: 5467801f1fcb ("gpio: Restrict usage of GPIO chip irq members before initialization")
Link: https://lore<email address hidden>/
Link: https://bugzilla.suse.com/show_bug.cgi?id=1198697
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215850
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1979
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1976
Reported-by: Mario Limonciello <email address hidden>
Signed-off-by: Mario Limonciello <email address hidden>
Reviewed-by: Shreeya Patel <email address hidden>
Tested-By: Samuel Čavoj <email address hidden>
Tested-By: <email address hidden> Link:
Reviewed-by: Andy Shevchenko <email address hidden>
Acked-by: Linus Walleij <email address hidden>
Reviewed-and-tested-by: Takashi Iwai <email address hidden>
Cc: Shreeya Patel <email address hidden>
Cc: <email address hidden>
Signed-off-by: Linus Torvalds <email address hidden>

(cherry picked from commit 06fb4ecfeac7e00d6704fa5ed19299f2fefb3cc9)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>
Acked-by: Luke Nowakowski-Krijger <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

b62acf5... by Ike Panhc

UBUNTU: [Config] CONFIG_HISI_PMU=m

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

Signed-off-by: Ike Panhc <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>