From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEFCD2135C5 for ; Tue, 30 Jun 2026 20:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782851059; cv=none; b=DUqBWSUHJEW/pHoCHmJnWq4VY2r9GAT6Wc3qmV+7BCAStumsbTNcz/9WZzPIIwzn8lWoQ1iogApPFHwB8RtmRRoCO6HcUblTwUODsqn3J8NHZYMSMz2ppC1v1w5VWxf9/n4cSHUFZftpqhRw/ogpJ/VxHrHNf05XLsT1g9VDNNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782851059; c=relaxed/simple; bh=b2VhNvXrHCrhosk8OuiXbSxaibv0yuL8K3YtVNw9Aqg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=j0kHuOmGyQ8o+rg+vLK4xonyVavmnlNBxXk1t3LTQfg1jyHjYTR4Oi0uyVDaio/WeMFDFQzgkRFNTMY2aJrokjqKkSFXlSc4Zo8Mu+L8TJLGERFRaX5UVqqd8hiaTGmF9rnCdLTGhTGpiPrJC6jLUZZ/utJflydz8BoilVuZ+A0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Bkvkxold; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Bkvkxold" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-8453427d3f4so2353973b3a.3 for ; Tue, 30 Jun 2026 13:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782851057; x=1783455857; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cC8fzwBv6xibExzUk8Zd1lAmfRWnIh89Kfn8/etfuyA=; b=BkvkxoldVp6hG/dxW12tBOtMCKVuuE2b/4mkwum+4976rMTVATdsshGS81cDTO8GuU udD/p5+9GQahMpp2XgOxzybeyFeXgI4DknHT0W2uhEdB9qncuTkNLt7wqLMpVIBMCJzh oVSIKDK308Frv5p+TUGjB0Io1n13AEMBccBpBtmQA0QUKux9bd3/6AphkwkwUHDc6CZj 6zs+SLn5e9HvmLw2XG/rhi3Ulk1gZl5Ul+BpfyBQU4bvabJvUJe6SULfvS+Zcys4hZMG xLvhyL1CZGkhsNZa8oL+sRZOj884XTew6ROBVJkGl4tJheuh7g9I683WKXZKN9NGdOjN s4zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782851057; x=1783455857; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cC8fzwBv6xibExzUk8Zd1lAmfRWnIh89Kfn8/etfuyA=; b=s3e0fdZlhdo9catuhKlRdA8ka7mjGraryhjM8BeqlOCqXeo6ZMlkWTrvYyLgAvKjUj e/Euiwgl82pBViyUIlFyFUsF5qpcYV0ktd0Kp8q4ylt5iUZY98XeFloPtUqA/NuhWeJw 3jFFchQ5Uf3BKL1xKCbeqX+rYBMsQcTo4ttoTXYkmPmMGTgec2et96KhgZ6ntmmVVpNj CzGd6cREgT9QrX5xzI5eONrO5fapiqpT+Byxt2m1ALVCaBH6NZt+sLSY9LEFWVvZwPUP hXGqpzbYb6Is824PeQbc5F7iq/SLL4QvEklpD62T0l/x9UqajvNvbMT3Um+fpz8QrdcV pzBw== X-Forwarded-Encrypted: i=1; AHgh+Rrl9mOswJrG9CVk/6ZlXwigSEbsWILUi8TO9iEZB6yJZITYitCuZT08uYFfNb0v3TXL/mXS6A6gf0VnUks=@vger.kernel.org X-Gm-Message-State: AOJu0Yxu9KgTjhUePv0EiYnifwDwpYirvytOSV1kZ6BzmO1PPjP05sX2 DO2emdzEtHUq7dm4vyWX8GusYUH34FH7WzuRqf4x1e7G5luE7rStuXqh X-Gm-Gg: AfdE7clsCwbAIYKWzzeEGqvyYa/W9MVatpIRJ07ixo9mrhRQEGcPem+QgtSJ6ojroPU Wxoj3aNrcKPeLrQgC0SVOocEEsOQM7oX15d7j6U04gyg2rdPtdlM87T1DN5CWgOJy1LNWjTnwS/ mSAD5Z96jXrjkSgqlZBMr8XxO6f45u3ZNztUMsfxiF0FBWkHKm0mK/PT2wyANxogIHJWYRDpyKJ UehNo0o3vmpHoTcpXsEThVP9v+RUutOIelGXUxajzloqROCAXO7ANADFarEXwVypuxcbP9esqwp orAioLYGkO8kLF3zX/Q5ciHYtEB79pNxspaJ31jCBPydjJZfhVG5hNVZH4HJ2FQl09u7Ord4c/r gTHOwyYdiI9bE9bSLXBnSNyZvAE/971Sj4fR9Av4Lnj1YctT409xsj5FpjtaSbd7KROsGAQNZfQ 6BrhRN0u/duHPhf1r4b0QI36wXisDQUPcXb327Iljdl92kAux8WWe1BdPayc8/g4unuQ0bPLKgo u/E2Pghip1Nay238nk8 X-Received: by 2002:a05:6a00:451b:b0:842:7296:dba with SMTP id d2e1a72fcca58-847add682efmr1714088b3a.7.1782851057029; Tue, 30 Jun 2026 13:24:17 -0700 (PDT) Received: from ryzen.lan ([2601:644:8000:7a86::e35]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-847a0337121sm2688854b3a.44.2026.06.30.13.24.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2026 13:24:16 -0700 (PDT) From: Rosen Penev To: linux-ide@vger.kernel.org Cc: Damien Le Moal , Niklas Cassel , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 0/5] ata: sata_dwc_460ex: cleanups and interrupt ordering fix Date: Tue, 30 Jun 2026 13:24:10 -0700 Message-ID: <20260630202415.234463-1-rosenp@gmail.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This series modernizes the sata_dwc_460ex driver by replacing legacy OF APIs with their modern device-property and platform-device counterparts, converting old DMA resource teardown to devm-managed cleanup, fixing a latent interrupt-ordering bug, and dropping a redundant stack copy of port_info. Patch 4 fixes a real issue: sata_dwc_enable_interrupts() was called before the IRQ handler was registered, so a probe failure or an asserted interrupt could trigger an unhandled irq storm. Rosen Penev (5): ata: sata_dwc_460ex: use device_property_present() ata: sata_dwc_460ex: use platform_get_irq() ata: sata_dwc_460ex: use devm for old DMA resource lifetime management ata: sata_dwc_460ex: enable SATA interrupts only after IRQ handler is registered ata: sata_dwc_460ex: drop redundant struct copy of port_info drivers/ata/sata_dwc_460ex.c | 66 +++++++++++++++--------------------- 1 file changed, 28 insertions(+), 38 deletions(-) -- 2.55.0