From nobody Mon Jun 26 12:08:26 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QqRSp5WjDz4k6Pg; Mon, 26 Jun 2023 12:08:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QqRSp4PlXz3hby; Mon, 26 Jun 2023 12:08:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l9YEQN2U5ThFrZgxrbuW+ePyEdJilIcw5g1h19hGRh4=; b=jOxHpDXsH1Zb9OxPOiKi7R6nZWm4kOE9nU/Y0ea4qR2VB0/LYG+P7tbvO81VZaPzgE6s9h HF2Uze+4ddd//TPJQm7rFh0b+L95TmGqB1PPu6OVRjLr1XS17CiwrPhYr7TN47FZKNDcuE +KORx1VREN3jRbnk72HaktLAIDjgvYmS0pcDqeI3oG+AVFhQxSyogkwBjsOTB+zKyXfd2+ xxlwdaeiG1AbV4F1RW9Ktf6HKqAfqmpde2w9W9Hlqe6poPatPjD/oT+XgzN8rb2B6WA+eV 3LebkH06entpMmsEJySnfKUjv8phsWTF3PKX4H5NwQOeP0xwgJ8pNUBGoZBS1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l9YEQN2U5ThFrZgxrbuW+ePyEdJilIcw5g1h19hGRh4=; b=h48I3mHwbF2GENZYL0kn+5J3bK2PpDCTb1Ru6ZYohucK+SzjsBwJpEQt6+epf/b/wQ7UiN HHK44WAll5Oy7FwZ+2o9+7K7+Z0XUte5d9b2AmMUF05K5z+4whfQZmOYTtioRb2rldwOk6 YXh297ekCIyogtfmRaQewvsyg6BvT+cMQLbfmoEt0ZB2ux03HU0swvhOP49bSbdlFSE6uu AvCu3lI4A8nbdj8wCExnSM/QFIY2EwRYQAdZujXQzmiWKhGrQJ28xTS5B7XbXL2fO1GtOy AAevkZ1s0eveMuo6Ksj+782Zb9yPXWmrtoW6tpVejil9Xn/6luugrr63UF0YMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687781306; a=rsa-sha256; cv=none; b=g4arXOJzo3KZQAVtPYurS1/ClY5DU145yRLCCI/pEIlX/lOrqTHT5Ux1m3hA948WP06YIL VQ/MJ61dQlzShbs7o+tn1u0x6rVYo/n2KySXNr1PPKbP9yflBQu712HUz5lap2NuUAORI3 Urd4crKfHnsS+iaLqc+bAj6FHyeFkoS9XPByAifAHJv/7m1RRBHoCaXsLNtK6/L61Nuz2p D4fomfVqwrkISvok1OO29n7DWfF1mSn+XFNSEdnbZrKAidUisK6Qxk65mbxkB9rNRABO98 F7zi6yaQHhgL935AqUCv9CsQ0/aS+SyASWM498UgP6kqS0zukmGCleADY2FL1g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QqRSp3789z17dW; Mon, 26 Jun 2023 12:08:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35QC8QPo082893; Mon, 26 Jun 2023 12:08:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35QC8QNn082892; Mon, 26 Jun 2023 12:08:26 GMT (envelope-from git) Date: Mon, 26 Jun 2023 12:08:26 GMT Message-Id: <202306261208.35QC8QNn082892@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: b534e975c2ba - stable/13 - KASAN: add bus_space*read*_8 for aarch64 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b534e975c2ba6b390db01d87a5993bb151b4ade9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=b534e975c2ba6b390db01d87a5993bb151b4ade9 commit b534e975c2ba6b390db01d87a5993bb151b4ade9 Author: Bjoern A. Zeeb AuthorDate: 2023-04-15 15:35:50 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-06-26 09:07:12 +0000 KASAN: add bus_space*read*_8 for aarch64 Add the remaining bus_space*read*_8 functions conditionally for only arm64 in order to not break KASAN builds with new code using one of them. Suggested by: markj Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D39581 (cherry picked from commit 42742fe725102a73b09800f4d041ad69b5d81edb) --- sys/kern/subr_asan.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/kern/subr_asan.c b/sys/kern/subr_asan.c index 2f0334cf52be..95b5fcc1ea2d 100644 --- a/sys/kern/subr_asan.c +++ b/sys/kern/subr_asan.c @@ -868,6 +868,13 @@ ASAN_BUS_READ_PTR_FUNC(region, 4, uint32_t) ASAN_BUS_READ_PTR_FUNC(region_stream, 4, uint32_t) ASAN_BUS_READ_FUNC(, 8, uint64_t) +#if defined(__aarch64__) +ASAN_BUS_READ_FUNC(_stream, 8, uint64_t) +ASAN_BUS_READ_PTR_FUNC(multi, 8, uint64_t) +ASAN_BUS_READ_PTR_FUNC(multi_stream, 8, uint64_t) +ASAN_BUS_READ_PTR_FUNC(region, 8, uint64_t) +ASAN_BUS_READ_PTR_FUNC(region_stream, 8, uint64_t) +#endif #define ASAN_BUS_WRITE_FUNC(func, width, type) \ void kasan_bus_space_write##func##_##width(bus_space_tag_t tag, \