Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3616876pxb; Sun, 26 Sep 2021 21:35:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDEjpKOn1YfUrHJKwaM+vNLHa0ePyrbJKBs2v7wu3BYR7Uh1NN0EnAJHHTIFLwbvLIwqAV X-Received: by 2002:a62:e20f:0:b0:44b:8688:8101 with SMTP id a15-20020a62e20f000000b0044b86888101mr5047566pfi.39.1632717359533; Sun, 26 Sep 2021 21:35:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1632717359; cv=pass; d=google.com; s=arc-20160816; b=IeEKZiLmSp3IwG0JocBN4qq9n/6+NtUHHAJ/Mlu+6KtBy6xqzcrkMMgUm2fqxTFrva A8ntGtdJlXoU9Q1drmhFaAEUGC1H4D00idbOSUF9qqN6TLK6EBdCPlsVif9mW01Oqn6K QnJZzwYphdrRRMR19nFAsNHayMDXnf/v8QUnTaz4FhVT6n0ZgcVu9SsMZrmflN5iPK2k veVGvgewbeQISjMxSmbDwKw0rQpvm7NmBnstBUE1c0XFm5si7jVXCYX17isfWU9N5Ryq S1/BoY8yrLrttFfBWcCUI6gB7e5U1gslwFRzkcdeWc1um0/ldwHwcWRiSZOnUCybyt22 p7IA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :suggested_attachment_session_id:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:dkim-signature; bh=bAKJC6a92cWdq8FYAVwVo65rlc+wOVEDxnuq0cbMUzg=; b=twB90AcgsBSdG/H8cQ5A1Asq7Xo9pcKgo6V4nyvsjJodolYW1MhdtFUq92jueivdkD fdp/bUdWg5T1mhIKfdG4zv3gU0kK9mYstyB5naigZPw5O8mH8G6MNNhC9LWiUK6hplj6 PnzBq7UPAzLQH142tzijb1mXpSZIBawYMRFPY1WRF2KkyTQSmJH9GdMbWAq9xJWzpSOX 3UOphn/NFL0ZeHe9H+4IeYSTQrQq2/e4Oqc0F0AFkkTgGie3cgZ2R3OvOaAI4TJdEkF3 A3bd84rW2XuwRT7NX2pUxIl6lnSCG+91Llf08lmcJDWFnUYOEEFFKZW8xXNGCtDtj1f4 lHSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@live.com header.s=selector1 header.b=QQH3k30z; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=live.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u8si18895846pgr.196.2021.09.26.21.35.47; Sun, 26 Sep 2021 21:35:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@live.com header.s=selector1 header.b=QQH3k30z; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=live.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232539AbhI0Egl (ORCPT + 99 others); Mon, 27 Sep 2021 00:36:41 -0400 Received: from mail-bo1ind01olkn0176.outbound.protection.outlook.com ([104.47.101.176]:11829 "EHLO IND01-BO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229674AbhI0Egk (ORCPT ); Mon, 27 Sep 2021 00:36:40 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y8Di9W0xBxvI9McZalCER9k1Sg13jg9DKjTeVQzytC3uYgnRKrfn/VC4yENbGGx2g2hqscnDXYj/VYs5PFcfu3J6zMaij4aK5vHTOxtp+SGke/om3/EGRPNnxeUCNquyVw4FPAmIr7gTRGeJ+p6sLj/RXRHzgKwAOw4zbu7U0eFyrHoJMupxCf3UMTDOQXcQ0BUtItJfPS4Qp9jJAJjILngpZFqGUwmke4zHfry/D0pqQ1vwflEJ16I6jXTaK9iMiOCbRQIKLPjRYMnMUYalQBer6tvhvLTMRBCOKM0uEyB1SVf0QvUhYYZuIeyVafD1QTFipyPax6uoic+FvS+rhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bAKJC6a92cWdq8FYAVwVo65rlc+wOVEDxnuq0cbMUzg=; b=KTr60UXnIOrtAFyFTDto9uHQKSTomBtPCFWf2FqbdvtSuil/33CVizIB+Qe+iC4GkU6t8cOo5oWYNzrre4/W+9rGs66V175UuHSdtLAncbqAj+2o3TUOKc7TtLtVUzHVtzscfNxWV4FZc2fEvw2qG5JPaqpyvT71D+A79di9V/BzrMmB2n4EGe+DUfDNgfMeM8r1OcGlt06L2ljQ4OmmKT+inN/9Kov1eoGJK0I8jT066Id3CoBUcn781TNu3DpAwm/YlSIpVFrkaXqon2CqQgN+IcQmd3F7c2sqSDmvuHPXw8iwmbsDo4THRQtuGcq2Jb/J/8jaO90Tsc0VWC1mOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bAKJC6a92cWdq8FYAVwVo65rlc+wOVEDxnuq0cbMUzg=; b=QQH3k30zkJ91fiBr+nKleBJIZ65Du0ElS/9P4pPlR876BWZEZjPnIJOBoH87vArmbO3R3FgLOW2KvFI+qOAFCg5dtgTAzrE8BgkfIjzUq7/SCPkge3rtpfiOxYL9PaGZxCN8xB7ssdKiboY52YRYeczK/5rW6dxOniL4fbPIKQ9Tng/DmLimDeXtn5NHbnLT+kuXdKI4IEQUE4hGijWWAdBVy7Qk5GpxtmiYnxMhhQyFym7sQMJALl4Nx2+feGJqPedKONdnBw3ZGnFAZciawXEfZVk4WOYd/vYk1Lc0XNNbAYQg6Wsxu8lt6zbz4nAM5t9f71+m1fO2eZ4n7K4p5A== Received: from PNZPR01MB4415.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:1b::13) by PNZPR01MB5197.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:3a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Mon, 27 Sep 2021 04:35:00 +0000 Received: from PNZPR01MB4415.INDPRD01.PROD.OUTLOOK.COM ([fe80::fc30:dd98:6807:9ea]) by PNZPR01MB4415.INDPRD01.PROD.OUTLOOK.COM ([fe80::fc30:dd98:6807:9ea%3]) with mapi id 15.20.4544.021; Mon, 27 Sep 2021 04:35:00 +0000 From: Aditya Garg To: "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] Urgent bug fix causing Apple SSDs to not work. Thread-Topic: [PATCH] Urgent bug fix causing Apple SSDs to not work. Thread-Index: AQHXscFVd2R2aGQVnEGbLlhqpJsHVKu1F/kAgAASzICAAAs0gIAAkgX1gAAtJVaAAAzqAIABTFoD Date: Mon, 27 Sep 2021 04:35:00 +0000 Message-ID: References: <20210925195425.GB116968@dhcp-10-100-145-180.wdc.com> <7e75e292-3073-f1f9-287a-badf92c8e4e8@grimberg.me> <4dae80c3-034c-617b-c766-1858d6ee1220@protonmail.com> In-Reply-To: <4dae80c3-034c-617b-c766-1858d6ee1220@protonmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: a8fcd596-a001-7bba-5080-2901fe6cd60a x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [qRa2i8BM1YvaLAWtVn5nrYrRLdGgG9v3k84wa1OwM4Snu4ZzVR/J+oOonpPKPyOn] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d02ea87e-d08f-492c-62f1-08d981702aa3 x-ms-traffictypediagnostic: PNZPR01MB5197: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: m0/uq2NS81jT1pvJdKpq1VSZ48RLTpJIwx8Bf8gIrr4wSyiPhRkigFe6EC0G3GTjvGMUZAoh1z8xbSKh9NTIkFaVz/Xjy/Qjk+ki2Hzgm2zl1BPe1/ySacRDaTIPrSBqY0RpdSIkOrqpQgPSf7hvD7dUR3at6JtdNoUvR81rsIYt2kYiliAPMAbODJ5APpnpyhzo4YoepyqxMj2ILQzS1f+6m3svRTGpyFo3y5SmCxfuZD5Tqgg6Kd0QrR3KeISjq3UBJ8iQvmq5OGyRIEIEE23f76jBzHSEehL0tGa/LI3LJqOsnrCKeOphIEfCCyVMFdlpfzd7LL/b3c2wn4HWKlDvYpuY1WMIoHYhbDEMdYLvzZj5l6uL447bsajkompqnTl68aO9C2onZLkvgRfL6lNGyDARdG6T+U+UYhmd7ccnoSc8/0XCn015p25ao1N4ivIGFaxnPPXlNU+qzSzKPu4Vg+ZBREfA9NPQ7kXfdNs= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: wC/iNhaAXYtt7F4HiBo28zWAG1arno4MiZf7GZqj59EOWetqiLh7fwH/YJgU71j4to7AXetkwlksiQ9UVK1TDtQSdHWPLgbEox/+q1RPpAmzYvsISEuevjwHJ64avt61/zGGbykpvgrh7BHusgDOirpUJzrQD7TDhO/4bXbUmSuuqo5f+/7YSj47YyUW8Kk7Q3XOG7p/e+vVJGO1ZsIaXg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-a1a1a.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PNZPR01MB4415.INDPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: d02ea87e-d08f-492c-62f1-08d981702aa3 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2021 04:35:00.0878 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PNZPR01MB5197 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I tried Orlando Chamberlain's patch on 5.14.7 but still the SSD is not bein= g recognised. ________________________________________ From: Orlando Chamberlain Sent: Sunday, September 26, 2021 8:44 AM To: Aditya Garg; sagi@grimberg.me; kbusch@kernel.org Cc: torvalds@linux-foundation.org; axboe@fb.com; hch@lst.de; linux-nvme@lis= ts.infradead.org; james.smart@broadcom.com; chaitanya.kulkarni@wdc.com; akp= m@linux-foundation.org; linux-kernel@vger.kernel.org; trivial@kernel.org Subject: Re: [PATCH] Urgent bug fix causing Apple SSDs to not work. On 26/9/21 18:07, Aditya Garg wrote: > I checked out the proposal sent by Orlando Chamberlain to replace > NVME_QUIRK_SHARED_TAGS , by NVME_QUIRK_SHARED_TAGS | given in the patch o= n > http://lists.infradead.org/pipermail/linux-nvme/2021-September/027665.htm= l > . > The , still causes panics to the T2 as described before. In the case of |= , the > kernel boots correctly without panicking the T2, but in case we are havin= g Linux > on an External Drive, which is my case, then the internal SSD doesn't see= m to be > recognised at all. I've tested the patch on 5.14.7. A screenshot of the G= NOME > Disks utility has been attached along with this mail. I had some issues with the patch not applying automatically as I mixed up t= abs and spaces, (due to me copying stuff directly out of vim), so I had issues with getting= patches to apply automatically. I've checked that this file https://github.com/Redecorating/= mbp-16.1-linux-wifi/blob/anbox-bt/1001-apple-t2-disable-nvme-gen-counter-qu= irk.patch applies correctly for me (and github ci), so can you see if it still doesn'= t work with that?