Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C7B228E5F8 for ; Wed, 7 May 2025 19:05:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746644726; cv=none; b=j/82DWxPIAtxY/iqU2LG9jHQiQAC4+SlaVIYmOUCcgfrV8pr7z/bajgMmkIChkVEz2werzEcNV3RT/VqRhlw5xOOepU0p6tM6PLVb1bjZ4MtVWnAoLiQyxDT/C9iGwHfxXsKHltuQVMwaHfxbTuXGciXqgsjKlRqOvXDS6orfgQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746644726; c=relaxed/simple; bh=ArXRECZePX9nR53th53onl2ZCJR2NcBY5XJZ5S+hN8U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=e7LnNIZP0NazDdwcIcZCNaGJq5JGZK1VoOod0xFAXgJGI5MgnE11s+0hJrNJXDwvHFnExVCJFVhz282zlVwiCK2RCCZTnrj2SRL4lqsYh4+0xn1qZD/IZ0qi45pEbLecNTsAX4h/RqV6OCwDDHin/O4cFc4D2vFMvKRiJ5qMW9Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=iNgXu4BQ; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="iNgXu4BQ" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 547DYIpR013233 for ; Wed, 7 May 2025 19:05:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= +SHDmPRfAeDjssx8L+cu2l7LCPnVp2BGSEPoSn2MUB8=; b=iNgXu4BQN8U92D6D Lxf9aOjh+Vb2zIhmTz2xMpMRID9F5WtGLTuDNmZ0fWZjsLoOVBpVJJGGA3AyVm8N i5S6rbAo6tcwUIBENLofOj26VB0thosM8mqr1BtAZQ/bG6wW4mvKa3jkjkiD2FHN dCcI5OA3/Z+D0ToO88pqAq/lWKPC/Tqs43y06TrgeaHC2XRwkTGasAQAW79t8qbO DBRZRY5h/xL0PtidAbmVSy8GepBaUYkjv3tdj66Xo/hTuA9/oCsf8Tj6VInE81k6 I8WSpylLhlVdpshdngSxHx45/y8XddFVgDKGXTNrLzRLWO8czpUMB6GXh2FH7+ot 4bDrGg== Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 46g0kh2e3a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 07 May 2025 19:05:23 +0000 (GMT) Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-6f2c8929757so443806d6.3 for ; Wed, 07 May 2025 12:05:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746644723; x=1747249523; 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=+SHDmPRfAeDjssx8L+cu2l7LCPnVp2BGSEPoSn2MUB8=; b=k5oCjxYVpyZU3JKHRVbj4zl7Nf30DxCj6vBMlJvnRGDPQXR6Q7m/si/nJ+HVW8b26Z nHphkdnqklNmIesgOOZFxIIFTQ+jbiKxd2dMgqDnlnih8PQixi72D55BqdEeD7qkH7jp x2qGpZAbHbqZYTtj/dZ3BUUAupYTW9fdhXPiAVCUrAiscHGzwWJHxG+DHj++vYbYBcWB xf+539wuFyeE0lfN42hZRvrSlhreo8OSC407dZQpt9Iw2dNVGQOhBYtcbt9h0MnWCdxE 5icoEMoYqmUOq0SBxAuE/jxmySGn+RPKGbQnZZXLDsM9nZSBNlfF+YtOh2gNSXdJCLKW AwcA== X-Forwarded-Encrypted: i=1; AJvYcCWniavNyiTiUq036iNvNbYm6IENGV26b0WX6n1ZIN6QCWi6eRDRS9+Gj4xsXOceNnMEWwuh3mP5iMHBQ33u@vger.kernel.org X-Gm-Message-State: AOJu0YyE2aQWXvUaOvoiAu/db5fyjAehh7yIit56QKZm5NpIzRBa8/As tNi2wEhGjWeG5aksqydNncjrItrb1j6NhcOgVHHluYNBh46Tri6HPxCltsU18IBZTr5TN++sUe7 gZkj4XaFqh0Jfq5H/aTCkKekpaGOxu8QGJdzMGw5tiPdwb9P9KiXxlHikvnGNxRwX X-Gm-Gg: ASbGncvrbdmppR5vu8NJ5g8K8McE4yLx0pT4/WKJ4YZ9CKOeghtpfAshBbd73Y8Pw37 sNbtooDyKgcFsagESQj/MyydBII76fUes0jAmHhJ60nvCQdE1S1Ak80iu8EQPu/CfBkzTLMwa9q 0l+LxEj9CzSqnZcqnJpu/v9NntIMWtCAVPtY05xgRYtB9gphcOLS/XMrqB1jLfVsO6qiNwP/tbW kwnmC8xSaO2/tKJsoZpYy+h02dY/hP1trNd0GhvV2OgJbcjWIU6mKIlxVxoMfTYnooS62gn51u9 jSIeW4OONa4EHo/FhQ0sTS1hAuFogZwLSGh7oEMldOFdYtKH7hhM1RsTMOJ385KQqE4= X-Received: by 2002:a05:620a:318f:b0:7c5:6fee:246f with SMTP id af79cd13be357-7caf73734camr275202385a.1.1746644722761; Wed, 07 May 2025 12:05:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHi8oUmL4ldGmEKyWAOMA5TwxCGWZERQSSET3xMoBXXRc5YWp0bJOTj+IEY5QkdrpAQaT3HLg== X-Received: by 2002:a05:620a:318f:b0:7c5:6fee:246f with SMTP id af79cd13be357-7caf73734camr275200185a.1.1746644722249; Wed, 07 May 2025 12:05:22 -0700 (PDT) Received: from [192.168.65.139] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ad189147329sm949542466b.1.2025.05.07.12.05.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 May 2025 12:05:21 -0700 (PDT) Message-ID: Date: Wed, 7 May 2025 21:05:19 +0200 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/msm/adreno: Remove MODULE_FIRMWARE()'s To: Rob Clark , dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark , Sean Paul , Konrad Dybcio , Abhinav Kumar , Dmitry Baryshkov , Marijn Suijten , David Airlie , Simona Vetter , open list References: <20250507154723.275987-1-robdclark@gmail.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20250507154723.275987-1-robdclark@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTA3MDE3MyBTYWx0ZWRfXynfgbQ18wjXY /9Oq6Hin/c2pv+s4ULekp03A0X3VktE+yDxEbtFm1GqwlMzLiytK0HffXAmQFAlZHuWFDmfndf+ Ssm/GsAmkk6p1/vLnana2GvQbc+eOpphndNwsq+q1CRWRKw9Jz0jIeUPMBU1Y+rfLtGl6uewVrO WnUgDDD+1rLzya/aYDeBWGNjX/VNgVQ4Nqg0LMBA7R6Up2VjenU9hSGsjB0NhwVLChcB6cdOoHo BjaHbB5UMIzigc4ZyJNVoUiiHr8dEJ579I9SsfW+FRlIeXHeQTSapKVRd9IlFEBV3NdkF81jRTK YpmMHSibpv0Q8X9v63ypQZ+tdFePq+KN//cVlM/wqF38sIPmK1YXkYHsJzFvHBm4iQPdTSuG2Kh z4zQBdLgeqxcNvtR4RKttSba7UeIGUNoNXQTVpHybTWauNZ6ceoj5szS8RAWqj0otBww7R3V X-Authority-Analysis: v=2.4 cv=PNUP+eqC c=1 sm=1 tr=0 ts=681baef3 cx=c_pps a=oc9J++0uMp73DTRD5QyR2A==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=dt9VzEwgFbYA:10 a=cm27Pg_UAAAA:8 a=EUspDBNiAAAA:8 a=O4ZBKxZU-tJ0OIaaHa0A:9 a=QEXdDO2ut3YA:10 a=zZCYzV9kfG8A:10 a=iYH6xdkBrDN1Jqds4HTS:22 X-Proofpoint-ORIG-GUID: hYCkvvqE89YLJ0C_dGkNJIJBd_QaDc6r X-Proofpoint-GUID: hYCkvvqE89YLJ0C_dGkNJIJBd_QaDc6r X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-07_06,2025-05-06_01,2025-02-21_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 mlxlogscore=842 malwarescore=0 spamscore=0 clxscore=1015 impostorscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 mlxscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2504070000 definitions=main-2505070173 On 5/7/25 5:47 PM, Rob Clark wrote: > From: Rob Clark > > The driver handles the case where gpu fw is not in the initrd. OTOH it > doesn't always handle the case where _some_ fw is in the initrd, but > others are not. In particular the zap fw tends to be signed with an OEM > specific key, so the paths/names differ across devices with the same > SoC/GPU, so we cannot sanely list them with MODULE_FIRMWARE(). > > So MODULE_FIRMWARE() just ends up causing problems without actually > solving anything. Remove them! > > Signed-off-by: Rob Clark > --- it's probably the best decision to avoid all the mess.. Reviewed-by: Konrad Dybcio Konrad