From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 49ED43858D20 for ; Fri, 20 Oct 2023 11:54:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 49ED43858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 49ED43858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=68.232.141.98 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697802865; cv=none; b=HnBDlDqVGeXL4PxtlQaxqqSbsfTZI/fJPwjAjtJFJeVPgoXvpm6QhfejxyGzw3BNAuRyz4jDq1aLgbHB7MJ879YqMnr1/asUkAh2mwofuQ3yGXqkG0bd0OuhkwlrnnOOvMxXJihLLPx/m6ctkmkopGfVcOr6c5BINnxMJhNG7Tg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697802865; c=relaxed/simple; bh=i3Sn0qFvCXjZ7UMepYd6xRZpyU0StFNqSHv+cpGxXd4=; h=Message-ID:Date:MIME-Version:To:From:Subject; b=GQoA/PZ4m81Q/JxasdCEvdd1Eji2RrZvtodVdEkcqq5e/rtfQ/UHmyj1DeFcj2SOkhlKBfWVpUbfqUkUJop35/KjIJN6UZeHe6ySAZoe51iZ61+UWNH4Xi2o85jz29GtA33c4F8ENk5VbkEwT2r59W9H7b5lw0JBxxNWoOLc3rI= ARC-Authentication-Results: i=1; server2.sourceware.org X-CSE-ConnectionGUID: JSzHunQvSsGMR0XpAxJLtg== X-CSE-MsgGUID: dXSNLjoxTe2V9HAunf252w== X-IronPort-AV: E=Sophos;i="6.03,238,1694764800"; d="scan'208";a="22661231" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 20 Oct 2023 03:54:22 -0800 IronPort-SDR: bu7bKgqeTTfQSj9vHUetJuqw7k/190ckcl5RyLI5LQcoiq5QO1G8o+woNhhKQCZwDGR6j12CYy dDA0SniJHExEKq0751dJWhFmEcskjndh56NyCwakhuEmCdzVUxbanDqEFzs6NKWPzW7+VnYYJ1 sXCxa7/Df3uUlna5Fa1Xs8L6ftWrys5E/3UMxyalMQO4YY6Gh1XP3JnO/LWMQJLZJRxjKRR8p9 bpWhmfKHKDKSskD9ScriZPjwcgjd+pPflbevcYw3cqjhuza/j3Xfn4CfHjjj/RwE1hmg4sle/l lag= Content-Type: multipart/mixed; boundary="------------nlo5XGbbFR5lPl1z1JeDosJ5" Message-ID: <6d9dea6e-5595-477e-b049-6992623f13fc@codesourcery.com> Date: Fri, 20 Oct 2023 12:54:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB To: From: Andrew Stubbs Subject: [PATCH] amdgcn: remove unnecessary scalar cache flush X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-13.mgc.mentorg.com (139.181.222.13) To svr-ies-mbx-11.mgc.mentorg.com (139.181.222.11) X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00,GIT_PATCH_0,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --------------nlo5XGbbFR5lPl1z1JeDosJ5 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Hi, This patch is necessary to support AMD RDNA2 GPUs that don't have a writable scalar cache. However, the write back isn't actually doing anything useful on any GPU any more, so we can remove it. Andrew --------------nlo5XGbbFR5lPl1z1JeDosJ5 Content-Type: text/plain; charset="UTF-8"; name="231020-newlib-remove-s_dcache_wb.patch" Content-Disposition: attachment; filename="231020-newlib-remove-s_dcache_wb.patch" Content-Transfer-Encoding: base64 YW1kZ2NuOiByZW1vdmUgdW5uZWNlc3Nhcnkgc2NhbGFyIGNhY2hlIGZsdXNoCgpUaGUgZXhp dCBjb2RlIGlzbid0IGFjdHVhbGx5IHdyaXR0ZW4gdmlhIHRoZSBzY2FsYXIgY2FjaGUgc28g dGhlIGNhY2hlIGZsdXNoCmlzIG5vdCBhY3R1YWxseSBuZWVkZWQuCgpkaWZmIC0tZ2l0IGEv bmV3bGliL2xpYmMvbWFjaGluZS9hbWRnY24vZXhpdC12YWx1ZS5oIGIvbmV3bGliL2xpYmMv bWFjaGluZS9hbWRnY24vZXhpdC12YWx1ZS5oCmluZGV4IDdhYTI1MDhiYi4uNmI5ZDI0MTFi IDEwMDY0NAotLS0gYS9uZXdsaWIvbGliYy9tYWNoaW5lL2FtZGdjbi9leGl0LXZhbHVlLmgK KysrIGIvbmV3bGliL2xpYmMvbWFjaGluZS9hbWRnY24vZXhpdC12YWx1ZS5oCkBAIC0zMiw3 ICszMiw2IEBAIGV4aXRfd2l0aF9pbnQgKGludCB2YWwpCiAgICpyZXR1cm5fdmFsdWUgPSB2 YWw7CiAKICAgLyogVGVybWluYXRlIHRoZSBjdXJyZW50IGtlcm5lbC4gICovCi0gIGFzbSAo InNfZGNhY2hlX3diIik7CiAgIGFzbSAoInNfZW5kcGdtIik7CiAgIF9fYnVpbHRpbl91bnJl YWNoYWJsZSAoKTsKIH0K --------------nlo5XGbbFR5lPl1z1JeDosJ5--