From nobody Fri Oct 2 08:25:50 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 028CC40099A for ; Mon, 3 Aug 2026 11:43:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785757422; cv=none; b=ZHndWgjOJGvgghMOT1/hDHbRGG6SAizxKnbbnsP3eFCwnyoxMcjtYqSkZBEa4nVjaByBTHjz0M/3J2ovaLalCmNponfWBjppUFryplOL91Ci3Y2QFGjzWZ+s27/2rD+L/5HtvzfuQ4xcoV2fq3VkChJoWJh7XaYEEx/ZtiRELLY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785757422; c=relaxed/simple; bh=XcDyHc+iSv4fsTSHHAOKUYjs6smr7ovPYCdxmXqyenU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tzF5YhfxMAQQD30p2xC4hgyi1L5uOUGIBXXA7cbw7mz3RnLwiwSxkxZEIKQFfEh6B/Kl0xcC/p2ko/2agWberednIpkA8moHxDhRmp9NVvWncqgXPOrg8NebbLhVai5FSud0tT+9OES3dlzJ8X7xvTBgXdmKXJBilNTpJXDfzsA= 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=Rh0kkQui; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=UN7F/zg2; arc=none smtp.client-ip=205.220.168.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="Rh0kkQui"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="UN7F/zg2" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 673AoJeM250882 for ; Mon, 3 Aug 2026 11:43:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=psya+kP+SLz PLCkCdsQbtDNZleEuaNlcpVwLASo8kns=; b=Rh0kkQuiAkT7qRyK2GZP+1SydgU amcK6VVyvWxLkrMNfA49llx+J1ZxFxUkVRXD0ACdGTRoCL5AbX/k1cE8KTHuPfD1 QkjGrQUU+2uoi6S6vjmRZkXnq//+AADuHn/2ah8GHxkpBKspMe73QO5ouYXd9hf8 PMlMfwTSaOdBi1RaoZoQDDUfRc10O+8zJD7K/KSSWZHVtoucUPZ61kP6XRsq/LdX /rZ+pq543XXjG9tTTRB4L9c/BP+eNSB2IMahwafEovM6OepSiTB+UKL+bE6MOhgu G1ltd2cNVRbLoMX9O5fVzGloRrROCUuxmbxN8+IP9ACa+zIOG6m2GH8PNLQ== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ftnrd9aha-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 03 Aug 2026 11:43:40 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2cc5faecf01so64163965ad.1 for ; Mon, 03 Aug 2026 04:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785757420; x=1786362220; 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:content-type; bh=psya+kP+SLzPLCkCdsQbtDNZleEuaNlcpVwLASo8kns=; b=UN7F/zg28cH7KjHgs348Kl/kpX754obFdk0MT/15gZmXgP2PgRuBf6UUzxj9gKiSes vjXmXNvVK2qTGydmkN3KED97BeUus1lhvTbVNHnHuZpPJTseD9y2UyV6k9Cajq1XjMuK T/pnktuje7gw3k17XnveQ3E+3K3uxpj0pcFJmOabyUu9a3KL4xuwPG5MgxMGpRVvbxdy vApvUgHbDGRUBGHRiQwCblpSHmBypPr7g+5/nRJBpRWT/rPZqef8dnSW2YvRjR48pRVL zeQ/OexlHZsxcz8Q+MMTuuYIIFQrkioRzISnTKO74xtWk06w4mqPQfKDJCewB+FBZ9vt W+vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785757420; x=1786362220; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=psya+kP+SLzPLCkCdsQbtDNZleEuaNlcpVwLASo8kns=; b=U4haVA7uMwDtk2heRPORxVIbNn740LhYBQSJMg4EcwzoMZPFLtPpPWHHj8rKsB5WGc gFUSksE0oo3Rv220m8Boo7cr1XMlYyF0KVnv6oG7n+jRzW4GJUf3IjuBeylx8uei8s4A 1LtMAXxBdjzHgN/sJZ9ymhpyJ28cV91UXpWM71Or6ghEm6AqGg1ct21cQbd2i4xPRDt7 qOhcnPyz3RCQL9HS4hVkgY10w3ZuEKn2yvVM56mvbLzVjr10qwJ/GmgVptS6tmIdrMR2 2iLs4I26e0R3uevkZa5kO75VjQ0hf1KkhTml2gfjLjchyz3JhfvbSwPAmSODy9q5wt+d Tm1g== X-Gm-Message-State: AOJu0YxWJpIwap+Q2sWiJ/trGwVDRn9E22zXMQhBtcZq/ERR6/uMKvvO ShbMXnvP00eKV6pJ9hI//Udj0hno6rqAT3qERaR8MthD/0sLvKDzrPiN46G3TUzrs6pm7QitdUV cjTJeoXy/wlpeYYmheX7UokmcC+FV/dAsCzuB2BSIASLI773GZVM3WjB4w0LqpGSHxA8qcAHLXn E= X-Gm-Gg: AR+sD13beRH88s+jKt5MlZ1ailF+vpFNHahTop2atoKXjJDqWtewH4y30/8DEq/uTVI 5FXOziq5AyzUdXIpRLvYx48fdU42YNI8vcXfpYN2mUP16/HUIC9czMqPwW3IPmIBHkkKQk49tC3 CaBt0s8/43/vZuQdWuLKbx5Jz9KG03YkbcFvOyuaYSyX+UhQPqVvzbigOIhFRvE/5gcBg1b3JXN yZuRZD3Jr4AkL9rUDdQCCTWnzLinJ5YAsEVyVqqYuokTax7v1GW8+YERHjQUk7aeDJSZHVCAtD7 ywS47hgkZvWrfYX0z52H1STd5lDNhLIeFown4nLxju3rok9bTxo7UAs/QWW8Jle43WbTmP1YEpk QdsbBrvQvuD335AYTm4GfJzylRVE= X-Received: by 2002:a17:903:2407:b0:2cc:9a86:9c42 with SMTP id d9443c01a7336-2d0524ac403mr103970585ad.45.1785757419513; Mon, 03 Aug 2026 04:43:39 -0700 (PDT) X-Received: by 2002:a17:903:2407:b0:2cc:9a86:9c42 with SMTP id d9443c01a7336-2d0524ac403mr103970335ad.45.1785757419018; Mon, 03 Aug 2026 04:43:39 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d04b0ea83fsm37110735ad.45.2026.08.03.04.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 04:43:38 -0700 (PDT) From: Mukesh Ojha To: Bjorn Andersson , Mathieu Poirier Cc: linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Mukesh Ojha Subject: [PATCH v3 1/5] MAINTAINERS: add rsc_table.h to remoteproc entry Date: Mon, 3 Aug 2026 17:13:27 +0530 Message-ID: <20260803114331.3277263-2-mukesh.ojha@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> References: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> 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 X-Proofpoint-Spam-Info: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfX5c8Blvi07ffI 4Af9ZxIlO3EMAjOd0v+ClBHySU5EnY6oj0WH6gibOsBz2CZUuxN0IZBkFF5MRia8PhP3OCXzgG8 OlbLAswmvMvncjDy25Jtd6neDfUrV/k= X-Authority-Analysis: v=2.4 cv=f/94wuyM c=1 sm=1 tr=0 ts=6a707eec cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=ob-EK7KtVxQGSle2nTEA:9 a=+jEqtf1s3R9VXZ0wqowq2kgwd+I=:19 a=ZXulRonScM0A:10 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-GUID: EfVzPV3UQNvBcvb3WZWajR0Z0tCUUsJG X-Proofpoint-ORIG-GUID: EfVzPV3UQNvBcvb3WZWajR0Z0tCUUsJG X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfX8+ATzSj8oHlu LRg6iOOXTaI3FBpQuW87qP5LnKP0gKn2SkyHf+sWDwTTHbF7SazXUPFYCn98Ige+OgIUgBGUVIr CfOQjXJJjYI+Wd5wbwsyQoodZQic1VE1ruHXLofZhGIxQF93J4bPLJSbBsdnoSLmGJlQqrFh0w8 791ygrIQ6gDBrIyaZoD/lyX3TZgeMofhA/5RMAaBWQOMgczoCjoTpRcaiFqN5T8PaWS15ghhkgD n4p50awlDLMnALvlL4aZzX4RrIgs0UZSofKLajj9/ZxNBhyBczBWyMkz5+gNl/tn8/1Mif2mKSJ kluGS/9QwNX+Lk7/G8acdgcDZmWcZVOBRMh6WclPTjH9cwyqg3ZWcPthjnpCnhvconkQybld8C7 vNRWrYlSgwnG0pjvRqJCMpqjlj6wNlBRG47p+58srNvx10ufh/xD/f3ewcFR6bnaflAoAzvJFxv XNwDKq/2dfDHcU6Hk1g== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-02_06,2026-07-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 malwarescore=0 spamscore=0 bulkscore=0 impostorscore=0 suspectscore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608030105 Content-Type: text/plain; charset="utf-8" include/linux/rsc_table.h was split out from include/linux/remoteproc.h to hold the resource table wire-format definitions. Add it to the REMOTEPROC entry so it is covered by the same maintainers. Signed-off-by: Mukesh Ojha --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 56b337a06447..433d737dc595 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -22957,6 +22957,7 @@ F: Documentation/devicetree/bindings/remoteproc/ F: Documentation/staging/remoteproc.rst F: drivers/remoteproc/ F: include/linux/remoteproc.h +F: include/linux/rsc_table.h F: include/linux/remoteproc/ =20 REMOTE PROCESSOR MESSAGING (RPMSG) SUBSYSTEM --=20 2.53.0 From nobody Fri Oct 2 08:25:50 2026 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 2A122403E89 for ; Mon, 3 Aug 2026 11:43:44 +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=1785757425; cv=none; b=iLTT+TJbVcG/TL3pefr90UlIL+rJgmj1FAkzdfTzBoglgjrxWMjou2Hp2iL12MvlXR/hnLYhRyBJ87ozCTI2i363wAPKIZnUOLyxaOJeWVe1xTYeAK6KjQyN12SScVNAkSuQ+lxUCrbrNW9taDv1F/nFVGedoxZ1cPBKpZHJgEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785757425; c=relaxed/simple; bh=lHZscjtvzZCsfdf5GgOgS/+EUWdCPyEeqt7aj7+aBCE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KajHPjEfpPw5WMUtK0kw6FGnVQ630D0Z+b4lPfbWAFRb5keBkMvYl9jFvuT6iQcI4M24/0JtiOWu98z2JqmK5EKGRhLNVRWjzw6mjPwtzOzFwKS59pgf46k1PXuS6hM3oodTaAzvBm4JNPP2ugwGnbuwSoDE4bKSWAUoRb9a8Rk= 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=HzlwlOBl; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=b9kHkezb; 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="HzlwlOBl"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="b9kHkezb" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 673AemHK4015797 for ; Mon, 3 Aug 2026 11:43:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=5CTAr045jKy zaBrP/rYtUtr0ILnc5SpLs/Qa80fjum4=; b=HzlwlOBlOd52N7k7XYEXlYZ+7+7 /klaQ9LiMetfL0xu33pyysjTL5PT4BoX6nmKxNGFVI8KM3jp7JWlNAQDJF4YkIjz daDVQYpObe5yUxsP1BSa58QzUCszYDGR7c6+nHj4EiCq065BWjZXW4P5SMYNqTt6 kQF/vu9G6Gl4S2dowYHqL1HG2VXXp1z9Jl+bRi30oZC5s9tsUHHWzF+hraTqSPsj KBC7GgJuz6/i7ePbNwOHgUPkf61L0d29ZctfF2SKMP237g7pdmaUafebTbgwtzQe ckHLVv3Oj2fWXVDmvViXeVvVzsxeTfJ3QcwWSocFqwY8i730RwG3QISYCMA== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ftnrt9b6g-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 03 Aug 2026 11:43:42 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2cc7e86e7c5so64876695ad.3 for ; Mon, 03 Aug 2026 04:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785757422; x=1786362222; 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:content-type; bh=5CTAr045jKyzaBrP/rYtUtr0ILnc5SpLs/Qa80fjum4=; b=b9kHkezb2Mzmbju+5lODPvEtlgjsG4PoXkrRy+cV6550150/6P8vmmutf8ZGxaIYab aEAylNMF5k21GGjIBileiaKvnJeT9tPCR6GqIw2jkFQlTIUFBSOA2WBBSWx1UFilf2iH sGqZZoi5r+6D7t5sQW7v1MOEuLpk1wvT0DrvyrUVjhxiarYeITtai7JCKIZDNwJ3k6e6 /WNEg5aQkknGeB8fVLz/1tXUu3t8wMFD3mtGbV8Yv22lOsyyBmsB6HFe1uZw5uk48Pv/ JPVpXt2A+WDsf41KxSzPyz/hB8iM1FnWhvXl3JWeuaHFHHsjpMNzej1Dn0BjV0Opzf1E 2gcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785757422; x=1786362222; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=5CTAr045jKyzaBrP/rYtUtr0ILnc5SpLs/Qa80fjum4=; b=V9Rgb80K7QijvKW2HnAK/SyFNZHIyitdbf2r2/mlMU+0rXU86tRnVE6qS3CM3I03yB y8AtRHCws+fYc1kV4KS/FeTGLvh+l8EMQBFuQvmJJ6Xyk+AGj5G75ds4dlQh6ENQnGcA l23JzWGh1I9KBp+/5PbE3Kln5+/xRMl9AGpksh6WNnDEf4eacWNlj2jMSBuHePAq1mdS 1yuw5dCS8MDGxCx/7C1DjvT+Vfi46CFfbX8TK3/c19AKD/Y4ezBpChbTTdwUzFtj8Kci FGPvTyw92Rik5U6qIS/cKsPYFXaEmGBjP+me72kPB4sDcOGKBJh7xqw0DFhV7peIEgom jjfQ== X-Gm-Message-State: AOJu0YwbBoqzs1JlBeKZE0VxMFWPsq+VyPUadvyiUt6/+lx5L4F3+E64 KwvVfrQ6VeN4zYQhslH7W+86vnFSMu8OnhJNXxUjMRl3dQobj0Pp+3B/2WRHSWwLsKSt4ISHZeL pHmHpg9ITRfUTlVdAcyXHEb5105MuSN0V+g1WZF2hGX8lXSOO+YGXCoAkIm9icXGa85c= X-Gm-Gg: AR+sD10a3gz2Xw4x3/Y1JcyDqG5bjFllSKqGOOZJkhgbdydpvC73vwMoYYyEPDmqxaD eu9J78zY7SzucRB8PDWmpCVQAT+Q+OmyIkPFGu3xNcmcUCU25i7TGYDAsV4vsO3hu2bvXjbxOw4 1vPKBmW+6ng9hF0cGPPXcZrWuKo4tPxthvnA1usZOmphFI1ivd0tOY76bKMTHmgJMTWA3JgynCL r+4sbgUkwtc4sR+Q3Z+I+atthwzn7XWC1oiwk1j54ned6hxPdkJRr4df9E7U0nXK8sW6XxPI748 XC5m3CEsuNyYpfo4BVpwti/iSRIsTiC+MkXB7uXk88HvSF/H9gv9+m/qQ8RK7g41ibkQe5ZEk1k b/WtlTC4DqqH19lBNHVNOuYzA1xE= X-Received: by 2002:a17:902:f78e:b0:2cc:98b4:e7d7 with SMTP id d9443c01a7336-2d052413674mr91661615ad.45.1785757421845; Mon, 03 Aug 2026 04:43:41 -0700 (PDT) X-Received: by 2002:a17:902:f78e:b0:2cc:98b4:e7d7 with SMTP id d9443c01a7336-2d052413674mr91661345ad.45.1785757421391; Mon, 03 Aug 2026 04:43:41 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d04b0ea83fsm37110735ad.45.2026.08.03.04.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 04:43:41 -0700 (PDT) From: Mukesh Ojha To: Bjorn Andersson , Mathieu Poirier Cc: linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Mukesh Ojha Subject: [PATCH v3 2/5] remoteproc: fix coding style issues in remoteproc.h Date: Mon, 3 Aug 2026 17:13:28 +0530 Message-ID: <20260803114331.3277263-3-mukesh.ojha@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> References: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> 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 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfX714Ln+H731k5 z55aJ8KzaGjiSobaVvWhNGV8Y5sphOY0j/2EoD0PEdik9qV+5yGSS6xZoGMLzZavxu6aLdqf3tZ +rVNFcC5BbOIMwM4KLJSuilHKYeVWFb3mESySqPmmkQMTybnPvAIX7aLi9/ZjiOBd13DDvVFhlp y5cR1bMszoW1DwM6+YKVLQLbO1QA36Wi9qXMF9XyODD2Rn4LBT8WLdVL7WUgLcBJndtBfJ5WMbB DcA01ZiK9RhhOYpb+RL8HmhpCNALhFBe4ZFKV8obtnu9gaDcjkwgp6bYO0tWxG/uGXJDU1pTaZO ph695MyL9Gtt8JkPn899jvv0kvzVFkbhEaFVR9S6MlzWTk1+p1lsPdH4jEOYvRxqIM4HGySUtzE dkPSAyWcreuQ477XLPgtDMy7ZJFNE4okyKXuaG7OOUmnQ1+Hdy2cr8wsnsZLYov6z4BXBAMg4f3 aZ0NZ562XH5/AZnIyew== X-Proofpoint-GUID: Lk_MMdRPEkYcPOXX0i97_F5yElxc7YDc X-Proofpoint-ORIG-GUID: Lk_MMdRPEkYcPOXX0i97_F5yElxc7YDc X-Proofpoint-Spam-Info: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfXwB54d9v/DVot ajdVLa3bgBr6qrAu6GZAEs5wfb/tm3AdohDXcIiz7OD/J3vsylNZdk4zdsJOcj5Us6Z3Mkkx19z /Oohg7V9zJPE70NEV/Rmm5qyWZtT8+g= X-Authority-Analysis: v=2.4 cv=Ft81OWrq c=1 sm=1 tr=0 ts=6a707eee cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=PIGfwsdRRb5bziVgSkMA:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-02_06,2026-07-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 adultscore=0 phishscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608030105 Content-Type: text/plain; charset="utf-8" The function pointer declarations for find_loaded_rsc_table() and get_loaded_rsc_table() had their opening parenthesis at the end of the line. Move the first argument onto the same line as the opening parenthesis to fix the checkpatch warning. Also remove a spurious blank line after the opening brace in struct rproc_vdev. Signed-off-by: Mukesh Ojha --- include/linux/remoteproc.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index ef711a5b1a7f..fe77436677f9 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -128,10 +128,10 @@ struct rproc_ops { int (*parse_fw)(struct rproc *rproc, const struct firmware *fw); int (*handle_rsc)(struct rproc *rproc, u32 rsc_type, void *rsc, int offset, int avail); - struct resource_table *(*find_loaded_rsc_table)( - struct rproc *rproc, const struct firmware *fw); - struct resource_table *(*get_loaded_rsc_table)( - struct rproc *rproc, size_t *size); + struct resource_table *(*find_loaded_rsc_table)(struct rproc *rproc, + const struct firmware *fw); + struct resource_table *(*get_loaded_rsc_table)(struct rproc *rproc, + size_t *size); int (*load)(struct rproc *rproc, const struct firmware *fw); int (*sanity_check)(struct rproc *rproc, const struct firmware *fw); u64 (*get_boot_addr)(struct rproc *rproc, const struct firmware *fw); @@ -382,7 +382,6 @@ struct rproc_vring { * @index: vdev position versus other vdev declared in resource table */ struct rproc_vdev { - struct rproc_subdev subdev; struct platform_device *pdev; =20 --=20 2.53.0 From nobody Fri Oct 2 08:25:50 2026 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 7C4BB403EAD for ; Mon, 3 Aug 2026 11:43:46 +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=1785757428; cv=none; b=B2lm0sNj4zUAPIJagnZAYAFHe4gTz+EK81eNCsItdtY7Id0E6BxP7d2AFNrBicEGuE8RH2d2ApOLPTArwY11HSQ2TuBLhe3zNnnBfDs0CDZo1wGSUWlWseMYdzqv+TcPxvpiklQ2NXTLIXnDev9KY8ZEllwWf7kaOZo1NSXQZXc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785757428; c=relaxed/simple; bh=3JUoEyMa0JKn72MvnaJ4d8JZLo3hjMy1NTJNOe45KK0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SmYCQLDpn01TrSH70/7WLDlC6kyYQpo7Q+wywGPwbRrbb56WrHXkcszJD9l9yLBM3HmkpCVmC0dhA2wPKxejmAnhR1alV6wVfCwwDHMaE+586tpI66DyIcVEGlCCnN3I7oBFvNSwH+6JXlKnA/C9mYdzTHR81B+zBnsUDI+zYgA= 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=I4elcgQA; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=DqQjsMac; 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="I4elcgQA"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="DqQjsMac" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 673B1iru3790731 for ; Mon, 3 Aug 2026 11:43:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=9rqzNBN+1bW 0zeyui9c/oOu03uJOYQ4kZuyrzlXJujE=; b=I4elcgQAcoOM6aAPNJ0/R8PJEsr dJXmyAo9bEGvfQDOO+n6GMtCANDf2Qp57a2PNs3lQ2CzJUXH8liIdgCyFgKjF25f YP4bpo/gjDMt/s9bUh/FKE1oaNxpz9h9i5wzrgDZGBYNqQ0IFTlEbrqyLxxMjMVO h3e0arVYXci/6Lmyi+dMmC1pgsTRVekkFTVCFcf4F4jnNhawfrwCULIfpsqoqiqS UXA1M1ONJj2FLIeouOsvKr/yQS5imxoxeeMm9sndMIaBvKh+faK2PFt/KoVNrBq8 8BmbizJK1vtFCepB3rsqYYcTt0D/v7sMLyjcZOybBo0QMrPeiSu9/0I8iyg== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ftp4r17tc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 03 Aug 2026 11:43:45 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2cc88e22f92so75635615ad.1 for ; Mon, 03 Aug 2026 04:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785757424; x=1786362224; 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:content-type; bh=9rqzNBN+1bW0zeyui9c/oOu03uJOYQ4kZuyrzlXJujE=; b=DqQjsMacHsrMPnnjbXoBPtyffo1Os494DaifgXnjJAjsTZvYnlni1XnTqNXKR74FWr Q3A0SjT1Qwpa+6FnE1dGueQ94Nuxb/NeK6D/C04+vJGuVftsf4DGLAsHDC4dbuy0VL6j 4KUx8NzRGwd1j36JtyTAH8RCIRom+hqh+xFz71wShPtbmIQRSXZ4SGyt8XnBM7fSQ3f6 iYUMp0D+3oZSLtaAbPHkCmykdbIsW8TWkW9RON1+WtMYWNJFU9v1XKeYwZUruvDUJv2F bO5wIgmvtL8Q8vJqPJAiolE02dyvXtAoc6qFxLoXHcvfP/1a2LK/J7b+4GEeGJpy6bfT yhLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785757424; x=1786362224; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=9rqzNBN+1bW0zeyui9c/oOu03uJOYQ4kZuyrzlXJujE=; b=ZCeL7VP+mNOs3X7V2sIlQ1Xz1w2fdIKIZoncAt44KNTHNZGv8YPoObl+7MU0eX0sM7 9PVUZICfzLh/5edpT4XqPlrSFxJ2FfKxW5qMvgphzAV/HlyM0KRW27R0GqterFsGay5y ZFOzJ9K8u6H7z8x6Uc/tl1U/VOsI6ZA8tWqPmgUd39/DHDHajlzsfnLIdgHmSVpswvYD 13ay2YgPnH+qbme0Rpdlb5BG2O1XUrvRy14IQUks7uIlyeyvUUVR+7k5pHLP+W1Zv1nQ 7QHsPWLynl4HCUO1KpJ674UNulNhuDWvEJ95/0VYCZxBDJswE2R3fZKWtl1DvsgYsJHS 6mHg== X-Gm-Message-State: AOJu0YyYqj6elIQJmJEfLU17gd5Lb4EiiCHYS4kwTjMO7o5b1WdbPVZy SciLLbd6NfUY20O5Xy+XWNOZEeIXBrjyQg0cImy2RbNNvue17lP2iZshlBlEimEa+tohFXX2EES cjsbTX5/tiw+6v5U+3S+ycBgD5MDPgJ0Wz65azOQP9KLG4qkBFB61iOBtOm7hnD5nbUIJmRXJrb k= X-Gm-Gg: AR+sD113+9Zz4XkCX+/Q1AmoMxRN4NhQE6Od2PvAuF5632OGekjXWDbZUFggvHGR4Wi 1kIAx7//pwBrR0/doiYb0vfhQloHQeMki9GcU6jltfWR77GhGXmwjbuECMavmvzYUOl4NRl+91Q jyhu8tl6+p579Gi0+fCSh9g4iF7btbzy8CfSzx8LkwxkpR1KYdHTpUc/+yx4spBbc62x0xncBCN Jyu1LU7rP1uhabmacNtSsa9fh1b93DnkdT6kU33rvqu/Nk152/DcdfRbMxaq4JamlQnlHQ8U8Fu MFaDURYxgGtsJTbQ/aErR+vB5OGjRwJ6jveWzVZGicNdGRBjlGhoas8wVApb1/LOUweeqRMunk5 o5xT0fcR2bNWam9bGN+kzgv5v1QA= X-Received: by 2002:a17:902:da4b:b0:2cb:2b69:8d53 with SMTP id d9443c01a7336-2d0524d97afmr98489025ad.37.1785757424241; Mon, 03 Aug 2026 04:43:44 -0700 (PDT) X-Received: by 2002:a17:902:da4b:b0:2cb:2b69:8d53 with SMTP id d9443c01a7336-2d0524d97afmr98488625ad.37.1785757423748; Mon, 03 Aug 2026 04:43:43 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d04b0ea83fsm37110735ad.45.2026.08.03.04.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 04:43:43 -0700 (PDT) From: Mukesh Ojha To: Bjorn Andersson , Mathieu Poirier Cc: linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Mukesh Ojha Subject: [PATCH v3 3/5] remoteproc: replace BSD blurb with SPDX identifier in remoteproc.h Date: Mon, 3 Aug 2026 17:13:29 +0530 Message-ID: <20260803114331.3277263-4-mukesh.ojha@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> References: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> 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 X-Authority-Analysis: v=2.4 cv=X9Ri7mTe c=1 sm=1 tr=0 ts=6a707ef1 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=D1lyqigDe3d0dfEs8yAA:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-ORIG-GUID: gwGGathCFtYj400StxN2so72a4pKfDWJ X-Proofpoint-GUID: gwGGathCFtYj400StxN2so72a4pKfDWJ X-Proofpoint-Spam-Info: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfX9t9J1TBSCqfI ULQh63KK3r6IhvQEA4+cwnLd6oJS8I3qHTLwNs9rzrk8gFqtWwI897u0TyggHOkG4wH2iHSu6a0 OP3uHrQueSaXh5w5Ttxym8bLvD/Dz/E= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfXypg1EdvEhCQa laJP/qxwYHUOkrUxaCz1gob3JDcGQcFdeiLnDegcv2hC5MithWeWLS00WZBfkpYUtbHVl8H7/00 khBbRSqd6to6LrF2wjQ3ZvLj8BhlhZ31JzSMZz+ygPf1qp4+4C24DdASFHgY9H4M4w2WbqtudaH 3W5spa+EButmLbXdrEegJRkkVMPz2c0gXhGUo5Fv8Wx3p8i3gEFIT+IZkORXJ9MDD+56CdxgsPX 36y3mMfDgpdOhard5MVpjd29VECVzSvu8QfIFPVUYOVVxl8slGNfkmJ4RzVBqSqNtOz4EIAfl4a Y93n6q99x3yW6Xr4p8kTDqSbd6HZnyMs4qfkIQRO54TjuBrVCzIOrf3C5KiWeK2fzQL+zIvyE94 rekfRkyp2+NdoKZQ/GM4QcChqwpdLP2EWlIYdjVGOvss9WubJpcvGOuD9sOoGzRZxZRlmp/rMrE 2YHYCFOLpn2w9EYjlYQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-02_06,2026-07-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 phishscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608030105 Content-Type: text/plain; charset="utf-8" remoteproc.h contains the full BSD-3-Clause license blurb but is missing an SPDX-License-Identifier tag. Replace the BSD-3-Clause license blurb with the SPDX-License-Identifier tag, the standard kernel representation, avoiding duplicate license text. Signed-off-by: Mukesh Ojha --- include/linux/remoteproc.h | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index fe77436677f9..a44368737b39 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -1,35 +1,8 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* - * Remote Processor Framework - * * Copyright(c) 2011 Texas Instruments, Inc. * Copyright(c) 2011 Google, Inc. * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name Texas Instruments nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ =20 #ifndef REMOTEPROC_H --=20 2.53.0 From nobody Fri Oct 2 08:25:50 2026 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 DF29F404BF4 for ; Mon, 3 Aug 2026 11:43:48 +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=1785757430; cv=none; b=gkclpLVUN/bhEhTUIzl8RMwzNFB7tZ9IQpI9tvwfVBiFJuQRT+IHDc8/t7Qa3TC4khJMr/8/BHP92CQHJQUVruWDMxUH4fHdt4isdDM7xmtVF7VEFjgghAEgHsg7JI9DfZ4tXp8PrBeKFaUhCI1S6vAPazC6cL/9gKTCF0FPgiw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785757430; c=relaxed/simple; bh=bLJ/lVvTRtDaUBWWKKiwGMk67AXAmfZRDKg3z7s9F+o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gCKDfQGdLKBGRJ13txqW3LPdBFGfwmQ9+odXi/BOtEw2TEKR7DowZhNkddiuRqeP6Q+GHHezlqX8TlQikPMjE0NxYsMNdNHro0n1oIzKQyMmEuFcDgv4TPCxoq3vwu3UX0i8aJdUgTcbXfRlQr3vVFaN0jHatUHaJ6cHTPdzUTE= 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=jIRCCzOA; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=RU1zY1iw; 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="jIRCCzOA"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="RU1zY1iw" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 673B3F0g051630 for ; Mon, 3 Aug 2026 11:43:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=BPrnpazX9W8 +valBkge17tD7Sjj7HMf3y209HKTMU0Y=; b=jIRCCzOA1BV4xuyMxFG6n4TUwIL Icu4cw4IYztur5pxllfUDSCzMMawBjbjAaCjvmyHa6qgJJvpzkDU6QZLoK4unx9d 0pri08A4pfB+3T9/vW5tsXSBiwbOOAF5lMM732ppVtauFl/CIkXLo/nF62pdNMU1 F8y63H5cbM2zt0yNh4mBXViY8i/JfFnVG1DPFC67DKcwBO9T/D8AEhhSnib2vxBn i0iSWRuauxeY33FYJXOS8s21nM+7ZgZfbI05yRmaQqyv7fXJBgKeYI6Vb0+6NFBl AbOh2UcflhV6/3cS0GYXnKy0P6OcaoxKRnSRNR6aIXiWSqZjwYvocfytX5g== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ftnrb9auw-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 03 Aug 2026 11:43:47 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2ccb6f6a3f4so45577875ad.1 for ; Mon, 03 Aug 2026 04:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785757427; x=1786362227; 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:content-type; bh=BPrnpazX9W8+valBkge17tD7Sjj7HMf3y209HKTMU0Y=; b=RU1zY1iwMrKVLV0ibCeM3/ye0b/M/ySuufxRxKYqYCGDbgw32/gmoihYyxenc73jI9 yEbUAGnen8ZCSF35gFEHvy0Xrfhl4hnhmS7PjxZRHM4dJk5qMfmZSCdLiBIOclmgiB2P 0jWMv9sDhXxf8DBQZfgKSxECaWr+7RZuc5D3ZGlMzcW5qRXZa32GIOEILombQyFkdc5I 432IkDQePSGcKM1sVQw+HfLgDyATCWahJcCvfVu/XzesGWBgDfMthW1/ZamSUlmzSIV1 WiTudR32Ek6HSJWiJHfy+m790zKJ+dwXIcbmmjjo3z9FgI148vxCCc1eeSg+uZaXfiAH p7Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785757427; x=1786362227; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=BPrnpazX9W8+valBkge17tD7Sjj7HMf3y209HKTMU0Y=; b=rg85AkWK2hC+vjJabHPHcbKsTnAo6jkmIk7+tZ5pOwUNE31VZrEfOZDQwkFUReWPJq YTxGlAiJyPpoPudto5qvqPY/+/YW6TXiZOtnUZNVmPPKnRDTU6Libp796jAyAt20lV5I bcz+H3drKMa7ElY9bFFJaTXeIIjh/6mPJH6wh1PwBfQntNjv6UoxtBXuIir+1gYJ7ZZK gQTjUyUAFW0zDZURhpWqKDaYS2UJ/hXPHb3WsJn6cJCDSnAnuMFHtZNr9XzFdNd2Y6lI E/AzDTCSdcb1wvrmekyi9FYFzA+B1IFqGd9mCJq2hyR/NiLHt4unIULmH41hqntEFnnY a8kA== X-Gm-Message-State: AOJu0Yx/r8+tu2aINknG4/RQ4NUcfUSxEkG4/XeYYue1j9VUQaBxVHFY P79CAnVM/RhHA6iOP6GJRsxlL2I+pMjmwNw7arzlqHCKQ0qCnlW2T2onG11PJDNPxTM5UP214zg DMrhWjG4fS7eJ3fyhYjWBaBgTo/PeM7ZE2AXS66S/tRsL9YAp34x5BorUHXUE5B2MVeM= X-Gm-Gg: AR+sD12TRAQwUamEr+zCz0pZtL2XM8qFKRVkc/xHZzHm/Q3RP3JRtzfmvyvhO3WURiC XXl5wXI8v29H2L+65yoDmg7iz3w/ORPOIio/jFq2o8MMeYkCeIU1yndcMh4Fp7wulMTnElGHQXZ aqJ1jtic/hyu3HOsi7PNEnIyjc+AHe523shb8HwOqxnLVNIu495oCVaxTXOIb4fEvFlX5cCQTjb Gc57tlM7QI7AavL/aB6bp03ywJOWtHNa9VvdMnzoL5CqjRiU2F12Wfr1NbfYNDLbckKMV6zTffQ 1HWEBLtNPjC8o4lwFc38tblX9eP/HKTYX+pLozdu5SxY6pcfEHKFibZZuwlGI5/Hzg/PLzh51G6 fvSey+GcT/7/aGbqzVKcRTT0QMrg= X-Received: by 2002:a17:903:2392:b0:2ca:c847:8e41 with SMTP id d9443c01a7336-2d05366bd47mr87194535ad.11.1785757426738; Mon, 03 Aug 2026 04:43:46 -0700 (PDT) X-Received: by 2002:a17:903:2392:b0:2ca:c847:8e41 with SMTP id d9443c01a7336-2d05366bd47mr87194175ad.11.1785757426168; Mon, 03 Aug 2026 04:43:46 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d04b0ea83fsm37110735ad.45.2026.08.03.04.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 04:43:45 -0700 (PDT) From: Mukesh Ojha To: Bjorn Andersson , Mathieu Poirier Cc: linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Mukesh Ojha Subject: [PATCH v3 4/5] remoteproc: replace BSD blurb with SPDX identifier in rsc_table.h Date: Mon, 3 Aug 2026 17:13:30 +0530 Message-ID: <20260803114331.3277263-5-mukesh.ojha@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> References: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> 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 X-Proofpoint-Spam-Info: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfX/eV9O1pvCr79 Hv+uaFeWZE1HW++NzbMx8cgNH1ctfAeJkGusVnwxesy96ZO4pZ8SBRUHuPy8LIVK+Duc9JQ7v3M 0U0JbxVcvyFQM3ovOt8m0HadPfNrtLQ= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfX1z+mamTKZe+Y DycnvlEdMeMiIC75PSHH3+XZpCMrZ4aTYSBrHgr9cR9aUB4Aqq18uu0cg5q9bekPFstg58Pc63e irkwWHjU1QFp3C6+3GWOp9+9vWNEqzNTc9wwy0drYYijg82CJPO3z9wdz/WfroG3qpPldRIkkUp cHier5SP9KIVqNCGEp2uka46V9bTLgbD8TvjNfEKHKQMhWefA9PHkDndPGVyZwKZow4lRfalg78 20aPxZJbgYhgOw6tPRYr7eYyrN5m1MKMzpM8W99P5qZ5poHuM3yGTxoQ9an0C52NwAVuB129J1d 9ftkNXbe9y4J+TbXvJFGgwU5y36zLPwOwNA83U11baafRvKvSw3NSVxkpPx/E2/8wBQ2KzAISvX k745+7qSCpZ9wQ7psqDKWrX/aXaRAVnKo7r6MzVMvkDibEOeX86s0xwMRr7SBelIDvjzEz5riI/ IPktRuE4LVLoBnJza+Q== X-Authority-Analysis: v=2.4 cv=RNSD2Yi+ c=1 sm=1 tr=0 ts=6a707ef3 cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=D1lyqigDe3d0dfEs8yAA:9 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-GUID: jpneAd0WAwO0ifV1qk2SxPdpAjeTJQ5s X-Proofpoint-ORIG-GUID: jpneAd0WAwO0ifV1qk2SxPdpAjeTJQ5s X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-02_06,2026-07-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 impostorscore=0 priorityscore=1501 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608030105 Content-Type: text/plain; charset="utf-8" rsc_table.h contains the full BSD-3-Clause license blurb but is missing an SPDX-License-Identifier tag. Replace the BSD-3-Clause license blurb with the SPDX-License-Identifier tag, the standard kernel representation, avoiding duplicate license text. Signed-off-by: Mukesh Ojha --- include/linux/rsc_table.h | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/include/linux/rsc_table.h b/include/linux/rsc_table.h index c6d6d553d8f1..0ad9122c22af 100644 --- a/include/linux/rsc_table.h +++ b/include/linux/rsc_table.h @@ -1,35 +1,8 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* - * Resource table and its types data structure - * * Copyright(c) 2011 Texas Instruments, Inc. * Copyright(c) 2011 Google, Inc. * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name Texas Instruments nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ =20 #ifndef RSC_TABLE_H --=20 2.53.0 From nobody Fri Oct 2 08:25:50 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 A536840681E for ; Mon, 3 Aug 2026 11:43:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785757431; cv=none; b=LVQgWO5E71sF7/kiTu47Ran2DpCCHHBsuSX34MUJ0kySnjkqzxxnu6NwSHq0Gw0TtffGcEGM91TxTvUwGhbJsMx23NeyluvDuLBj+2podkvbLq0Kud8DIsrVWO2JlzcndOhrdQ2lC/pnwhu8zcWy5UO0FaYLC7XBzKAPogqKzxA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785757431; c=relaxed/simple; bh=JDBy8+3jBgK4vhVG7T4aeke2vKi1XDBfLfAM2GWRyGE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=t911T4NJrE4anicfzgJA7XlZkTKMrpjuaMAE5ECr41g8431LCnKuOwfT+OzxqKwVDj5+hJwnpD1RLAxy/5hwiL/KWXkdygiT24E68w+Lkmce1vkA1pC3itkupr+FEXH9dRigchJKZIzuTlzVbf37O6nU5zCnjoP1qRVk9xu6ims= 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=PbQFdRAT; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Ibu2DJnz; arc=none smtp.client-ip=205.220.168.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="PbQFdRAT"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Ibu2DJnz" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 673AuKDa3960583 for ; Mon, 3 Aug 2026 11:43:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=NriLbXA3yDf ODlpj1p7/a+1Q6QhXnZ6YMd/fRyFb37g=; b=PbQFdRATSJejuMiaewFX5v64fXr 7j+BYy5qKGWowgikDL06iD7hnCA9lc+0PP0l+c0aa2qO6Rw8zVnzqDRR8uaYZNUY X7QDlGGpdfG20u+pgtiX5oLk9rRffk9yi1XCqz9I1nL/QNl4hEVxmcaEV3XO9hHI bB9H01gtA8JLlzehH8ykHpkW4XJC/Zz/ktnr2xfu8ALVAgvWu4o5lAABKxrUHNbW oUQHrZMaDlUwPwyiMtVBBpuKaf7S8IEs13loeNDd4sU3QFqbx7xsUDZnI3HCo0/c fAIPVboFs/1XGTE5pOw5Ls9/SUooambUT5nlwH1MT40MywbiWaz+pNpKsdg== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ft9fak0cr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 03 Aug 2026 11:43:49 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2cc73f47bdcso58796125ad.3 for ; Mon, 03 Aug 2026 04:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785757429; x=1786362229; 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:content-type; bh=NriLbXA3yDfODlpj1p7/a+1Q6QhXnZ6YMd/fRyFb37g=; b=Ibu2DJnznx8bjF85FIwwm0c3+vq/TKOuoLFjsLsf25GevHWO2MqZhuivSy6myLNiKZ ghVN3GE92hF5+TvlyBDkH3s2gG6TEgQhnYrHhoxqqduapgt9aqqEws63V30n6VsRraeP 85E5lqw9F+Ur0dCzvHLr3g+3om1owSeP0cyyaDlw742X0htQC+2/t2A6ilngeBEqy46P CcEKytBxiWhoKUD5Jggis4oDV70FN09cKT2+VI4XyxcpiqlfYqDNR6KCb5q1aVuTVfpU R9WfxANOl0LBP60PlZ5Q1XpVoWK8ql8PwF5m+KH2OJqfEUZ8j0aXZEmdyEhG7l7S0Pu8 HDXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785757429; x=1786362229; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=NriLbXA3yDfODlpj1p7/a+1Q6QhXnZ6YMd/fRyFb37g=; b=ntfuW7er1nqXjFXvzdfRYn39mT6PYzrCSrWyVRmbOzksVH9iD9QeWSODK2EE0BE/vv uf3EzRkJFE2OS1DEMj8ekSLWPbT51myRVGkoLOxkcDszjI6HP2HvaHajK/yKHWF6EhyW z4thImvGkFuMjHceR56HYNC1f7LCAuay+WgZRkTi/hokr09zwJT25iDSJHEpQ8+nO6Vu uGB1UXk1bcPzjQdkBQBH9dsS4R7YjhVBZazQ9M5vdJHDrmYseu2yk6pPO5c9J1wEW+Ny q1KxQ2OAogbBYzAS137uuQQcXNTaA/jumj5QbDnktGa9YEZ8t49fzkiEbadLXJdz8+Mo LsFA== X-Gm-Message-State: AOJu0YwH/GNcXyTp3OX7HXb0NLk2ppTfzm/TaJBCqxQsfOhc1v9Jtn+0 jM12Xs3tVs1AB8OAx9BMpsRP1OYBuLhcgfkOM9sRjzAx7kFiSxnD9taW935ryREh79XsFve/qwL 3Y+hwZJs1aAHtsMc0tJ+1lgysiHCwUMYRxNOZA4TPYc8gda4LNibIq/gykfww/tjG19c= X-Gm-Gg: AR+sD10T3QGGjCCMIGFhc7D7qheuBOHCQ4snq1T7AiYeERUjdcOZCiUX3BYnGvwLLEI Hz5o/zLcHMgQ2IrM+Gcb7bDYWSvmrrk+kQOMbRBbR+T7azderw1ez8BiS+JSxE2bwlVnRTypOFU BTPo89WVb6tsZbNbKKLmeYXClcKHMB/FL0mmnq6znGLNDlA7vPq77aE9py79zY2rOBRtnHH/9Om UMD3uDNm4Yp4nlGnCXD/REUTKbZ9KIzJS/id97AtH7BIauG6emJnkSH7ICc2j2MCs57js2pNmSh FbKJTGne0VAmQl/W4trmA4bB3a7icJkTxkv/D6aBQpHTraIPffIsI15aKoIYb4pqcpIXPgVRzs4 nCnodRogkfj1Iz8a/ZicT8mY+JhQ= X-Received: by 2002:a17:902:f70c:b0:2cf:dcd4:c646 with SMTP id d9443c01a7336-2d052462f7fmr94206975ad.33.1785757429042; Mon, 03 Aug 2026 04:43:49 -0700 (PDT) X-Received: by 2002:a17:902:f70c:b0:2cf:dcd4:c646 with SMTP id d9443c01a7336-2d052462f7fmr94206705ad.33.1785757428558; Mon, 03 Aug 2026 04:43:48 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d04b0ea83fsm37110735ad.45.2026.08.03.04.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 04:43:48 -0700 (PDT) From: Mukesh Ojha To: Bjorn Andersson , Mathieu Poirier Cc: linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Mukesh Ojha Subject: [PATCH v3 5/5] remoteproc: fix OOB read via signed offset in rsc_table_for_each_entry() Date: Mon, 3 Aug 2026 17:13:31 +0530 Message-ID: <20260803114331.3277263-6-mukesh.ojha@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> References: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> 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 X-Authority-Analysis: v=2.4 cv=PZPPQChd c=1 sm=1 tr=0 ts=6a707ef5 cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=_5PO8_XNLmbmSLjM89cA:9 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-GUID: xWbjidAlqSoNfjIrtTN2bnc2PZ2nV_83 X-Proofpoint-Spam-Info: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfXwF3NLFl8M1/6 VDNzKRPCT8/yCqN9BeY74GpXB1uQZhL0RC4PJR0TFVN4dBMdOrgoMFE5HCI5UqxYYxoPOHbvZr4 +igFpZNvfmJBSfwmrfkrHcqEI/KVjJQ= X-Proofpoint-ORIG-GUID: xWbjidAlqSoNfjIrtTN2bnc2PZ2nV_83 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfX3ha87bbUpj8H pz+/iNGnEh+eNcmkCPjctMvXgC+NFN0HE8gayeLh2SrnDEdR/Hq3sebrDh+BvY4SLH4UkfErpar /gBhpRmFgtsc0fuTTWObIb7xvEOkqR7nXCPtDJX+XrBetGy2TV2iulwMFGOjRFVIJu2IoAUs/Xh Xc1fnkegr/opPVP3wlxB0IB1aqLliJTJc2tPBCDHPBegbMSZfYXl5og5kdJTotYg6tZ/OYT7g75 22+mOP+0p8eRVMOF4gED/vqmOdMayZdXLFzno1iSrAVzo7mIctOihI4SZC9ugseIhpqkVuzvZWu Hbh/Y8/S8+/Fc5uHWB9A06thjaKdW9CrXY3A6YEH4lN5Pz22cc4rKZ4goQEjB+4Xxbv5nOXtyZG mDWgFCpZ2weK43sAv8C8bITuWT90D6EN89EWzsggbtNzO1JHgJXggCNcKyB/jWwCptQbOXLDBpj QYDfuI2/XUQhn/GUOAA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-02_06,2026-07-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 clxscore=1015 adultscore=0 suspectscore=0 malwarescore=0 impostorscore=0 bulkscore=0 phishscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608030105 Content-Type: text/plain; charset="utf-8" table->offset[i] is a u32 from firmware, but was stored into a signed int. A crafted offset like 0xFFFFFFF0 becomes -16, placing hdr 16 bytes before the table buffer. The subsequent avail check was bypassed because the negative int was promoted to a large size_t in the expression "table_sz - offset - sizeof(*hdr)", yielding a large positive avail and letting the out-of-bounds hdr->type read proceed undetected. Store the offset as u32 and validate it with unsigned comparisons before any pointer arithmetic. Signed-off-by: Mukesh Ojha --- include/linux/rsc_table.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/include/linux/rsc_table.h b/include/linux/rsc_table.h index 0ad9122c22af..71b60125310e 100644 --- a/include/linux/rsc_table.h +++ b/include/linux/rsc_table.h @@ -310,17 +310,22 @@ static inline int rsc_table_for_each_entry(struct res= ource_table *table, int i, ret; =20 for (i =3D 0; i < table->num; i++) { - int offset =3D table->offset[i]; - struct fw_rsc_hdr *hdr =3D (void *)table + offset; - int avail =3D table_sz - offset - sizeof(*hdr); - int rsc_offset =3D offset + sizeof(*hdr); - void *rsc =3D (void *)hdr + sizeof(*hdr); + u32 offset =3D table->offset[i]; + struct fw_rsc_hdr *hdr; + int avail, rsc_offset; + void *rsc; =20 - if (avail < 0) { + if (offset < sizeof(*table) || offset >=3D table_sz || + table_sz - offset < sizeof(*hdr)) { dev_err(dev, "rsc table is truncated\n"); return -EINVAL; } =20 + hdr =3D (void *)table + offset; + avail =3D table_sz - offset - sizeof(*hdr); + rsc_offset =3D offset + sizeof(*hdr); + rsc =3D (void *)hdr + sizeof(*hdr); + ret =3D cb(hdr->type, rsc, rsc_offset, avail, data); if (ret) return ret; --=20 2.53.0