From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31D72158170 for ; Thu, 18 Jul 2024 08:06:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71C98E2ABC; Thu, 18 Jul 2024 08:06:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A6A3E2ABC for ; Thu, 18 Jul 2024 08:06:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27554340C7C for ; Thu, 18 Jul 2024 08:06:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 864A01E2F for ; Thu, 18 Jul 2024 08:06:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1721289893.32e34f32409cfe76a974e6f53f48872e894ad83a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/asahi-sources/, sys-kernel/asahi-sources/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/asahi-sources/asahi-sources-6.9.8_p1-r1.ebuild sys-kernel/asahi-sources/asahi-sources-6.9.8_p1.ebuild sys-kernel/asahi-sources/asahi-sources-6.9.9_p5-r1.ebuild sys-kernel/asahi-sources/asahi-sources-6.9.9_p5.ebuild sys-kernel/asahi-sources/files/asahi-6.8.2_revert_spi_stable_asahi.patch X-VCS-Directories: sys-kernel/asahi-sources/files/ sys-kernel/asahi-sources/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 32e34f32409cfe76a974e6f53f48872e894ad83a X-VCS-Branch: master Date: Thu, 18 Jul 2024 08:06:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dcc55e66-32e4-4915-9d8e-4fd667e38b32 X-Archives-Hash: 17bf18e3428903d45572dbad4cf6fa0b commit: 32e34f32409cfe76a974e6f53f48872e894ad83a Author: James Calligeros gmail com> AuthorDate: Thu Jul 18 02:53:40 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jul 18 08:04:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e34f32 sys-kernel/asahi-sources: drop stale SPI patch This patch to SPI breaks M1 series SoCs and should have been dropped with the 6.8 series. Signed-off-by: James Calligeros gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37599 Signed-off-by: Sam James gentoo.org> ..._p1.ebuild => asahi-sources-6.9.8_p1-r1.ebuild} | 1 - ..._p5.ebuild => asahi-sources-6.9.9_p5-r1.ebuild} | 1 - .../asahi-6.8.2_revert_spi_stable_asahi.patch | 46 ---------------------- 3 files changed, 48 deletions(-) diff --git a/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1.ebuild b/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1-r1.ebuild similarity index 96% rename from sys-kernel/asahi-sources/asahi-sources-6.9.8_p1.ebuild rename to sys-kernel/asahi-sources/asahi-sources-6.9.8_p1-r1.ebuild index ef7185794376..551f5fbce65e 100644 --- a/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1.ebuild +++ b/sys-kernel/asahi-sources/asahi-sources-6.9.8_p1-r1.ebuild @@ -58,7 +58,6 @@ DEPEND=" UNIPATCH_STRICTORDER="yes" UNIPATCH_LIST=" ${FILESDIR}/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch - ${FILESDIR}/asahi-6.8.2_revert_spi_stable_asahi.patch ${DISTDIR}/linux-${ASAHI_TAG}.patch " diff --git a/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5.ebuild b/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5-r1.ebuild similarity index 96% rename from sys-kernel/asahi-sources/asahi-sources-6.9.9_p5.ebuild rename to sys-kernel/asahi-sources/asahi-sources-6.9.9_p5-r1.ebuild index 4b6fa5c16640..c7a931cddb78 100644 --- a/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5.ebuild +++ b/sys-kernel/asahi-sources/asahi-sources-6.9.9_p5-r1.ebuild @@ -58,7 +58,6 @@ DEPEND=" UNIPATCH_STRICTORDER="yes" UNIPATCH_LIST=" ${FILESDIR}/asahi-6.8-config-gentoo-Drop-RANDSTRUCT-from-GENTOO_KERNEL_SEL.patch - ${FILESDIR}/asahi-6.8.2_revert_spi_stable_asahi.patch ${DISTDIR}/linux-${ASAHI_TAG}.patch " diff --git a/sys-kernel/asahi-sources/files/asahi-6.8.2_revert_spi_stable_asahi.patch b/sys-kernel/asahi-sources/files/asahi-6.8.2_revert_spi_stable_asahi.patch deleted file mode 100644 index fc6522e205b8..000000000000 --- a/sys-kernel/asahi-sources/files/asahi-6.8.2_revert_spi_stable_asahi.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c -index 46f153548760..d1b297f438f1 100644 ---- a/drivers/spi/spi.c -+++ b/drivers/spi/spi.c -@@ -1042,14 +1042,10 @@ static void spi_set_cs(struct spi_device *spi, bool enable, bool force) - if (spi->mode & SPI_CS_HIGH) - enable = !enable; - -- /* -- * Handle chip select delays for GPIO based CS or controllers without -- * programmable chip select timing. -- */ -- if ((spi_is_csgpiod(spi) || !spi->controller->set_cs_timing) && !activate) -- spi_delay_exec(&spi->cs_hold, NULL); -- - if (spi_is_csgpiod(spi)) { -+ if (!spi->controller->set_cs_timing && !activate) -+ spi_delay_exec(&spi->cs_hold, NULL); -+ - if (!(spi->mode & SPI_NO_CS)) { - /* - * Historically ACPI has no means of the GPIO polarity and -@@ -1083,16 +1079,16 @@ static void spi_set_cs(struct spi_device *spi, bool enable, bool force) - if ((spi->controller->flags & SPI_CONTROLLER_GPIO_SS) && - spi->controller->set_cs) - spi->controller->set_cs(spi, !enable); -+ -+ if (!spi->controller->set_cs_timing) { -+ if (activate) -+ spi_delay_exec(&spi->cs_setup, NULL); -+ else -+ spi_delay_exec(&spi->cs_inactive, NULL); -+ } - } else if (spi->controller->set_cs) { - spi->controller->set_cs(spi, !enable); - } -- -- if (spi_is_csgpiod(spi) || !spi->controller->set_cs_timing) { -- if (activate) -- spi_delay_exec(&spi->cs_setup, NULL); -- else -- spi_delay_exec(&spi->cs_inactive, NULL); -- } - } - - #ifdef CONFIG_HAS_DMA