[Kernel-packages] [Bug 2028932] Re: ubuntu_bpf failed to build with j-oem-6.1.0-1018.18

2023-09-04 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-oem-6.5 - 6.5.0-1003.3

---
linux-oem-6.5 (6.5.0-1003.3) jammy; urgency=medium

  * jammy/linux-oem-6.5: 6.5.0-1003.3 -proposed tracker (LP: #2033279)

  * Packaging resync (LP: #1786013)
- [Packaging] update Ubuntu.md
- [Packaging] update update.conf

  * Resync CI Runner Configuration (LP: #2024199)
- [CI] resync ci configuration
- [CI] resync ci configuration

  * i915: Backport some fixes for Meteor Lake, vol2 (LP: #2032781)
- drm/i915/gsc: fixes and updates for GSC memory allocation
- drm/i915/mtl/gsc: extract release and security versions from the gsc 
binary
- drm/i915/mtl/gsc: query the GSC FW for its compatibility version
- drm/i915/mtl/gsc: Add a gsc_info debugfs
- drm/i915/gsc: Fix intel_gsc_uc_fw_proxy_init_done with directed wakerefs
- drm/i915/display: Do not use stolen on MTL
- drm/i915/huc: check HuC and GuC version compatibility on MTL
- drm/i915/selftest/gsc: Ensure GSC Proxy init completes before selftests
- drm/i915/color: Upscale degamma values for MTL
- drm/i915/color: Downscale degamma lut values read from hardware
- drm/i915/gt: Simplify shmem_create_from_object map_type selection
- SAUCE: drm/i915: Make i915_coherent_map_type GT-centric
- drm/i915/gt: Apply workaround 22016122933 correctly

  * ubuntu_bpf failed to build with j-oem-6.1.0-1018.18 (LP: #2028932)
- SAUCE: Revert "libbpf: fix offsetof() and container_of() to work with 
CO-RE"

  [ Ubuntu: 6.5.0-2.2 ]

  * mantic/linux: 6.5.0-2.2 -proposed tracker (LP: #2033240)
  * Soundwire support for Dell SKU0C87 devices (LP: #2029281)
- SAUCE: ASoC: Intel: soc-acpi: add support for Dell SKU0C87 devices
  * Fix numerous AER related issues (LP: #2033025)
- SAUCE: PCI/AER: Disable AER service during suspend, again
- SAUCE: PCI/DPC: Disable DPC service during suspend, again
  * Support Realtek RTL8852CE WiFi 6E/BT Combo (LP: #2025672)
- wifi: rtw89: debug: Fix error handling in 
rtw89_debug_priv_btc_manual_set()
- Bluetooth: btrtl: Load FW v2 otherwise FW v1 for RTL8852C
  * Rebase to v6.5

  [ Ubuntu: 6.5.0-1.1 ]

  * mantic/linux: 6.5.0-1.1 -proposed tracker (LP: #2032750)
  * Packaging resync (LP: #1786013)
- [Packaging] resync update-dkms-versions helper
- [Packaging] update variants
- debian/dkms-versions -- update from kernel-versions (main/d2023.07.26)
  * ceph: support idmapped mounts (LP: #2032959)
- SAUCE: libceph: add spinlock around osd->o_requests
- SAUCE: libceph: define struct ceph_sparse_extent and add some helpers
- SAUCE: libceph: new sparse_read op, support sparse reads on msgr2 crc
  codepath
- SAUCE: libceph: support sparse reads on msgr2 secure codepath
- SAUCE: libceph: add sparse read support to msgr1
- SAUCE: libceph: add sparse read support to OSD client
- SAUCE: ceph: add new mount option to enable sparse reads
- SAUCE: ceph: preallocate inode for ops that may create one
- SAUCE: ceph: make ceph_msdc_build_path use ref-walk
- SAUCE: libceph: add new iov_iter-based ceph_msg_data_type and
  ceph_osd_data_type
- SAUCE: ceph: use osd_req_op_extent_osd_iter for netfs reads
- SAUCE: ceph: fscrypt_auth handling for ceph
- SAUCE: ceph: implement -o test_dummy_encryption mount option
- SAUCE: ceph: add fscrypt ioctls and ceph.fscrypt.auth vxattr
- SAUCE: ceph: make ioctl cmds more readable in debug log
- SAUCE: ceph: add base64 endcoding routines for encrypted names
- SAUCE: ceph: encode encrypted name in ceph_mdsc_build_path and dentry
  release
- SAUCE: ceph: send alternate_name in MClientRequest
- SAUCE: ceph: decode alternate_name in lease info
- SAUCE: ceph: set DCACHE_NOKEY_NAME flag in ceph_lookup/atomic_open()
- SAUCE: ceph: make d_revalidate call fscrypt revalidator for encrypted
  dentries
- SAUCE: ceph: add helpers for converting names for userland presentation
- SAUCE: ceph: make ceph_fill_trace and ceph_get_name decrypt names
- SAUCE: ceph: pass the request to parse_reply_info_readdir()
- SAUCE: ceph: add support to readdir for encrypted names
- SAUCE: ceph: create symlinks with encrypted and base64-encoded targets
- SAUCE: ceph: add some fscrypt guardrails
- SAUCE: ceph: allow encrypting a directory while not having Ax caps
- SAUCE: ceph: mark directory as non-complete after loading key
- SAUCE: ceph: size handling in MClientRequest, cap updates and inode traces
- SAUCE: ceph: handle fscrypt fields in cap messages from MDS
- SAUCE: ceph: add infrastructure for file encryption and decryption
- SAUCE: libceph: add CEPH_OSD_OP_ASSERT_VER support
- SAUCE: libceph: allow ceph_osdc_new_request to accept a multi-op read
- SAUCE: ceph: add object version support for sync read
- SAUCE: ceph: add truncate size handling support for fscrypt
- SAUCE: ceph: don't use special DIO path for encrypted 

[Kernel-packages] [Bug 2028932] Re: ubuntu_bpf failed to build with j-oem-6.1.0-1018.18

2023-07-28 Thread Po-Hsu Lin
I just finished bisect between -1007 and -1008

ca6f352ba5c8ccde01289d433401f28e6c260e07 is the first bad commit
commit ca6f352ba5c8ccde01289d433401f28e6c260e07
Author: Andrii Nakryiko 
Date:   Mon May 8 23:55:02 2023 -0700

libbpf: fix offsetof() and container_of() to work with CO-RE

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

[ Upstream commit bdeeed3498c7871c17465bb4f11d1bc67f9098af ]

It seems like __builtin_offset() doesn't preserve CO-RE field
relocations properly. So if offsetof() macro is defined through
__builtin_offset(), CO-RE-enabled BPF code using container_of() will be
subtly and silently broken.

To avoid this problem, redefine offsetof() and container_of() in the
form that works with CO-RE relocations more reliably.

Fixes: 5fbc220862fc ("tools/libpf: Add offsetof/container_of macro in 
bpf_helpers.h")
Reported-by: Lennart Poettering 
Signed-off-by: Andrii Nakryiko 
Acked-by: Yonghong Song 
Link: https://lore.kernel.org/r/20230509065502.2306180-1-and...@kernel.org
Signed-off-by: Alexei Starovoitov 
Signed-off-by: Sasha Levin 
Signed-off-by: Timo Aaltonen 

 tools/lib/bpf/bpf_helpers.h | 15 ++-
 1 file changed, 10 insertions(+), 5 deletions(-)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.1 in Ubuntu.
https://bugs.launchpad.net/bugs/2028932

Title:
  ubuntu_bpf failed to build with j-oem-6.1.0-1018.18

Status in ubuntu-kernel-tests:
  New
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  Issue found with J-oem-6.1.0-1018.18

  Test build failed with:
  CLNG-BPF [test_maps] test_check_mtu.bpf.o
  CLNG-BPF [test_maps] test_cls_redirect.bpf.o
make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
progs/test_cls_redirect.c:90:2: error: static_assert expression is not an 
integral constant expression 
sizeof(flow_ports_t) !=
^~~
progs/test_cls_redirect.c:91:3: note: cast that performs the conversions of 
a reinterpret_cast is not allowed in a constant expression
offsetofend(struct bpf_sock_tuple, ipv4.dport) -
^
progs/test_cls_redirect.c:32:3: note: expanded from macro 'offsetofend'
(offsetof(TYPE, MEMBER) + sizeofTYPE *)0)->MEMBER)))
 ^

/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:86:33:
 note: expanded from macro 'offsetof'
#define offsetof(type, member)  ((unsigned long)&((type *)0)->member)
 ^
progs/test_cls_redirect.c:95:2: error: static_assert expression is not an 
integral constant expression
sizeof(flow_ports_t) !=
^~~ 
progs/test_cls_redirect.c:96:3: note: cast that performs the conversions of 
a reinterpret_cast is not allowed in a constant expression
offsetofend(struct bpf_sock_tuple, ipv6.dport) -
^
progs/test_cls_redirect.c:32:3: note: expanded from macro 'offsetofend'
(offsetof(TYPE, MEMBER) + sizeofTYPE *)0)->MEMBER)))
 ^

/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:86:33:
 note: expanded from macro 'offsetof'
#define offsetof(type, member)  ((unsigned long)&((type *)0)->member)
 ^
2 errors generated.
make[1]: *** [Makefile:531: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_cls_redirect.bpf.o]
 Error 1
make: *** [Makefile:160: all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2028932/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2028932] Re: ubuntu_bpf failed to build with j-oem-6.1.0-1018.18

2023-07-28 Thread Timo Aaltonen
** Changed in: linux-oem-6.1 (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.1 in Ubuntu.
https://bugs.launchpad.net/bugs/2028932

Title:
  ubuntu_bpf failed to build with j-oem-6.1.0-1018.18

Status in ubuntu-kernel-tests:
  New
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  Issue found with J-oem-6.1.0-1018.18

  Test build failed with:
  CLNG-BPF [test_maps] test_check_mtu.bpf.o
  CLNG-BPF [test_maps] test_cls_redirect.bpf.o
make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
progs/test_cls_redirect.c:90:2: error: static_assert expression is not an 
integral constant expression 
sizeof(flow_ports_t) !=
^~~
progs/test_cls_redirect.c:91:3: note: cast that performs the conversions of 
a reinterpret_cast is not allowed in a constant expression
offsetofend(struct bpf_sock_tuple, ipv4.dport) -
^
progs/test_cls_redirect.c:32:3: note: expanded from macro 'offsetofend'
(offsetof(TYPE, MEMBER) + sizeofTYPE *)0)->MEMBER)))
 ^

/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:86:33:
 note: expanded from macro 'offsetof'
#define offsetof(type, member)  ((unsigned long)&((type *)0)->member)
 ^
progs/test_cls_redirect.c:95:2: error: static_assert expression is not an 
integral constant expression
sizeof(flow_ports_t) !=
^~~ 
progs/test_cls_redirect.c:96:3: note: cast that performs the conversions of 
a reinterpret_cast is not allowed in a constant expression
offsetofend(struct bpf_sock_tuple, ipv6.dport) -
^
progs/test_cls_redirect.c:32:3: note: expanded from macro 'offsetofend'
(offsetof(TYPE, MEMBER) + sizeofTYPE *)0)->MEMBER)))
 ^

