From nobody Mon Nov 25 01:42:32 2024 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 0BE191A2C0B for ; Thu, 31 Oct 2024 15:00:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730386850; cv=none; b=oJVHtc79CNidaji6Z2ViiZaOpDL4sC7Iceo2rmi8GKNHABXGIpPxchfHnggDQiKy75d4rKINtKw7bj1GML8bfT4RK0qHbDxtoVUeZ6rCwizKaTFWLfGSa2Dl5lZCWE/Sa6Vnbgtrh9adzk663SE3l9eh6zWVsasnSuINYX7gMHw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730386850; c=relaxed/simple; bh=ObJIfaZjIKHh2LbJ+suNUf2iHwIx5ihpEmFxKcO6q9c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=E1GDLtSSxjBazktJA5pyWgSlOravN+4R0JKoNUY4p6kT8J+vrAWMqgIXy8IZxPbJGfcCHyPBaWY5L5Y3LZsihhUM64J0Y9Ga1gQL0VnGotJGn35IgI5BtGqXLXg/BuPo+ySZpUJLz8dfId9ZnEBBSDEfNYbDDSW3CoJCEtnxwNc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Iod0Gc1w; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Iod0Gc1w" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-53a0c160b94so1153781e87.2 for ; Thu, 31 Oct 2024 08:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730386846; x=1730991646; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EGlRIDiWOIW/oUdNVyUFBt1pPENWr+qbw5BPnPtDdZA=; b=Iod0Gc1wm9r/tQcEGZhbGPRtblLbczKj7gskXDcJ3XZLbdZld/ihcXeUkSDRT/3HFB 1bWh00Z8fT2bP/irD/TvwZXSxTxyNYUsJrO7VRuWqmYANtoZCSMycbnEvceRqUzWBfn/ LEax47MJ+OIQxdiQL6pnEPdlpNgzEnsiYdfgJwQJ0ugd1t9DUX2xH1FQzNS5knIGU4rH zoT2+0c0g9yBP/4/8ffPeDIt1NJkxZKrs1V0X7FgJK1u1+QQpbcyZScZ13+SNyUnN5+a sF0A9NWYYefZZAOn+3RpTMmlpbUm77/1RfdBfVUBNUl1h47tGExQUcM1mPD0WNQrlhOX 6myA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730386846; x=1730991646; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EGlRIDiWOIW/oUdNVyUFBt1pPENWr+qbw5BPnPtDdZA=; b=QGvK21HdqkSqUh9r4xnsmEOQ8y6UQfWBbwN/HMfkTQowaaEQ4yOaaHPzymtuu89/Ot BxEOW6xfcqpOYoHU0ES29itlukrJbj25HJBQdQpgwnyFCsNX8/kp+IOpKN8YT0b2zZs3 A0+hNzrOPTeCmW2Q/a0mA22XilZRB5Pkn0ds71ZBKRS3L0jc/56Or6OikKlCWDVFB596 /dzyMehLnMaMvojmdxaIKSEEhL3FTcVBrRe3uPahRP+e9U6wwaMAIYx9J16YJSs9hpcq mCqHr6UV1WKjeJvGirnwo9lw7re26EHWgjDkS4imLUDV3b24PGZ1FH0jmcd5yqG7CKSU HpTQ== X-Forwarded-Encrypted: i=1; AJvYcCXAZBOTLccVNNmD02aYgXaY7j+v7QVOrYOzVOJvE25SPmohg/Uxo0JGEREfQr1bkpUwG/Z9vwF7Glh5W0M=@vger.kernel.org X-Gm-Message-State: AOJu0YxqvHs5pUbAHYHn8zBeDb0URMEABQ2Q6BLmaKfdXo/64jyp4zeR eRsDcRE6NtjaigJK8SNlOb95Lta99MxTEjwJKQql3MoVO+bpYO+6O/G7QWgEI4Y= X-Google-Smtp-Source: AGHT+IEXzbBlOP0V8hZQy8KaxBb5hcC2ucoOBrtqsnAW7CPkAU8t5qtuC/NhFTjTUjwZ36RRBVibJA== X-Received: by 2002:a05:6512:32ca:b0:539:93e8:7eca with SMTP id 2adb3069b0e04-53d65e02513mr162912e87.35.1730386845937; Thu, 31 Oct 2024 08:00:45 -0700 (PDT) Received: from gpeter-l.lan ([145.224.65.232]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431bd8e8524sm59163225e9.5.2024.10.31.08.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2024 08:00:45 -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, ebiggers@kernel.org, andre.draszik@linaro.org, kernel-team@android.com, willmcvicker@google.com, linux-scsi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Griffin Subject: [PATCH v3 07/14] scsi: ufs: exynos: gs101: remove unused phy attribute fields Date: Thu, 31 Oct 2024 15:00:26 +0000 Message-ID: <20241031150033.3440894-8-peter.griffin@linaro.org> X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog In-Reply-To: <20241031150033.3440894-1-peter.griffin@linaro.org> References: <20241031150033.3440894-1-peter.griffin@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Now that exynos_ufs_specify_phy_time_attr() checks the appropriate EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR flag. Remove the unused fields in gs101_uic_attr. Signed-off-by: Peter Griffin Reviewed-by: Tudor Ambarus --- drivers/ufs/host/ufs-exynos.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/drivers/ufs/host/ufs-exynos.c b/drivers/ufs/host/ufs-exynos.c index 0ac940690a15..e477ab86e3c1 100644 --- a/drivers/ufs/host/ufs-exynos.c +++ b/drivers/ufs/host/ufs-exynos.c @@ -2064,26 +2064,6 @@ static const struct exynos_ufs_drv_data exynos_ufs_d= rvs =3D { =20 static struct exynos_ufs_uic_attr gs101_uic_attr =3D { .tx_trailingclks =3D 0xff, - .tx_dif_p_nsec =3D 3000000, /* unit: ns */ - .tx_dif_n_nsec =3D 1000000, /* unit: ns */ - .tx_high_z_cnt_nsec =3D 20000, /* unit: ns */ - .tx_base_unit_nsec =3D 100000, /* unit: ns */ - .tx_gran_unit_nsec =3D 4000, /* unit: ns */ - .tx_sleep_cnt =3D 1000, /* unit: ns */ - .tx_min_activatetime =3D 0xa, - .rx_filler_enable =3D 0x2, - .rx_dif_p_nsec =3D 1000000, /* unit: ns */ - .rx_hibern8_wait_nsec =3D 4000000, /* unit: ns */ - .rx_base_unit_nsec =3D 100000, /* unit: ns */ - .rx_gran_unit_nsec =3D 4000, /* unit: ns */ - .rx_sleep_cnt =3D 1280, /* unit: ns */ - .rx_stall_cnt =3D 320, /* unit: ns */ - .rx_hs_g1_sync_len_cap =3D SYNC_LEN_COARSE(0xf), - .rx_hs_g2_sync_len_cap =3D SYNC_LEN_COARSE(0xf), - .rx_hs_g3_sync_len_cap =3D SYNC_LEN_COARSE(0xf), - .rx_hs_g1_prep_sync_len_cap =3D PREP_LEN(0xf), - .rx_hs_g2_prep_sync_len_cap =3D PREP_LEN(0xf), - .rx_hs_g3_prep_sync_len_cap =3D PREP_LEN(0xf), .pa_dbg_opt_suite1_val =3D 0x90913C1C, .pa_dbg_opt_suite1_off =3D PA_GS101_DBG_OPTION_SUITE1, .pa_dbg_opt_suite2_val =3D 0xE01C115F, --=20 2.47.0.163.g1226f6d8fa-goog