Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp86235rdb; Wed, 14 Feb 2024 13:37:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW2V4FYkjAZxye6IK/mxNTADRpJ7xVKrtF9NPeUf8b1Vl6crkiukwANxdXIEp83O/To3JJRaIho6zmNmOGq0NFhHBb1Or0I+FX551sNXQ== X-Google-Smtp-Source: AGHT+IG+3BIhWsEnHEjSTKQW4Yh0Kip6kktf2SpJJaGlhdAOR4In0WNi2lYhOcvvG7f5wQGVXS81 X-Received: by 2002:a17:902:bb88:b0:1d9:7a79:c366 with SMTP id m8-20020a170902bb8800b001d97a79c366mr3889449pls.19.1707946639493; Wed, 14 Feb 2024 13:37:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707946639; cv=pass; d=google.com; s=arc-20160816; b=HnjGZ/kanXjbXa4zCYz5eggtZc3KePUEwPdq3YCPucJl8JSElBBHhZ+GdfuYHCIH68 x0Vr2rymvzI2GjK4EZiwd2ZvmfIVlqaVe9H5l3mHNoJQKIBcHSRKSYMN/50zerLMlrA3 aGf5SFJBsUjYgh0vGBvwn9zBSdoEJWM/uyRXZG5mSj+vFBr974P07Tax3L5pp/Ztc/DQ IFywmGotUtYZvMseUxDyiaC3kUzxOUNnx/QRtYQ77goEaIaWbFqK8Tt863IA0ftKDonP EoHGoIJ1vdnMHrvpTcpDvAZqv8CTduoo5wt9xkjpnTneLNtpkVB1GYzTv4pXrzEtG8Nu cNfw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=kdvjajy/m8WQq582LYwS0Ial7lo5kPNQuYwBh1wlPaY=; fh=HgpMIK0HuQ7pcClVaBhocF+zxX0vdQVtWditSDi+11w=; b=Fx2CP0s7LGrkT/cjjvcuOFJ/YEB12gmlckOTTF2xh6doEWIVMzV7mucHpyYsIGzUd1 G6CP5HANePcdVP0L0fothm+s1MSwcEM6IaIX6aj2xdw0D4UqRMcW8IwjXcSPL0gxENi1 8rY4lMbPV78zvNb9PoouBNobLxuJF8AwunpoFdhUm5r19awAvp0LKVWJbfS02b86rUS8 kos8AGdW4cXoLp5UWHJeBJdXQp7SlojrJ/fwm2QpRJ/8WvaxsNRGj6pcymSVmU9hsyDK G4fo0UoUBzxGQXl3YVGzbTbciO/dl3owgiF4S6kvrMRjiKotrHJ/eSIDCH2EFJahcKsZ p3mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xJX2R8SM; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-65991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCVTElvlfqOuBKi6FMVTsTF8JalM5nzTK3RoW7fa5+bXzQRzKUyIvSAdFjfsJBz/Q9bYiao3Mzkqq5u/JRCyV9wMG3HnQRbkuHxKlDfaeQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q4-20020a170902dac400b001d6e4b51d1dsi4548814plx.539.2024.02.14.13.37.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 13:37:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xJX2R8SM; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-65991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2FCF028AB78 for ; Wed, 14 Feb 2024 21:35:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B621913F015; Wed, 14 Feb 2024 21:35:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xJX2R8SM" Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 2E3711B7E2 for ; Wed, 14 Feb 2024 21:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707946521; cv=none; b=rxZ3YhRs5m4kRKM3VOn5/Q4vA5YOVwerHacNsvbfsiLqO6FeBO/juXjbpFiu+IZizcR8G2mpYpaHAZQJMPOivufuwyBDyVmQkL7C0KP16IvyqPAN+QDAGEeeJItdJUPObWayQWrGZj1Was+P+FnRkNjH2Euy1yMMHKMtXvtJES0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707946521; c=relaxed/simple; bh=Ordcg0/SZituwraob8gVWOitjCR9zHa3yn1RsgecL5M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=F46zxb/f+RID+jKF5H8xrRWhQLC+Bj+rj2REd+EevV14Ke+CSzlFwwoZwLGHtU9LzNE7wbMTp4NZtfLYB/SAwpj4X20gZrHTNN7jTjjDIOMptwubct3fyd9TUt6aPwR8rKF5BZKWyNGmMkSPZdEboHZbTQAbAGf3oN4lVWBnKlo= 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=xJX2R8SM; arc=none smtp.client-ip=209.85.218.49 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 Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a3d484a58f6so20328766b.3 for ; Wed, 14 Feb 2024 13:35:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707946518; x=1708551318; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=kdvjajy/m8WQq582LYwS0Ial7lo5kPNQuYwBh1wlPaY=; b=xJX2R8SM0luOhBl4RlTOBwyeYW5LwT6QRMNY+AYjeLlEfVKx70Nixmt71Zs+nWA+QG woPBfJE3iOfCNqG9WPfXM38or7YRSvc7RJsF9N/JubooPaBegc33RXvpN8SWLobMOquj 7tez9hQyykCe25tWlwwl2jhq0s+XM/w4GA0bpZy1L4zWpfqwjsa+2+0pj0EwZW/PnN3l evMik/PXrBE64Bu1GIob+8XCpTym/CeZZuxuyxescT4J/huza/OXGFlTSbTdkURsEN2i i7QHc/EHJCLh5v2nqH7u3x6OQgIJSZJJI8NAn2BfC+EZoeXkTrQNAyXW4lARhrTt8jxu 9S4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707946518; x=1708551318; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kdvjajy/m8WQq582LYwS0Ial7lo5kPNQuYwBh1wlPaY=; b=fo+RldeYUB+CWjHhr07sCvj2Nn4+msEfghJoKGgGsL4fX8826A/ea8VW0kYMn1Tbue Vl3g7ZxGASTlfmzDOLeGuMfXNToKgmeEKZKBQsEgDY8fExZhWNub8sA2XGlcvQmRe3jU TfRHdhHfhVQqw4GgHTeSLOFSkiB+oim+VnjvWW2OKD2rJaw5y/RWm+KoH2zkThWP5vLp 5JBLyyHHzeMyWyLtfBNwXQSqGCkiMRgeVt1Bz5lp/w2rgcvfi907jwO8RYr6J2NUzt6p ysJv1Rt8XSnstUaejaqUiPaeRxC0JgxWYZPnCBBfudvYpQcZkC15JNDTyUJ43Dpw2x1k 93og== X-Forwarded-Encrypted: i=1; AJvYcCWGTB/GPEF1GB8WV+tSFrcW67StXtXEP4aWv/Cgr0WA1jwoWg2w8W2XlDnqnA9PbbhtN8bQrlmyd+dQbw+b0dAnW3JVj5zyLyxijgnf X-Gm-Message-State: AOJu0Yxo48/RZcIXzBkz/6bm2whXaPg2XifTXOJuUHPs5UsjbWzMuTGi WpCd+23lN3IgnGqSgWEGPtKvh0Zx3K0KaJ+Fe1C/smDZ7TlU5Xed3QfPojWpyDo= X-Received: by 2002:a17:906:408c:b0:a3c:c11b:e260 with SMTP id u12-20020a170906408c00b00a3cc11be260mr2414974ejj.68.1707946518406; Wed, 14 Feb 2024 13:35:18 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXM8km0OZWEuOrPr0p/jvnXfD02vFpBJnfmEIAFkT/zO1xCp6k0ZUYyz7nQjhn0CUWRviZS1ZagYUQ23viySYui2TsFNGP38uvvEksQKG26iel2B373tftuPS4X9sbF723qopxtUNqt/aJxy8U2fbO/vs4rLCgGJDemaYdQ2xbWe74jySij+qKlrD+3CmxuVjl/Q9DyDa5Fp9qG3dQ31FfVU6uITMD14WYDLA4Wd6gZ8eHE5L6HX5bPAheJsdRmEO47bnlyPx6YjDE4iDCtbGwW7rWRPRZNHPL2DrqvZmdif1XozKXiJez18+4+/u+fe6Kzf4JriV2PXnh6TNiF71IXEuOrgad/l5r7upylUN5sk/Ok23Msk26duQzgUMRpTtHXDO6Q Received: from [192.168.192.135] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id tk6-20020a170907c28600b00a381ca0e589sm2666887ejc.22.2024.02.14.13.35.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Feb 2024 13:35:18 -0800 (PST) Message-ID: <26015e7a-5e3f-471c-aa98-46a0dfb4d155@linaro.org> Date: Wed, 14 Feb 2024 22:35:16 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/3] PCI: qcom: Read back PARF_LTSSM register Content-Language: en-US To: Bjorn Helgaas Cc: Bjorn Andersson , Manivannan Sadhasivam , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold References: <20240212211703.GA1145714@bhelgaas> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7M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9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240212211703.GA1145714@bhelgaas> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12.02.2024 22:17, Bjorn Helgaas wrote: > Maybe include the reason in the subject? "Read back" is literally > what the diff says. > > On Sat, Feb 10, 2024 at 06:10:06PM +0100, Konrad Dybcio wrote: >> To ensure write completion, read the PARF_LTSSM register after setting >> the LTSSM enable bit before polling for "link up". > > The write will obviously complete *some* time; I assume the point is > that it's important for it to complete before some other event, and it > would be nice to know why that's important. Right, that's very much meaningful on non-total-store-ordering architectures, like arm64, where the CPU receives a store instruction, but that does not necessarily impact the memory/MMIO state immediately. Konrad