/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:86:33:
 note: expanded from macro 'offsetof'
#define offsetof(type, member)  ((unsigned long)&((type *)0)->member)
 ^
2 errors generated.
make[1]: *** [Makefile:531: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_cls_redirect.bpf.o]
 Error 1
make: *** [Makefile:160: all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2028932/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2028932] Re: ubuntu_bpf failed to build with j-oem-6.1.0-1018.18

2023-07-28 Thread Po-Hsu Lin
** Also affects: linux-oem-6.1 (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux-oem-6.1 (Ubuntu Jammy)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.1 in Ubuntu.
https://bugs.launchpad.net/bugs/2028932

Title:
  ubuntu_bpf failed to build with j-oem-6.1.0-1018.18

Status in ubuntu-kernel-tests:
  New
Status in linux-oem-6.1 package in Ubuntu:
  New
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  Issue found with J-oem-6.1.0-1018.18

  Test build failed with:
  CLNG-BPF [test_maps] test_check_mtu.bpf.o
  CLNG-BPF [test_maps] test_cls_redirect.bpf.o
make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
progs/test_cls_redirect.c:90:2: error: static_assert expression is not an 
integral constant expression 
sizeof(flow_ports_t) !=
^~~
progs/test_cls_redirect.c:91:3: note: cast that performs the conversions of 
a reinterpret_cast is not allowed in a constant expression
offsetofend(struct bpf_sock_tuple, ipv4.dport) -
^
progs/test_cls_redirect.c:32:3: note: expanded from macro 'offsetofend'
(offsetof(TYPE, MEMBER) + sizeofTYPE *)0)->MEMBER)))
 ^

/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:86:33:
 note: expanded from macro 'offsetof'
#define offsetof(type, member)  ((unsigned long)&((type *)0)->member)
 ^
progs/test_cls_redirect.c:95:2: error: static_assert expression is not an 
integral constant expression
sizeof(flow_ports_t) !=
^~~ 
progs/test_cls_redirect.c:96:3: note: cast that performs the conversions of 
a reinterpret_cast is not allowed in a constant expression
offsetofend(struct bpf_sock_tuple, ipv6.dport) -
^
progs/test_cls_redirect.c:32:3: note: expanded from macro 'offsetofend'
(offsetof(TYPE, MEMBER) + sizeofTYPE *)0)->MEMBER)))
 ^

/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:86:33:
 note: expanded from macro 'offsetof'
#define offsetof(type, member)  ((unsigned long)&((type *)0)->member)
 ^
2 errors generated.
make[1]: *** [Makefile:531: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_cls_redirect.bpf.o]
 Error 1
make: *** [Makefile:160: all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2028932/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp