Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp137070lqn; Thu, 11 Apr 2024 17:10:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuMjswxoazOEXqLzBCJtQ4KnLZ3kY0SQfvjQErVC5Z9meCcPySEVVaeaX7Ix2t/Paw4AgB71blN6axB/TT/AdPbpS6XChVXsBqCRBnXA== X-Google-Smtp-Source: AGHT+IFfhYwwXcHnGVJvv6u6uYtK8tKBo3RTL6CZwowAwmExF7bsXvGx6t3/FY6S7jOGV1Zvqo3o X-Received: by 2002:a05:6122:90c:b0:4c9:2540:8520 with SMTP id j12-20020a056122090c00b004c925408520mr1437894vka.1.1712880646045; Thu, 11 Apr 2024 17:10:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712880646; cv=pass; d=google.com; s=arc-20160816; b=Tw49ame1m5WhFUTGskGuzX0cp0AB8BuUtDau3493+y9oxfN0JmjQg/Ut+lQirgHLiI FbJAOd+rzFPUCBsn/s0kTpqNUweLG/Ep7rqHnfZV26B3OeP2IAKS4sRNp6OyU3RZrD2c XEgbcIaa80VMFc5f2cZ/j/KSFVOMcidJ0M5+GZ5QPLSKPuYXhLuao3L24OYVcpjOZbnB jPFIHGw0/KCgkquhYqIblwQmOJBpwsd7z6PfXR7Sv9ypDru+Kgk2MiGAv8FtSh986NVk tJbAoflY31Rzg7EaabIYfcHai8RLlmYY3KlxL17RhmToMEUC5QIw3OWuuPn3IBFWVCU0 v5Og== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=uWeAeryC+HSBQqc05Jp0Ysdkpvfyotn0oaGu/IDriio=; fh=AzOBLYLzu2Yn9ACOwFXIJv18S/hGluHrNZkO/11pMFI=; b=OaIDSJY2hZYNc3N87ypAK2yqhhDj4V57ldsa3k4iEKyIgQopUwxkKzUa851Z4BxxNS A3ik5Etx6lFOkpC//e3dqAdKm3oGD5I2aLCLm8A36cQIbN+XaO9p95rCpB59FCGqRgcR N6yAUP4zQu3C0qOKbR2qjgVVHfn84TdLC/l6a17of3u5zcdG1ADnLmy7xzEcFroke53R 6VBkYsvOAhFHI6Q8rIbxIL/oL5ThjeLp7HhJmDk5MGcmMYJRrnquE5wRawXpmoX2JTOt 3s0Zy9sVL7dePtL3Lcf5YeGQeJBhkF4STh+d0B4fB36tVipsK+jO9LPxHJwGTy8HGzLP QnSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T93DSPFq; 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-141737-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141737-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u4-20020a0cec84000000b0069b535eccbasi1080924qvo.388.2024.04.11.17.10.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 17:10:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141737-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T93DSPFq; 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-141737-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141737-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B11731C22422 for ; Fri, 12 Apr 2024 00:10:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BA1C139D; Fri, 12 Apr 2024 00:10:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="T93DSPFq" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 56E921361 for ; Fri, 12 Apr 2024 00:10:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712880639; cv=none; b=hzsc50X1i8HDB3qWW861IaxkrYwoda0QoRkB8GhYHcWchYY2nH85hpMEl8aiFPcR3DFqItY/f1FWk9uZqIzW8I3T1DBwbqvWpaKaoTvY62iSijWhc8KjFJKifwEGoFnDWLQKqUyVfT/HU9WfRSGSrZKUq9guRnZ/doAEPW15h+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712880639; c=relaxed/simple; bh=sQTNnIYHgfKGUn3VmqYNRjZP61Vv3s3ZfEeOIWFjfQo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DBd5FCGXSmIT7UK8oD/+u/ojaxxm9rp0l4avgjRKD1XVwKxQL4pgpWiSE20F2d2NfJK42oJdb2f3oj9DeeKvoUDFxFXAffhEzSxS2MbhXOrtNaaclCkzImW7Nw/YZA3QVWYA9tW5Yee21J/WrquGL8znLOWEy1x8hmzVSfmNE5k= 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=T93DSPFq; arc=none smtp.client-ip=209.85.167.50 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-lf1-f50.google.com with SMTP id 2adb3069b0e04-516d487659bso489407e87.2 for ; Thu, 11 Apr 2024 17:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712880634; x=1713485434; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=uWeAeryC+HSBQqc05Jp0Ysdkpvfyotn0oaGu/IDriio=; b=T93DSPFqVQeokljdRYFMUv4jRvcYYhfecIuL5x9BQerhP3wIE1eHaMjVzCfInkz2Uj /Uusvkxu4lNtCNtPDb/yZ6qu+HvPH8lfdZ+44AXIJwk43ZJNYCmy+woij515sE5hOx2c eINbenHHqupvbTR86Y4FbdJ0zbIgM5ltgZ1aLPXMnWjGZj2lEKPZJQ38AWD0YCQKJ4W/ +TnGfvzITFBcLuU9GK73d7c88cflCu6Hr3DKKs6ETrFrpOjPBOKN1LV8u51lYYX7ksUO kww5s+UMiObg07wxW8VOtWdIkTzuHu8g483rPoJQpU1/V/EIMq8t8m+hJ6L2wl0tBxyB Wtrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712880634; x=1713485434; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uWeAeryC+HSBQqc05Jp0Ysdkpvfyotn0oaGu/IDriio=; b=MHvu+wKiJ+AnUunq0YV+miRZMWsBpMUk3i5/2dVb2OO3bPBLBSKuac3TQ+NMtID1NS OAOpPL1MP1XgxRFFFhk+C74xCpQC50VUjuzBy3gmTpjTQlLyCgZji4d5dPBbmvMOEWI7 SCSKGrUYCRWmGW+1BMjVi399WmI0coKPxzw2lkWMri2poQEiyA6ek2NWpNxgIyu8hEJF YcnLTZvL89A9l5hASiNaZvRFe4pav6Ef9SG1KMSDFJHKVlmiZ/1+ZbFq3Eb8Zw0O78VO QrMMCOrJOU2rao/HH7ePgWYBMu1qUDn09IzqeLvfTNUiFD5T+BhKf4CbdLxnZ+CWaCBg 7WDg== X-Forwarded-Encrypted: i=1; AJvYcCVxU0XNELOZdQN7/SY0/VZ6LjmVnTpc2dKzWunfNULMNyFkkWjSerMdJ4YHWS8t3srSw3aJ4RZmoW498+D0VcsXK86hIDibeSnuMbeq X-Gm-Message-State: AOJu0YwmaHJ6roA8imf2RgQNt8QDSHObksvYcX1NOM+s9kADkfIWSnPl WlX7akdsyf2Kt+2IDvYOP3PD+vGh/CmBgwcydaOkJ6qePORdDsa+b3G80Ue59vI= X-Received: by 2002:a05:651c:1543:b0:2d4:6c52:23d5 with SMTP id y3-20020a05651c154300b002d46c5223d5mr620714ljp.50.1712880634395; Thu, 11 Apr 2024 17:10:34 -0700 (PDT) Received: from [172.30.204.35] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id f15-20020a2e6a0f000000b002d868f2939bsm331735ljc.103.2024.04.11.17.10.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Apr 2024 17:10:34 -0700 (PDT) Message-ID: <7634a8ba-e783-46ce-be91-779cd603bd3b@linaro.org> Date: Fri, 12 Apr 2024 02:10:30 +0200 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 1/6] soc: qcom: Move some socinfo defines to the header, expand them To: Elliot Berman Cc: Bjorn Andersson , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, Neil Armstrong References: <20240405-topic-smem_speedbin-v1-0-ce2b864251b1@linaro.org> <20240405-topic-smem_speedbin-v1-1-ce2b864251b1@linaro.org> <20240410132510649-0700.eberman@hu-eberman-lv.qualcomm.com> <2c2bca6c-b429-4cef-b63a-ee3bd6c9eecb@linaro.org> <20240411130802689-0700.eberman@hu-eberman-lv.qualcomm.com> <20240411162849104-0700.eberman@hu-eberman-lv.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240411162849104-0700.eberman@hu-eberman-lv.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/12/24 01:49, Elliot Berman wrote: > On Thu, Apr 11, 2024 at 10:24:08PM +0200, Konrad Dybcio wrote: >> >> >> On 4/11/24 22:09, Elliot Berman wrote: >>> On Thu, Apr 11, 2024 at 10:05:30PM +0200, Konrad Dybcio wrote: >>>> >>>> >>>> On 4/11/24 20:55, Elliot Berman wrote: >>>>> On Fri, Apr 05, 2024 at 10:41:29AM +0200, Konrad Dybcio wrote: >>>>>> In preparation for parsing the chip "feature code" (FC) and "product >>>>>> code" (PC) (essentially the parameters that let us conclusively >>>>>> characterize the sillicon we're running on, including various speed >>>>>> bins), move the socinfo version defines to the public header and >>>>>> include some more FC/PC defines. >>>>>> >>>>>> Signed-off-by: Konrad Dybcio >>>>>> --- >> >> [...] >> >>> >>> 0xf is the last one. >> >> One more question, are the "internal/external feature codes" referring to >> internality/externality of the chips (i.e. "are they QC-lab-only engineering >> samples), or what else does that represent? > > Yes, QC-lab-only engineering samples is the right interpretation of > these feature codes. Do you think it would be beneficial to keep the logic for these ESes in the upstream GPU driver? Otherwise, I can yank out half of the added lines. Konrad