Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply i2c patches from upstream #7

Open
wants to merge 145 commits into
base: main
Choose a base branch
from

Conversation

tdavenvidia
Copy link
Contributor

These are the two i2c patches from upstream linux.

ianmay81 and others added 30 commits May 30, 2023 10:41
Ignore: yes
Signed-off-by: Ian May <[email protected]>
Ignore: yes
Signed-off-by: Dimitri John Ledkov <[email protected]>
BugLink: https://bugs.launchpad.net/bugs/1992162
Properties: no-test-build
Signed-off-by: Dimitri John Ledkov <[email protected]>
Ignore: yes
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
BugLink: https://bugs.launchpad.net/bugs/1996300
Properties: no-test-build
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
Ignore: yes
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
BugLink: https://bugs.launchpad.net/bugs/1998795
Properties: no-test-build
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
Ignore: yes
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
BugLink: https://bugs.launchpad.net/bugs/1999745
Properties: no-test-build
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
BugLink: https://bugs.launchpad.net/bugs/2002679

This reverts commit e96b739.

In order to use the same compiler as used for kinetic:linux (gcc-12) we have
made some changes to explicitly compile jammy:linux-hwe-5.19 with the same
compiler. However, such changes are breaking the build of a number of dkms
packages. Revert this commit, which would make the kernel compile with the
default GCC in Jammy (gcc-11), while a proper solution is being worked on.

Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
Ignore: yes
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
BugLink: https://bugs.launchpad.net/bugs/2002679

Changing the gcc version used for the build from gcc-12 to gcc (11)
removed CONFIG_INIT_STACK_ALL_ZERO and CONFIG_SHADOW_CALL_STACK from
being an option on the kernel config. Update the annotations file
accondingly, keeping the annotation instead of simply removing it so
when the configs are re-enabled in the future it stays as a reminder
to update the annotation.

Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
BugLink: https://bugs.launchpad.net/bugs/2001755
Properties: no-test-build
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
In the Jammy environment, some config options cannot be enabled as
enforced in the parent kernel. Add code to automatically adjust those.
This was attempted to be manual edits to the annotations. However those
get overwritten on each rebase. So instead add it to the local-mangle
script but run only if the compiler set to be used is gcc-11.

Ignore: yes
Signed-off-by: Stefan Bader <[email protected]>
ianmay81 and others added 29 commits May 31, 2023 11:56
Ignore: yes
Signed-off-by: Ian May <[email protected]>
Ignore: yes
Signed-off-by: Ian May <[email protected]>
Copied from master

Ignore: yes
Signed-off-by: Ian May <[email protected]>
BugLink: https://bugs.launchpad.net/bugs/1982519
nvbug: https://nvbugswb.nvidia.com/NVBugs5/redir.aspx?url=/3728100

With this change, the NFS driver would be enabled to
support GPUDirectStorage(GDS). The change is around
frwr_map and frwr_unmap in the NFS driver, where the
IO request is first intercepted to check for GDS pages and
if it is a GDS page then the request is served by GDS driver
component called nvidia-fs, else the request would be served
by the standard NFS driver code.

Signed-off-by: Sourab Gupta <[email protected]>
Acked-by: Kiran Kumar Modukuri <[email protected]>
Acked-by: Rebanta Mitra <[email protected]>
Signed-off-by: Brad Figg <[email protected]>
Ignore: yes
Signed-off-by: Brad Figg <[email protected]>
Ignore: yes
Signed-off-by: Roxana Nicolescu <[email protected]>
Signed-off-by: Brad Figg <[email protected]>
CVE-2023-1829
Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Acked-by: Cengiz Can <[email protected]>
Acked-by: Stefan Bader <[email protected]>
Signed-off-by: Stefan Bader <[email protected]>
Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Signed-off-by: Brad Figg <[email protected]>
CONFIG_SERIAL_8250_MID=y
CONFIG_SND_HDA_INTEL_DMI_SILENT_STREAM=y
CONFIG_HSU_DMA=y

Signed-off-by: Brad Figg <[email protected]>
…idia-fs version changed to 2.15.3~jammy

Signed-off-by: Brad Figg <[email protected]>
BugLink: https://bugs.launchpad.net/bugs/2021535

ARM architecture only has 'memory', so all devices are accessed by
MMIO if possible.

Signed-off-by: Jammy Huang <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Acked-by: Brad Figg <[email protected]>
Acked-by: Jamie Nguyen <[email protected]>
(cherry picked from commit 4327a6137ed43a091d900b1ac833345d60f32228)
Signed-off-by: Ian May <[email protected]>
Ignore: yes
Signed-off-by: Ian May <[email protected]>
Copied from master

Ignore: yes
Signed-off-by: Ian May <[email protected]>
Set ACPI node as the primary fwnode of I2C adapter to allow
enumeration of child devices from the ACPI table

Signed-off-by: Zubair Waheed <[email protected]>
Signed-off-by: Akhil R <[email protected]>
Reviewed-by: Thierry Reding <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
(cherry picked from commit 5bf7188)
Signed-off-by: Tushar Dave <[email protected]>
Update the msg->len value correctly for SMBUS block read. The discrepancy
went unnoticed as msg->len is used in SMBUS transfers only when a PEC
byte is added.

Fixes: d7583c8 ("i2c: tegra: Add SMBus block read function")
Signed-off-by: Akhil R <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
(cherry picked from commit 9f855779a3874eee70e9f6be57b5f7774f14e510)
Signed-off-by: Tushar Dave <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.