From nobody Wed Jun 22 23:23:11 2022 X-Original-To: freebsd-arm@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 258E88606D8 for ; Wed, 22 Jun 2022 23:23:12 +0000 (UTC) (envelope-from daemon-user@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 4LSzvg6mDtz4l2G; Wed, 22 Jun 2022 23:23:11 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:606c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 9B0927B68; Wed, 22 Jun 2022 23:23:11 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 9A49C2891F; Wed, 22 Jun 2022 23:23:11 +0000 (UTC) Date: Wed, 22 Jun 2022 23:23:11 +0000 To: Phabricator From: "rfyu28uyeg_snkmail.com (John Hein)" Cc: freebsd-arm@freebsd.org Reply-to: "rfyu28uyeg_snkmail.com (John Hein)" Subject: [Differential] D35553: protect arm busdma bounce page counters with bounce page lock Message-ID: <076fbbef1e10018b84b27c7fc05cc395@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , X-Herald-Rules: <28>, <31> X-Phabricator-Projects: <#arm> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-t62r2jryxp6wkotvmxh2 X-Phabricator-Mail-ID: 3231842 X-Phabricator-Send-Attempt: xugswkkk542wvsuq In-Reply-To: References: Thread-Index: YjNhOGUyMmQwODA3NjNhNzUzYzczZjViNGM2IGKzpF8= X-Phabricator-Stamps: actor(@rfyu28uyeg_snkmail.com) application(Differential) author(@rfyu28uyeg_snkmail.com) herald(H28) herald(H31) monogram(D35553) object-type(DREV) phid(PHID-DREV-t62r2jryxp6wkotvmxh2) reviewer(@hselasky) reviewer(@jhb) reviewer(@mjg) revision-repository(rG) revision-status(needs-review) subscriber(@andrew) subscriber(@freebsd-arm-list) subscriber(@imp) tag(#arm) via(web) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_076fbbef1e10018b84b27c7fc05cc395" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655940192; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=vWfUp64aYG2O0OkjcQZkDysvIbPCvhQAe35jca/BJiw=; b=kgpEexdPKseXjB4uog+YyqV/7zCbV3PAIglXnsDkKo/r4EI7rzA9refySQbICLeyrBYeze Ne8ixtU2dfx8v8mZkIichLbZx2i7ou4lQmQitoXBJb61aeV0+jykgMdha1UBwRAG/2hoQo Wu3GcZxbbeODesrHjOaYXNyHGunJxZs/fdT1CK4arehC2cxUzQPOidHBUVFoynskmdeheg w+k2bJkdLCa/CZ/pi7EnOghdhbdR2QX6SQHuzHVWhqrSKWna6tnVrJ0hthR2RhejNNq1gM fjJwUTGtbTKsjUgygLhHPAHTY3F7MlrRlhVzF9B20uRMrOUtwmnY91xtIA2C4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655940192; a=rsa-sha256; cv=none; b=K4k3+ujqK2ThppL3m8VmlXlNG4/LuqQqiE6O1jCb5PhKGueIUWQR2hU3Kea8pK+zGSDHTJ 65GbzD/ZWwoLJml+XHBrkpzE/jtZY51Bt2ZwTh2oVzQ8kUhempAprid3Yn7Kh5h+Ruq482 gt1nlOUr+dGJtocvLrjVFYY+Loa8QlbM3ZrsvWx8ADDXgcrQGJD/Ty74A8hmLdos5iTzSR JzZkiT46REhcjpcY/Bx2vHVOJEGqggBS67yGNjI8KzsgsBPWXKCwdMDsYgIKUskz0pOZsP bfPtp1XN2iE4dO3/DvgF0eagepnhKPNyiidv93ans/jE8vhq+DvqExMGihTfmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --b1_076fbbef1e10018b84b27c7fc05cc395 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 cmZ5dTI4dXllZ19zbmttYWlsLmNvbSBjcmVhdGVkIHRoaXMgcmV2aXNpb24uCnJmeXUyOHV5ZWdf c25rbWFpbC5jb20gYWRkZWQgcmV2aWV3ZXJzOiBtamcsIGhzZWxhc2t5LCBqaGIuCnJmeXUyOHV5 ZWdfc25rbWFpbC5jb20gYWRkZWQgYSBwcm9qZWN0OiBBUk0uCkhlcmFsZCBhZGRlZCBzdWJzY3Jp YmVyczogYW5kcmV3LCBpbXAuCnJmeXUyOHV5ZWdfc25rbWFpbC5jb20gcmVxdWVzdGVkIHJldmll dyBvZiB0aGlzIHJldmlzaW9uLgoKUkVWSVNJT04gU1VNTUFSWQogIEluIGJ1c19kbWFtYXBfdW5s b2FkKCksIHRoZSBjb3VudGVycyBmb3IgZnJlZV9icGFnZXMgYW5kIHJlc2VydmVkX2JwYWdlcyBh cHBlYXIgdG8gYmUgdnVsbmVyYWJsZSB0byB1bnByb3RlY3RlZC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RU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jl dmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBy Znl1Mjh1eWVnX3Nua21haWwuY29tLCBtamcsIGhzZWxhc2t5LCBqaGIKQ2M6IGltcCwgYW5kcmV3 LCBmcmVlYnNkLWFybS1saXN0LCBiego= --b1_076fbbef1e10018b84b27c7fc05cc395 Content-Type: text/x-patch; charset=utf-8; name="D35553.107262.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D35553.107262.patch" ZGlmZiAtLWdpdCBhL3N5cy9hcm0vYXJtL2J1c2RtYV9tYWNoZGVwLmMgYi9zeXMvYXJtL2FybS9i dXNkbWFfbWFjaGRlcC5jCi0tLSBhL3N5cy9hcm0vYXJtL2J1c2RtYV9tYWNoZGVwLmMKKysrIGIv c3lzL2FybS9hcm0vYnVzZG1hX21hY2hkZXAuYwpAQCAtMTE4NCw4ICsxMTg0LDEwIEBACiAJCWZy ZWVfYm91bmNlX3BhZ2VzKGRtYXQsIG1hcCk7CiAKIAkJYnogPSBkbWF0LT5ib3VuY2Vfem9uZTsK KwkJbXR4X2xvY2soJmJvdW5jZV9sb2NrKTsKIAkJYnotPmZyZWVfYnBhZ2VzICs9IG1hcC0+cGFn ZXNyZXNlcnZlZDsKIAkJYnotPnJlc2VydmVkX2JwYWdlcyAtPSBtYXAtPnBhZ2VzcmVzZXJ2ZWQ7 CisJCW10eF91bmxvY2soJmJvdW5jZV9sb2NrKTsKIAkJbWFwLT5wYWdlc3Jlc2VydmVkID0gMDsK IAkJbWFwLT5wYWdlc25lZWRlZCA9IDA7CiAJfQoK --b1_076fbbef1e10018b84b27c7fc05cc395--