Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2228538/?format=api
{ "id": 2228538, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2228538/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ide/patch/20260426190920.2051289-8-philpem@philpem.me.uk/", "project": { "id": 13, "url": "http://patchwork.ozlabs.org/api/1.2/projects/13/?format=api", "name": "Linux IDE development", "link_name": "linux-ide", "list_id": "linux-ide.vger.kernel.org", "list_email": "linux-ide@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260426190920.2051289-8-philpem@philpem.me.uk>", "list_archive_url": null, "date": "2026-04-26T19:09:20", "name": "[v3,7/7] scsi: scsi_devinfo: extend BLIST_NO_LUN_1F to MATSHITA and NEC PD-1 variants", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "0153c816765392583710541216710c1ebe63b63e", "submitter": { "id": 93108, "url": "http://patchwork.ozlabs.org/api/1.2/people/93108/?format=api", "name": "Phil Pemberton", "email": "philpem@philpem.me.uk" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-ide/patch/20260426190920.2051289-8-philpem@philpem.me.uk/mbox/", "series": [ { "id": 501551, "url": "http://patchwork.ozlabs.org/api/1.2/series/501551/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ide/list/?series=501551", "date": "2026-04-26T19:09:18", "name": "ata: libata-scsi: multi-LUN ATAPI device support", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/501551/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2228538/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2228538/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-ide+bounces-5539-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-ide@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=philpem.me.uk header.i=@philpem.me.uk\n header.a=rsa-sha256 header.s=mail header.b=wXdfADVr;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-ide+bounces-5539-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=philpem.me.uk header.i=@philpem.me.uk\n header.b=\"wXdfADVr\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=178.62.38.78", "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=philpem.me.uk", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=philpem.me.uk" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g3bwM5YGDz1yHg\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 05:14:11 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id DE901305288A\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 19:09:47 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 83A0037DE87;\n\tSun, 26 Apr 2026 19:09:41 +0000 (UTC)", "from nick.sneptech.io (nick.sneptech.io [178.62.38.78])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 1997637CD22;\n\tSun, 26 Apr 2026 19:09:39 +0000 (UTC)", "from wolf.philpem.me.uk (81-187-163-148.ip4.reverse-dns.uk\n [81.187.163.148])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (2048 bits))\n\t(No client certificate requested)\n\t(Authenticated sender: mailrelay_wolf@philpem.me.uk)\n\tby nick.sneptech.io (Postfix) with ESMTPSA id 95B97BEFED;\n\tSun, 26 Apr 2026 19:09:29 +0000 (UTC)", "from cheetah.homenet.philpem.me.uk (cheetah.homenet.philpem.me.uk\n [10.0.0.32])\n\tby wolf.philpem.me.uk (Postfix) with ESMTPSA id 529ED5FC5A;\n\tSun, 26 Apr 2026 20:09:29 +0100 (BST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777230581; cv=none;\n b=kF4oVumolbjEplO4J/KoKwPPAu8yCnW+vSBeyet9AjSNTlfVHcavcS0RJGCGz/qdstIcUtFneAGIm5llacx8gP5791KLoiAVK7hOhB8P/JSkTJUwB/j98krFncbs6JJKOuiPORNmWnGatC2YbyWHNR2Yu7EgQQM/hx+troPoTp8=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777230581; c=relaxed/simple;\n\tbh=PBwfDz5omNpfcINQQatgifpJDGZJ35fjbov7gbgVjaw=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=hFuB+XH6U9p9RWuEjhbbU0ltH/408i+OUTg0cJNCLNQzQP7gcnrEVRrU1uGtYeCdvwHNeYry1cLRc/YchYzQs8+1YZHuTWGlkST9GpvL53GxYCNGpquoS7PlqsGrhNJGudvfW1wPpwqqlO9qLMbxB/HvOolKV4skPfRIG4Qi7Y8=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=philpem.me.uk;\n spf=pass smtp.mailfrom=philpem.me.uk;\n dkim=pass (1024-bit key) header.d=philpem.me.uk header.i=@philpem.me.uk\n header.b=wXdfADVr; arc=none smtp.client-ip=178.62.38.78", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=philpem.me.uk;\n\ts=mail; t=1777230569;\n\tbh=PBwfDz5omNpfcINQQatgifpJDGZJ35fjbov7gbgVjaw=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=wXdfADVrtOsJLbNKKq/D8I8PAOqyiVjSVCaf5veQfGh8F9CiqF1vVq7qcrgCyGWrk\n\t NDIMFv5owDwfTwqQ4R9ZrFB2Q2flUKNRdYp/5T/7w/Y9pFc961d7bnsovoukNk5H41\n\t vMu7+GbV+pwhfIpa1Uf0pWopTU/S1aTbf0oYqLEw=", "From": "Phil Pemberton <philpem@philpem.me.uk>", "To": "linux-ide@vger.kernel.org,\n\tlinux-scsi@vger.kernel.org", "Cc": "linux-kernel@vger.kernel.org,\n\tDamien Le Moal <dlemoal@kernel.org>,\n\tNiklas Cassel <cassel@kernel.org>,\n\t\"James E . J . Bottomley\" <James.Bottomley@HansenPartnership.com>,\n\t\"Martin K . Petersen\" <martin.petersen@oracle.com>,\n\tHannes Reinecke <hare@suse.de>,\n\tPhil Pemberton <philpem@philpem.me.uk>", "Subject": "[PATCH v3 7/7] scsi: scsi_devinfo: extend BLIST_NO_LUN_1F to MATSHITA\n and NEC PD-1 variants", "Date": "Sun, 26 Apr 2026 20:09:20 +0100", "Message-ID": "<20260426190920.2051289-8-philpem@philpem.me.uk>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260426190920.2051289-1-philpem@philpem.me.uk>", "References": "<20260426190920.2051289-1-philpem@philpem.me.uk>", "Precedence": "bulk", "X-Mailing-List": "linux-ide@vger.kernel.org", "List-Id": "<linux-ide.vger.kernel.org>", "List-Subscribe": "<mailto:linux-ide+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-ide+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "The Panasonic LF-1095/LF-1195 PD/CD combo drive was sold under three\nOEM identities: COMPAQ \"PD-1\", MATSHITA \"PD-1\", and NEC \"PD-1 ODX654P\".\nAll three are the same drive mechanism with the same firmware family,\nso they should share the BLIST_NO_LUN_1F quirk that was applied to the\nCOMPAQ variant: PDT 0x1f / PQ 0 INQUIRY responses on non-existent LUNs\nare treated as \"LUN not present\" rather than as a phantom sdev.\n\nThis patch is offered for completeness. It has not been tested on the\nMATSHITA or NEC variants -- the author only has access to the COMPAQ\nunit -- but the drives are functionally identical and the flag is a\nno-op on devices that do not exhibit the PDT 0x1f response. Drop or\nhold this patch if confirmation on real hardware is preferred before\nextending the quirk.\n\nSigned-off-by: Phil Pemberton <philpem@philpem.me.uk>\n---\n drivers/scsi/scsi_devinfo.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c\nindex bfc2cbd43897..ab1ffa9433b7 100644\n--- a/drivers/scsi/scsi_devinfo.c\n+++ b/drivers/scsi/scsi_devinfo.c\n@@ -201,7 +201,8 @@ static struct {\n \t{\"LASOUND\", \"CDX7405\", \"3.10\", BLIST_MAX5LUN | BLIST_SINGLELUN},\n \t{\"Marvell\", \"Console\", NULL, BLIST_SKIP_VPD_PAGES},\n \t{\"Marvell\", \"91xx Config\", \"1.01\", BLIST_SKIP_VPD_PAGES},\n-\t{\"MATSHITA\", \"PD-1\", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},\n+\t{\"MATSHITA\", \"PD-1\", NULL, BLIST_FORCELUN | BLIST_SINGLELUN |\n+\t\t\t\t BLIST_NO_LUN_1F},\n \t{\"MATSHITA\", \"DMC-LC5\", NULL, BLIST_NOT_LOCKABLE | BLIST_INQUIRY_36},\n \t{\"MATSHITA\", \"DMC-LC40\", NULL, BLIST_NOT_LOCKABLE | BLIST_INQUIRY_36},\n \t{\"Medion\", \"Flash XL MMC/SD\", \"2.6D\", BLIST_FORCELUN},\n@@ -212,7 +213,8 @@ static struct {\n \t{\"nCipher\", \"Fastness Crypto\", NULL, BLIST_FORCELUN},\n \t{\"NAKAMICH\", \"MJ-4.8S\", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},\n \t{\"NAKAMICH\", \"MJ-5.16S\", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},\n-\t{\"NEC\", \"PD-1 ODX654P\", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},\n+\t{\"NEC\", \"PD-1 ODX654P\", NULL, BLIST_FORCELUN | BLIST_SINGLELUN |\n+\t\t\t\t BLIST_NO_LUN_1F},\n \t{\"NEC\", \"iStorage\", NULL, BLIST_REPORTLUN2},\n \t{\"NRC\", \"MBR-7\", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},\n \t{\"NRC\", \"MBR-7.4\", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},\n", "prefixes": [ "v3", "7/7" ] }