~anthonywong/ubuntu/+source/linux-intel/+git/focal:qep

Last commit made on 2021-09-29
Get this branch:
git clone -b qep https://git.launchpad.net/~anthonywong/ubuntu/+source/linux-intel/+git/focal
Only Anthony Wong can upload to this branch. If you are Anthony Wong please log in for upload directions.

Branch merges

Branch information

Recent commits

127dec4... by Jarkko Nikula <email address hidden>

counter: intel-qep: Use to_pci_dev() helper

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

Use to_pci_dev() helper instead of container_of(d, struct pci_dev, dev);

Suggested-by: Jonathan Cameron <email address hidden>
Signed-off-by: Jarkko Nikula <email address hidden>
Acked-by: William Breathitt Gray <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Jonathan Cameron <email address hidden>
(cherry picked from commit 93466212b9329616af2e4c7e5994d507d72e254d)
Signed-off-by: Anthony Wong <email address hidden>

692c2eb... by Jarkko Nikula <email address hidden>

counter: intel-qep: Mark PM callbacks with __maybe_unused

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

Remove CONFIG_PM ifdef and mark PM callbacks with __maybe_unused.

Suggested-by: Jonathan Cameron <email address hidden>
Signed-off-by: Jarkko Nikula <email address hidden>
Acked-by: William Breathitt Gray <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Jonathan Cameron <email address hidden>
(cherry picked from commit ac3bd9d6b11f6e7ddea30d3779b9c5d870b4ddfb)
Signed-off-by: Anthony Wong <email address hidden>

cce5447... by Jarkko Nikula <email address hidden>

counter: Add support for Intel Quadrature Encoder Peripheral

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

Add support for Intel Quadrature Encoder Peripheral found on Intel
Elkhart Lake platform.

Initial implementation was done by Felipe Balbi while he was working at
Intel with later changes from Raymond Tan and me.

Co-developed-by: Felipe Balbi (Intel) <email address hidden>
Signed-off-by: Felipe Balbi (Intel) <email address hidden>
Co-developed-by: Raymond Tan <email address hidden>
Signed-off-by: Raymond Tan <email address hidden>
Signed-off-by: Jarkko Nikula <email address hidden>
Acked-by: William Breathitt Gray <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Jonathan Cameron <email address hidden>
(cherry picked from commit b711f687a1c1c14c2da589e84e4f61b975196951)
Signed-off-by: Anthony Wong <email address hidden>

cdca0b7... by Andrea Righi

UBUNTU: Ubuntu-intel-5.13-5.13.0-1005.5

Signed-off-by: Andrea Righi <email address hidden>

707f730... by Andrea Righi

UBUNTU: [Config] intel-5.13: update configs and annotations after rebase

Signed-off-by: Andrea Righi <email address hidden>

0acde40... by Andrea Righi

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1945276
Properties: no-test-build
Signed-off-by: Andrea Righi <email address hidden>

6fd3d78... by Andrea Righi

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Andrea Righi <email address hidden>

80950af... by Alex Hung

UBUNTU: [Config] Enable Intel Shadow Stack support

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

This includes setting Intel Shadow Stack (X86_SHADOW_STACK) and
Intel Indirect Branch Tracking (X86_IBT) to 'y'

Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Wen-chien Jesse Sung <email address hidden>

cbe0d74... by Yu-cheng Yu

Provide back compatibility of ALLOC_SHSTK

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

Signed-off-by: Yu-cheng Yu <email address hidden>
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Wen-chien Jesse Sung <email address hidden>

1e9dae3... by "H.J. Lu" <email address hidden>

Discard .note.gnu.property sections in generic NOTES

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

With the command-line option, -mx86-used-note=yes, the x86 assembler
in binutils 2.32 and above generates a program property note in a note
section, .note.gnu.property, to encode used x86 ISAs and features. But
kernel linker script only contains a single NOTE segment:

PHDRS {
 text PT_LOAD FLAGS(5);
 data PT_LOAD FLAGS(6);
 percpu PT_LOAD FLAGS(6);
 init PT_LOAD FLAGS(7);
 note PT_NOTE FLAGS(0);
}
SECTIONS
{
...
 .notes : AT(ADDR(.notes) - 0xffffffff80000000) { __start_notes = .; KEEP(*(.not
e.*)) __stop_notes = .; } :text :note
...
}

The NOTE segment generated by kernel linker script is aligned to 4 bytes.
But .note.gnu.property section must be aligned to 8 bytes on x86-64 and
we get

[hjl@gnu-skx-1 linux]$ readelf -n vmlinux

Displaying notes found in: .notes
  Owner Data size Description
  Xen 0x00000006 Unknown note type: (0x00000006)
   description data: 6c 69 6e 75 78 00
  Xen 0x00000004 Unknown note type: (0x00000007)
   description data: 32 2e 36 00
  xen-3.0 0x00000005 Unknown note type: (0x006e6558)
   description data: 08 00 00 00 03
readelf: Warning: note with invalid namesz and/or descsz found at offset 0x50
readelf: Warning: type: 0xffffffff, namesize: 0x006e6558, descsize:
0x80000000, alignment: 8
[hjl@gnu-skx-1 linux]$

Since note.gnu.property section in kernel image is never used, this patch
discards .note.gnu.property sections in kernel linker script by adding

/DISCARD/ : {
  *(.note.gnu.property)
}

before kernel NOTE segment in generic NOTES.

Signed-off-by: H.J. Lu <email address hidden>
Reviewed-by: Kees Cook <email address hidden>
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Wen-chien Jesse Sung <email address hidden>