From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794193136; b=MtQvQnZXXo3qxF1OnVFenj6wF1VJW+cNTT+CzssIEIgeI252entEdIwEHGgFhpKXk2C1 pCKxHbg7fGwE/iBS69P7tVKopMgCNl82/XwNFqIUQjJxV2GKdXEzqy1kfIRJmmZKupp0/ zlROtfp9bvaChj59RkZXWSgVLsVG+YX2Hwy5nwCGGPOHJlW85VHVavkb0bMRHVfszQxjx E3j1gK6Tc1gvPLGOl2lR3RYW6/zRfF/OSMXuZuA5HOVebQS8GpeJpIropFvbpJbbr89Le gwkdZ+QoDlgx6JfKAv+171F0Ww6550JLefDJC4tufauH3LP3/QbxIDAjEtfAXpcCiCA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794193136; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Authority-Analysis:X-Proofpoint-GUID: X-Proofpoint-ORIG-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=bcDBZrOIs3/hkAhonk3wtiBmEGG5IWT1pyC7cvmXykg=; b=Z4uaQIKjXWr6ocDId3pkh4dMv2hUA8zj0tvfuDWDblIejuIWGZ++Lg+Wen0MN2vqOb76 6QknxYxbfUmlL3gXKCln+/4lpmBIUr18KpUuiZGBQBlJQsBNyQ2V1bUTfajRxMC4hYXF8 J3UvuZ4ggktH4IK1fjfN1O++/6J0Y5Ir7gYR3X2RxwCnQbocTP/g2jGPMqUSfr6iHUoX6 dvrD8blBBVC34WD3f0RnS2h/GBcOs47SAXziGA7P5ighS5qfxa1rl8dW2Ud7AlARivf7f dp7+vgokJKfAUm4rIr4LW2oBDvagNire67bpEXj+TXKQg49cehrh1GayH5uyRO2bryA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=F9urwjAT; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=iyAiFZ16; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB7DC606A336 for ; Mon, 9 Nov 2026 02:58:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BB7DC606A336 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=F9urwjAT; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=iyAiFZ16 Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6A90Gugr3503054 for ; Mon, 9 Nov 2026 02:58:54 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= bcDBZrOIs3/hkAhonk3wtiBmEGG5IWT1pyC7cvmXykg=; b=F9urwjATAQ06/UAO sGsXrkVeRNVXWxTNHio7Tw4Vidu/HKUFbOkF4QPJg5zdvkAmmYUllLftBI+5z4rt ECr79qbERtnObxGJiGVHpj5uSngfhWLtx5IblCk9O0+QD0orYvT+WbERUhClYiM4 XhRUhSO+aMW+tHgvVptIxtK5NK3WIkgS5J4tWaTXqaKJstQwwL+7Qnmh4FziYKrB JyCt4LIRabiKVgN1FMLmBNArhhgNo94+fyBeC0mbmCIQaa5tkH6lrUQU6ltMjzTN R4oaFa7IuZslaTGd3BrDvNJrWzPyH4k1gV3956OFlwKNIJUruxfUY06h2M03tVuq HIIG3A== Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4htuqm18xv-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 09 Nov 2026 02:58:54 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-3b0a098dbc7so477261a91.2 for ; Sun, 08 Nov 2026 18:58:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1794193134; x=1794797934; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=bcDBZrOIs3/hkAhonk3wtiBmEGG5IWT1pyC7cvmXykg=; b=iyAiFZ16tS5PKD8WnsfhFNsQ6AXQAMwnnjxUmOlJjhEpsePei42TTIceJNlupChO8i InVJNhGDHqUBfo48xospYQ/y92xWgUoW4tsyNvi/0lz54MxEl9XDoIE4d0D0eFVVu4WC UNrl8lCbncGnMzljIrnbl7IBxsZmvveWcg6onltSNVouphVp+IlhvASEzwH4B5V6y/x8 hOVsPyBvFb/GHt1UX405yPUbXpE2rhQIzI4yHMAc9nOWRJA9cdYdRbQiHC01QxQIqB2h EQMVuvyUpiqABhsHPeIYxXkjPUN8K4hHvXRpBR30VbkNqopfbyY7f5HXvu1nIsahw4uH zA4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794193134; x=1794797934; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=bcDBZrOIs3/hkAhonk3wtiBmEGG5IWT1pyC7cvmXykg=; b=V7jiBY60hEOpQbVp7TSjfjJ0X4Z6ZGygHczScc4SzgdNyA9/kC30rvDXbFx6Q0jrYK JSk6qEVT3Mjt4QB+EQr3k9VqjBmA2NF6IWOEAzZyNKaQKwLBCVjvUxmmEyXQOtYXuOB5 +nOKg8ZO/j5P6tHubCaBgsyNEA1vIzKEYS6Qb6qRMJVlBa4A/WNiuQh+blVlwZE50Cxq tfCTr6zABmU6LGXKQmWoFq1GpIZ5CgcwqrwHX52MfjNle6Tm95LEmu6RhMUQ8HLb5cX8 TGgHrpcYZLytNqCECU9AuxV3WurjxsxIyRYSNYL9hiM3683mZecTMox2kyrBUepo7TxB CyUQ== X-Forwarded-Encrypted: i=1; AL+hErGFeq70s4aMNTeCDRKNU/JeFPP50YybSd0s8cyZDR81Kj0wiOOeJ4BTltSEUGJCFmgmIq+8kv2MWuC4@vger.kernel.org X-Gm-Message-State: APuU4Z99T20rzXTAyDA4pXp5B4dOqKVQ+EvuAtGrbJyxFSuPmLcNvkNn 8W1B2mO6vC9NSzeg8pVikO+cwrEc+Xxy8B0rIbTpDxdQlJXUAonJeoiVX4lTefn8tzvUnxo0taD YYdYf8HWrxSjqkNa7Y5zGVNpO8/dBkwUnA7BbGFxlpmB7V/r30UzXJenRTkpzzaBY X-Gm-Gg: AYBFou2cDxNz7ssvAQLDBEXDDYWXJgx8XGZ+YG5fpssgUFrKIcdfOojZeWhG5WnsmeP 4GM7V+dm/25533lCNHcJDS6DxvIwEapgShqCTN7CkiPEC5MqvYneamJftWD0ShIKDZ0VDG+qNnN Sgech5AsT2PHQPbhatFXo0mKbFq+tT4ryLH51uXDBRYX2p4DGcwMARJZAaIae1Uvzem+7tGMqYc 4yVn/gl1sWyKKSTMFs2u2Q1fev3WZbLldOKR2u+J9CqSatVJT+kqErcme4IGaZ5Edi6ST7/s7rn +r3vkNaC2dBBfDz4RJ4IKIQGUG41qdUUHVTTYJumwEQ3rligteexufDZ3uD4DYRgPbKXYJ3Cgtj KKkysNq3ZmEl8CcjrJahc7i633kNYAI/Aw1fzdZdrrF8pWCeaqmGA54qz0hvbNeZxcxgdgfdeQb 3tWJi2XYUi63TGSjEXJ/fJPsP9TDtOLDcKovZH X-Received: by 2002:a17:90b:540c:b0:3ac:9176:e837 with SMTP id 98e67ed59e1d1-3b12d5b0390mr2589432a91.50.1794193133521; Sun, 08 Nov 2026 18:58:53 -0800 (PST) X-Received: by 2002:a17:90b:540c:b0:3ac:9176:e837 with SMTP id 98e67ed59e1d1-3b12d5b0390mr2589410a91.50.1794193132989; Sun, 08 Nov 2026 18:58:52 -0800 (PST) Received: from [10.133.33.176] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b105864375sm9085247a91.4.2026.11.08.18.58.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Nov 2026 18:58:52 -0800 (PST) Message-ID: Date: Mon, 9 Nov 2026 10:58:48 +0800 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/6] arm-mpam: Add basic device tree support for resctrl To: Rob Herring , Ping Li Cc: james.morse@arm.com, ben.horgan@arm.com, sdonthineni@nvidia.com, andre.przywara@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261028-mpam-resctrl-dt-knp-support-v4-0-bdda1e445cba@oss.qualcomm.com> <20261104081302.304667-1-leeonion.muyu@gmail.com> <9d370f12-9e4c-4b80-9d28-ff8085ce3aee@oss.qualcomm.com> <20261105055347.947416-1-leeonion.muyu@gmail.com> <20261106150822.GA3193214-robh@kernel.org> Content-Language: en-US From: Yin Li In-Reply-To: <20261106150822.GA3193214-robh@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYxMTA5MDAxMSBTYWx0ZWRfXzWdKIJ6Hk1fq 9SNzOylcyo2h2aLDBe7rLDabosMOokEzneXBk7pShl8LguXMfSLFQnLCNX1yapYaYNpbOfbznne XQQkKiEkHLcr7HlTWyixSFqFd2Vf7h0= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTA5MDAxMSBTYWx0ZWRfX0Tcy5iZVhU0Q 1MUsy3cBtIsYQhSNNmKab5qa6dTxHK4KfT2HD5IND9V5iEDoFxOOikdZbHzjns3r7LOGs9FmG/Z ufo+5l1fg9FRn6NfcDSBP2tiTbqtaZ1uBavJy7JXJhgmEH/sfbRAGFhymed/Ub8LPBnVXoaTxcv PfAMWM6rcdZ1GB3OGxdXmZiddJnLdSgd7HgHrj9is1gpkN+/B2wNwMslb0tYYgKhKnHzHmBzmm5 XwDNAkMptlBV4z8mAq+8n149QxQW9+uWgjNMpphIGioX8K2D+GR9utinqfCTbPonHJLfMh1Tj1E NT1lYm7ega1x1pK83trPF2k9w4pjSDMrlKOU5gFHJZEOxE6CgvBAlZtgM5D4wWso4pX6atKeM58 KgjbX1OvOfbtm+OmFZN/IxgcRnO2pp5aKZaYd3Xw0kZHUBQSWIZuW3ROD6thWDjkvBfsV1VJfr9 kg/UpgpOg7gS0xmF5KQ== X-Authority-Analysis: v=2.4 cv=JLquIMKb c=1 sm=1 tr=0 ts=6af136ee cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=aeo0eiRZ57vjQv3oqWoA:9 a=QEXdDO2ut3YA:10 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-GUID: fHKDLTet7j2TvKRKzoBS9zhuLOF-fxxC X-Proofpoint-ORIG-GUID: fHKDLTet7j2TvKRKzoBS9zhuLOF-fxxC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-09_01,2026-11-06_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 clxscore=1015 adultscore=0 impostorscore=0 spamscore=0 phishscore=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611090011 On 11/6/2026 11:08 PM, Rob Herring wrote: > On Thu, Nov 05, 2026 at 01:53:47PM +0800, Ping Li wrote: >> Hi Yin, >> >> Sure. Our memory controller MSC is described as a top-level node. >> The MPAM register window is mapped independently in the SoC (the >> component sits on the DDR egress path rather than being a sub-block >> of a memory-controller DT node), so the node is a direct child of >> the root: >> >> ddr_msc: msc@2238000 { >> compatible = ",-ddr-qos", >> "arm,mpam-memory-controller-msc", >> "arm,mpam-msc"; >> reg = <0x0 0x02238000 0x0 0x1000>; >> arm,not-ready-us = <10>; >> }; >> >> The first compatible in the list is for our platform glue; I have >> replaced it with a placeholder here since it is not relevant to the >> binding discussion. >> >> Notes on the properties, in case they matter for the binding: >> >> - reg: the MPAM register window. Only a subset of the architectural >> register space is implemented, so the size is the truncated window. >> - single RIS: the component reports HAS_RIS=0, so there are no >> ris@N child nodes. >> - no interrupts: the component has no MPAM ESR block, so there is >> no interrupts property. >> - arm,not-ready-us: 10. >> >> The verified probe path: the node matches via "arm,mpam-msc", and >> patch 6/8 in v3 classifies it as MPAM_CLASS_MEMORY and treats it as >> accessible from all CPUs, which is exactly the behavior we need. >> >> One question in return: with the node being a direct child of the >> root rather than a child of a memory-controller node, is that a >> form the binding should cover? If the binding expects the MSC to >> always be a sub-node of a memory controller, we would need the >> top-level form to be allowed as well. > > This would be why we're not upstreaming the binding without users. We > need actual h/w to validate the binding works. > Hi Ping, Rob, Ping, thank you for the detailed description and for confirming this on hardware. To answer your question: the top-level form should be supported. Unlike cache MSCs, where both class_id and component_id are derived from the parent cache node, memory controller MSCs derive both from the MSC node itself via of_node_to_nid(). There is no requirement for the MSC to be a sub-node of a memory-controller node. Rob, with Ping's hardware-validated use case covering the top-level form, we would like to restore memory controller MSC support in v5. We will use Ping's DT as a reference for the binding example. Ping, a Tested-by from you would be very welcome once v5 is posted. Thanks, Yin > Rob -- Thx and BRs, Yin