From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.13 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793850207; b=Wjwios36IP3Hmreg8JuO3jPAkc3RoMuMyehALq/5KBYZL+1O8x2/hzGFezdqyi6oAo87 HKiQuPG9zK+5AzyYTbcls7tLBPhIug1ncABgB8llaECSr1tcVfK3YcSNZD8uq8B/11zX1 Wp2GbmMRsjyElsHoUlfvEXm6MRyEQNfXvuk2sR2SrxpNzDi/RDkloPwj4I7xb7UsORVgI U7XSFetnzIhw+WnIk6GUzMKxL+GaaHdVYGzaLFVhjJFo8qGd6fD/g4OiBhFZv+ZrRbr8q n+8ldWDPe8R1ipN5kTTelkmdpInjuBt/teoFL5XJV0JoHTnVfWb6ZDI82Erkcv2RMKg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793850207; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=2GC+qYIb1IFAUqDqdfJsfTCEyeNxImtvtbTQx9ODw/g=; b=F2PtvdnA2JT3XFWP67E4OcYHupbMw1bPlJsAr2GXxBgI6lU2Ck91MPhhFCK1iRQiZqDc +zqrjN92nI65LZgGRux9IwosWrt7A/z8/oG6xFytjIec5jtmxQ487cjjIaXVg+usnjSDr QLwoWHt4WCgYXHJ64qB37I0v0QQim+o1iv9pZg8+4CDf1BDEIpKDZzeRhD+fg0w9X+vSl PVGJkEGDNfU6BV/NUDehPikYJVBJaTfh6qVA38YD0XgSsgc+M4741XqSGUvgwL1bndKwD uDy2bjKswWWrBZ57uBhvn9oB9jwQeL756S4zjUGryd+ajOyHgssrwE5HP66c9ieVK2A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ghNVKAR1; arc=none smtp.remote-ip=198.175.65.13 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C0047606A328 for ; Thu, 5 Nov 2026 03:43:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C0047606A328 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ghNVKAR1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1793850205; x=1825386205; h=date:from:to:cc:subject:message-id; bh=VhEDpRGX0bVzhVZeKfWxUqNbrWQBRQlU/LkT1n1h+5c=; b=ghNVKAR18lQEws+J8A46kUepGIs6/6aiJ2VDoaY209BkcfIBDShgxaTZ 6omFGMOOE8676ydWWE0PRtHg+5zuNT0woRVxpbwbUVHDimx/xT01N/Jks TF/n1VEaY3cjajkdiOENOZFyEx7zxuog2LLAF86VgVaPRBfQO4ZcN7hBn UyDM+HJ+zl8j9jQLf8zrn7QNl6B1JTk+0OqyY3mGv5P9Mk+rVX3kf1WjK Pn51xOg4BW7se/lj2tVPheq2efjwUwhIIBD/h1Xj5xvEYQbSeLJjxtYLH GfNOV91dATv5ezLmG+egoBZ8jx/uVvL/uiGLscOLxC61Maqe2rlJq+hRS w==; X-CSE-ConnectionGUID: JQmZnocPRtmmqNFtefB2qQ== X-CSE-MsgGUID: 2bkVnxbwQq+uz4qH12CGBw== X-IronPort-AV: E=McAfee;i="6800,10657,11956"; a="2501781" X-IronPort-AV: E=Sophos;i="6.27,196,1787036400"; d="scan'208";a="2501781" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2026 19:43:22 -0800 X-CSE-ConnectionGUID: uryfKhX5SqOJKwXGDKpzxA== X-CSE-MsgGUID: xKIhLVxzQ7GPie2979cQMw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,196,1787036400"; d="scan'208";a="7197457" Received: from igk-lkp-server01.igk.intel.com (HELO 58ca8a381a5c) ([10.211.93.152]) by fmviesa008.fm.intel.com with ESMTP; 04 Nov 2026 19:43:20 -0800 Received: from kbuild by 58ca8a381a5c with local (Exim 4.98.2) (envelope-from ) id 1xOoNg-000000009UV-2vI3; Thu, 05 Nov 2026 03:43:16 +0000 Date: Thu, 05 Nov 2026 04:43:15 +0100 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android17-6.18-2026-09 1/1] arch/arm64/include/asm/barrier.h:133:27: error: passing argument 1 of '__kasan_check_write' makes pointer from integer without a cast Message-ID: <202611050421.JghofErN-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list tree: https://android.googlesource.com/kernel/common android17-6.18-2026-09 head: ecdaacc9a0ee87eaf9544e1836d86bd9d590312e commit: 06f8e52b34f38555bb820ac1cb1d9547a3c9c50a [1/1] ANDROID: GKI: Introduce GKI_HIDDEN_IOMMU_CONFIGS config: arm64-randconfig-r2101-20261105 (https://download.01.org/0day-ci/archive/20261105/202611050421.JghofErN-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 14.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261105/202611050421.JghofErN-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202611050421.JghofErN-lkp@intel.com/ All errors (new ones prefixed by >>): | ^~~~~~~~~ include/linux/compiler_types.h:568:9: note: in expansion of macro '_compiletime_assert' 568 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:571:9: note: in expansion of macro 'compiletime_assert' 571 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:571:28: note: in expansion of macro '__native_word' 571 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~ arch/arm64/include/asm/barrier.h:132:9: note: in expansion of macro 'compiletime_assert_atomic_type' 132 | compiletime_assert_atomic_type(*p); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:30: error: 'struct mm_struct' has no member named 'iommu_mm' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~ include/linux/compiler_types.h:548:23: note: in definition of macro '__compiletime_assert' 548 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:568:9: note: in expansion of macro '_compiletime_assert' 568 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:571:9: note: in expansion of macro 'compiletime_assert' 571 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:571:28: note: in expansion of macro '__native_word' 571 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~ arch/arm64/include/asm/barrier.h:132:9: note: in expansion of macro 'compiletime_assert_atomic_type' 132 | compiletime_assert_atomic_type(*p); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:30: error: 'struct mm_struct' has no member named 'iommu_mm' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~ include/linux/compiler_types.h:548:23: note: in definition of macro '__compiletime_assert' 548 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:568:9: note: in expansion of macro '_compiletime_assert' 568 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:571:9: note: in expansion of macro 'compiletime_assert' 571 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:571:28: note: in expansion of macro '__native_word' 571 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~ arch/arm64/include/asm/barrier.h:132:9: note: in expansion of macro 'compiletime_assert_atomic_type' 132 | compiletime_assert_atomic_type(*p); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:30: error: 'struct mm_struct' has no member named 'iommu_mm' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~ include/linux/compiler_types.h:548:23: note: in definition of macro '__compiletime_assert' 548 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:568:9: note: in expansion of macro '_compiletime_assert' 568 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:571:9: note: in expansion of macro 'compiletime_assert' 571 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:571:28: note: in expansion of macro '__native_word' 571 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~ arch/arm64/include/asm/barrier.h:132:9: note: in expansion of macro 'compiletime_assert_atomic_type' 132 | compiletime_assert_atomic_type(*p); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:30: error: 'struct mm_struct' has no member named 'iommu_mm' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~ arch/arm64/include/asm/barrier.h:133:40: note: in definition of macro '__smp_store_release' 133 | kasan_check_write(__p, sizeof(*p)); \ | ^ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ >> arch/arm64/include/asm/barrier.h:133:27: error: passing argument 1 of '__kasan_check_write' makes pointer from integer without a cast [-Wint-conversion] 133 | kasan_check_write(__p, sizeof(*p)); \ | ^~~ | | | int include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ In file included from include/asm-generic/rwonce.h:26, from arch/arm64/include/asm/rwonce.h:67, from include/linux/compiler.h:390, from arch/arm64/include/asm/mmu_context.h:13: include/linux/kasan-checks.h:20:47: note: expected 'const volatile void *' but argument is of type 'int' 20 | bool __kasan_check_write(const volatile void *p, unsigned int size); | ~~~~~~~~~~~~~~~~~~~~~^ drivers/iommu/iommu-sva.c:51:30: error: 'struct mm_struct' has no member named 'iommu_mm' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~ arch/arm64/include/asm/barrier.h:134:25: note: in definition of macro '__smp_store_release' 134 | switch (sizeof(*p)) { \ | ^ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ arch/arm64/include/asm/barrier.h:137:41: error: invalid type argument of unary '*' (have 'int') 137 | : "=Q" (*__p) \ | ^~~~ include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ arch/arm64/include/asm/barrier.h:143:41: error: invalid type argument of unary '*' (have 'int') 143 | : "=Q" (*__p) \ | ^~~~ include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ arch/arm64/include/asm/barrier.h:149:41: error: invalid type argument of unary '*' (have 'int') 149 | : "=Q" (*__p) \ | ^~~~ include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ arch/arm64/include/asm/barrier.h:155:41: error: invalid type argument of unary '*' (have 'int') 155 | : "=Q" (*__p) \ | ^~~~ include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:51:9: note: in expansion of macro 'smp_store_release' 51 | smp_store_release(&mm->iommu_mm, iommu_mm); | ^~~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c: At top level: drivers/iommu/iommu-sva.c:68:19: error: redefinition of 'iommu_sva_bind_device' 68 | struct iommu_sva *iommu_sva_bind_device(struct device *dev, struct mm_struct *mm) | ^~~~~~~~~~~~~~~~~~~~~ In file included from drivers/iommu/iommu-sva.c:8: include/linux/iommu.h:1576:1: note: previous definition of 'iommu_sva_bind_device' with type 'struct iommu_sva *(struct device *, struct mm_struct *)' 1576 | iommu_sva_bind_device(struct device *dev, struct mm_struct *mm) | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/kernel.h:22, from arch/arm64/include/asm/cpufeature.h:26, from arch/arm64/include/asm/processor.h:39: drivers/iommu/iommu-sva.c: In function 'iommu_sva_bind_device': drivers/iommu/iommu-sva.c:114:40: error: 'struct mm_struct' has no member named 'iommu_mm' 114 | list_for_each_entry(domain, &mm->iommu_mm->sva_domains, next) { | ^~ include/linux/container_of.h:19:33: note: in definition of macro 'container_of' 19 | void *__mptr = (void *)(ptr); \ | ^~~ include/linux/list.h:612:9: note: in expansion of macro 'list_entry' 612 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ include/linux/list.h:770:20: note: in expansion of macro 'list_first_entry' 770 | for (pos = list_first_entry(head, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~ drivers/iommu/iommu-sva.c:114:9: note: in expansion of macro 'list_for_each_entry' 114 | list_for_each_entry(domain, &mm->iommu_mm->sva_domains, next) { | ^~~~~~~~~~~~~~~~~~~ In file included from arch/arm64/include/asm/processor.h:28: drivers/iommu/iommu-sva.c:114:40: error: 'struct mm_struct' has no member named 'iommu_mm' 114 | list_for_each_entry(domain, &mm->iommu_mm->sva_domains, next) { | ^~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_assert' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_type' Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for USB_PHY Depends on [n]: USB_SUPPORT [=n] Selected by [y]: - GKI_HIDDEN_USB_CONFIGS [=y] WARNING: unmet direct dependencies detected for WEXT_PROC Depends on [n]: NET [=n] && WIRELESS [=n] && PROC_FS [=y] && WEXT_CORE [=y] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for DIMLIB Depends on [n]: NET [=n] Selected by [y]: - GKI_HIDDEN_VIRTUAL_CONFIGS [=y] WARNING: unmet direct dependencies detected for WEXT_PRIV Depends on [n]: NET [=n] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY Depends on [n]: NET [=n] Selected by [y]: - GKI_HIDDEN_NET_CONFIGS [=y] WARNING: unmet direct dependencies detected for DRM_MIPI_DSI Depends on [n]: HAS_IOMEM [=y] && DRM [=n] Selected by [y]: - GKI_HIDDEN_DRM_CONFIGS [=y] WARNING: unmet direct dependencies detected for PHYLINK Depends on [n]: NETDEVICES [=n] Selected by [y]: - GKI_HIDDEN_ETHERNET_CONFIGS [=y] WARNING: unmet direct dependencies detected for IOMMU_SVA Depends on [n]: IOMMU_SUPPORT [=n] Selected by [y]: - GKI_HIDDEN_IOMMU_CONFIGS [=y] WARNING: unmet direct dependencies detected for WIRELESS_EXT Depends on [n]: NET [=n] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for WEXT_CORE Depends on [n]: NET [=n] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y]) Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for PAGE_POOL Depends on [n]: NET [=n] Selected by [y]: - GKI_HIDDEN_NET_CONFIGS [=y] WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD Depends on [n]: NETDEVICES [=n] && CAN_DEV [=n] && CAN_NETLINK [=n] Selected by [y]: - GKI_HIDDEN_MCP251XFD_CONFIGS [=y] WARNING: unmet direct dependencies detected for NET_DEVLINK Depends on [n]: NET [=n] Selected by [y]: - GKI_HIDDEN_NET_CONFIGS [=y] vim +/__kasan_check_write +133 arch/arm64/include/asm/barrier.h 47933ad41a86a4a Peter Zijlstra 2013-11-06 126 fd072df850e536b Michael S. Tsirkin 2015-12-27 127 #define __smp_store_release(p, v) \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 128 do { \ 131e135f7fd14b1 Mark Rutland 2019-04-09 129 typeof(p) __p = (p); \ 10223c5286f7389 Will Deacon 2019-12-19 130 union { __unqual_scalar_typeof(*p) __val; char __c[1]; } __u = \ 10223c5286f7389 Will Deacon 2019-12-19 131 { .__val = (__force __unqual_scalar_typeof(*p)) (v) }; \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 132 compiletime_assert_atomic_type(*p); \ 131e135f7fd14b1 Mark Rutland 2019-04-09 @133 kasan_check_write(__p, sizeof(*p)); \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 134 switch (sizeof(*p)) { \ 878a84d5a8a18a4 Andre Przywara 2015-04-20 135 case 1: \ 878a84d5a8a18a4 Andre Przywara 2015-04-20 136 asm volatile ("stlrb %w1, %0" \ 131e135f7fd14b1 Mark Rutland 2019-04-09 137 : "=Q" (*__p) \ 39c8275de81cf7f Mark Rutland 2023-03-14 138 : "rZ" (*(__u8 *)__u.__c) \ 994870bead4ab19 Mark Rutland 2017-05-03 139 : "memory"); \ 878a84d5a8a18a4 Andre Przywara 2015-04-20 140 break; \ 878a84d5a8a18a4 Andre Przywara 2015-04-20 141 case 2: \ 878a84d5a8a18a4 Andre Przywara 2015-04-20 142 asm volatile ("stlrh %w1, %0" \ 131e135f7fd14b1 Mark Rutland 2019-04-09 143 : "=Q" (*__p) \ 39c8275de81cf7f Mark Rutland 2023-03-14 144 : "rZ" (*(__u16 *)__u.__c) \ 994870bead4ab19 Mark Rutland 2017-05-03 145 : "memory"); \ 878a84d5a8a18a4 Andre Przywara 2015-04-20 146 break; \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 147 case 4: \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 148 asm volatile ("stlr %w1, %0" \ 131e135f7fd14b1 Mark Rutland 2019-04-09 149 : "=Q" (*__p) \ 39c8275de81cf7f Mark Rutland 2023-03-14 150 : "rZ" (*(__u32 *)__u.__c) \ 994870bead4ab19 Mark Rutland 2017-05-03 151 : "memory"); \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 152 break; \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 153 case 8: \ 39c8275de81cf7f Mark Rutland 2023-03-14 154 asm volatile ("stlr %x1, %0" \ 131e135f7fd14b1 Mark Rutland 2019-04-09 155 : "=Q" (*__p) \ 39c8275de81cf7f Mark Rutland 2023-03-14 156 : "rZ" (*(__u64 *)__u.__c) \ 994870bead4ab19 Mark Rutland 2017-05-03 157 : "memory"); \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 158 break; \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 159 } \ 47933ad41a86a4a Peter Zijlstra 2013-11-06 160 } while (0) 47933ad41a86a4a Peter Zijlstra 2013-11-06 161 :::::: The code at line 133 was first introduced by commit :::::: 131e135f7fd14b1de7a5eb26631076705c18073f arm64: instrument smp_{load_acquire,store_release} :::::: TO: Mark Rutland :::::: CC: Will Deacon -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki