From patchwork Wed Oct 9 11:21:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13828234 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 561F9CEDD8A for ; Wed, 9 Oct 2024 11:58:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=w8bEMX39HCQ7oypxWwVa6yTzZiCgPg5rGUasi0elpSc=; b=X0Ph5ZOuQ/MRkn82tMx8kJKpku BVbDG6LeSQIss0SSltZP0THRptMyEqVQKlotxuAqTP67J0LeHVQIfhU86IQqiHHYFgbm/krQW1F4a MM/82Mz6wYq4FG+M4jCmoWyDVZfk3Gvz3Aq+nr3gHvjEhM9IoqagVi4X+F71TSuoQ49r6YqFKwsp7 jWtaOcDN9bblkfP+UapDKueKPzXFdbG0r4ScqM9Ey2Y1J74OVFChiZvsvkn+4NYSoyUg1EZq9fQEr azWMgfh3o5bYjCFGfBmlLUAuhu2l8MzPCf0ghVXcx+C+swn6Lq3x2cUeQsxfyW2ghdn82elfPQ3/U wsX+5RBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syVK7-000000097Uz-1aNn; Wed, 09 Oct 2024 11:57:47 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syUlL-000000092RA-0HrC for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 11:21:52 +0000 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-42f56ad2afaso89586045e9.1 for ; Wed, 09 Oct 2024 04:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728472908; x=1729077708; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=w8bEMX39HCQ7oypxWwVa6yTzZiCgPg5rGUasi0elpSc=; b=DtypC/6OdovRyNG7ncxtmqL1N9N5c3HPOsUo0mpeYV3qxbxR3RF7X9QJfG2aned/Uk MPh/3Jlb90h80ygqOljvWnA7eFfCXE8K+gON0EKLVZpvCzdZYLXwR15ifWVtvVssQPTW 9UbRSLSDXcR6yORSTcZYCqYwVX+aHLIilmL0xagD0C+QiQt0tQVkt08fsLsdq2R6IWp/ mxdcZmlsgNqFCKc1/zr61ToYdO2/H5bI6Rx8IgJwKjUZEEBo1oPxd5XZ3gch7TBdNAMR hHKf6iq+C/3CfNa5ArjM0DYSfAfxcHGtseDUw4b280FExC8isKu2LBwhITh76QH7/2n5 f+Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728472908; x=1729077708; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=w8bEMX39HCQ7oypxWwVa6yTzZiCgPg5rGUasi0elpSc=; b=rWe67l+UgoAk4OX/Mm2aTkSiy+Cce2sH4OqmehoVtl92MqpIN4YdQTWsmRo9LgtLAz zML6CvLCLuaWWaDbA0AJ0zx9FqJLWAYkj1I5iPXtrGdqx6E4h2mS4Qb1oTrch+XJ2pKw C8nrxo4+IKf0AOzP+4jYwsSH4tm0qgeVQsfIAUqAXiIOlf5R1KOHg4xT4hdXvwZI6qXe hZFfHy+h82A3Hu6KOHj7Nsn6O99CwuoqLET89Vpln1HeNFDoPv1UfS9RktN/mqfZZEfM o8dKiX8YZ7XdEn2/cGR+t7wH1gYgsmXMYJPzZXZkdyvSL/tdQVzUvwAOLdT3TFbZUF4M KbPw== X-Forwarded-Encrypted: i=1; AJvYcCWooNDRiAIWnq94LeUnj8de4PQo8qG+W2jJcAYzH6ecxAK7jwScXaw73i9SPyUlVqMJE3Y2prE7dZnaDWxHG4cc@lists.infradead.org X-Gm-Message-State: AOJu0YwxhsUlZ+QcwvX4AVIvDkN7YZRcrWqdCgDkTKmGILWhKQWp+fdQ 8yvTBwPhPAbcHxdOi4HGm8i0w8OJBHt6FGO63avzEeRniyQyORf4QjnUJQUKbGE= X-Google-Smtp-Source: AGHT+IFlsSsUBahib/8ngPAeagyTEBcN/biFoRNJET9VKN3gwYg6BtDzYVe/x/rkxByCtgvcRZdRrg== X-Received: by 2002:a05:600c:3551:b0:430:570b:4554 with SMTP id 5b1f17b1804b1-430ccf04213mr20828715e9.3.1728472908472; Wed, 09 Oct 2024 04:21:48 -0700 (PDT) Received: from gpeter-l.lan ([145.224.65.7]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4310c3dcdcbsm12331445e9.0.2024.10.09.04.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 04:21:47 -0700 (PDT) From: Peter Griffin To: alim.akhtar@samsung.com, James.Bottomley@HansenPartnership.com, martin.petersen@oracle.com, avri.altman@wdc.com, bvanassche@acm.org, krzk@kernel.org Cc: tudor.ambarus@linaro.org, andre.draszik@linaro.org, kernel-team@android.com, willmcvicker@google.com, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Griffin Subject: [PATCH 0/7] UFS cleanups and enhancements to ufs-exynos for gs101 Date: Wed, 9 Oct 2024 12:21:34 +0100 Message-ID: <20241009112141.1771087-1-peter.griffin@linaro.org> X-Mailer: git-send-email 2.47.0.rc0.187.ge670bccf7e-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_042151_230939_EF21C221 X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi folks, This series provides a few cleanups, bug fixes and feature enhancements for the ufs-exynos driver, particularly for gs101 SoC. Regarding cleanup we remove some unused phy attribute data that isn't required when EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR is not set. Regarding bug fixes the check for EXYNOS_UFS_OPT_UFSPR_SECURE is moved inside exynos_ufs_config_smu() which fixes a serror in the resume path for gs101. Regarding feature enhancements: * Gear 4 is enabled which has higher speeds and better power management * WriteBooster capability is enabled for gs101 which increases write performance Note further patches in a separate series will follow to enable UFSHCD_CAP_HIBERN8_WITH_CLK_GATING once the phy hibern8 interface is settled over in [1] [1] https://lore.kernel.org/linux-arm-kernel/20241002201555.3332138-3-peter.griffin@linaro.org/T/ regards, Peter Peter Griffin (7): scsi: ufs: exynos: Allow UFS Gear 4 scsi: ufs: exynos: add check inside exynos_ufs_config_smu() scsi: ufs: exynos: gs101: remove EXYNOS_UFS_OPT_BROKEN_AUTO_CLK_CTRL scsi: ufs: exynos: Add EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR check scsi: ufs: exynos: gs101: remove unused phy attribute fields scsi: ufs: exynos: remove tx_dif_p_nsec from exynosauto_ufs_drv_init() scsi: ufs: exynos: add gs101_ufs_drv_init() hook and enable WriteBooster drivers/ufs/host/ufs-exynos.c | 73 +++++++++++++++++++++-------------- 1 file changed, 43 insertions(+), 30 deletions(-)