Message ID | c8081537-f26a-4147-83f3-0c890e824192@siemens.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2044908vqu; Sun, 5 Nov 2023 01:52:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEfz7SO2nkKmc6FZmCgPUSbZtKpMy5+V6N510TTTzTgp6ux1PV0EonAylLKLnvyuc/HolB X-Received: by 2002:a05:6214:d85:b0:66d:33d2:4ff5 with SMTP id e5-20020a0562140d8500b0066d33d24ff5mr31716780qve.41.1699177923260; Sun, 05 Nov 2023 01:52:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699177923; cv=pass; d=google.com; s=arc-20160816; b=Hy//Qz94DvOA/AaoIvgA0WJPTM0hGU3WroFJ+9qmPntiaidmRyq+tYuwNW+1I58ahJ i5Awuhh0U6WDDbRexHgn0/Ta9PWr48Ip6vqn23L9Vf5nOv4oMU2Y23lchiuz6HMiP2P+ XfrB2FeqjVAXNAcALYYobBHVxbZmxRJlxce7zgKOSKnm4hLxGsNZL7rHy1y6MtPjCCCG sZST7rtc5XRnKD/k/KaSAY2JW1M8cUx+QjLyIiEVjyZL6ZviDn9vaIzhIvnXhuTR13Ky g+DFB+1Kfjxx2roWBtM2SyNOmIQs6DW3E3BPIYIPvBbSL49L7y33PYY5F9hyzh8v+xIw 7oeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding:cc:to :content-language:subject:from:user-agent:date:message-id :dkim-signature; bh=JmSHTUSuso9YCa5Ui3EzNOhbaSNlqgvv4rsl6UQX70I=; fh=IfDCyBAQ+OCqZE/5MjZ0TiIb+LM6ZvAzg9rjFsECMmU=; b=mmUlULeFsmCS3FixRO30Ek+HBuWUZFcDKqwJ0Ne3EroSJHqFGnGG74mwCt2kQRfYjG OX7DSxi2VYPrjb+vv/uGEVRyAtVZ8l80M+9izyBejjNNDGvNfEQJFkHmrjAg4uUzNlsc sBvM13m/lzeKsL4jWs2/Aj9gpQm/F0wcnK+ufOo/b+S5ddHrB7zulsiL0FiFMHmCGpgI lghAEjY/14bjrCZN41UDr3G2pIEi4ZJuBNdUbrAiEHSg/tzY73y3sQlpPCSYAzPu0+3C nSKeK1GzO7f6zk1P2e9by0AL5FGZRaIDvqwqEJ/UhTSzvK8GecpK/PbteNxM1+pZDS7x IDeQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=jgbHaRs+; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o185-20020a6341c2000000b0059779ae5899si5366821pga.836.2023.11.05.01.52.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 01:52:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=jgbHaRs+; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 62F41804E726; Sun, 5 Nov 2023 01:52:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229884AbjKEJvt (ORCPT <rfc822;lhua1029@gmail.com> + 35 others); Sun, 5 Nov 2023 04:51:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229621AbjKEJvr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 5 Nov 2023 04:51:47 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2046.outbound.protection.outlook.com [40.107.6.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99BE1D6; Sun, 5 Nov 2023 01:51:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KeNXUoZT4uRzKusjAjel1c9CYfWMug0Ts91GTmq107+mXguNa2O2biEP19nozCWEpSdI0ax3bqrYvjjU9VTHhWAnZDHixEMjv5HCeUkSmXmDEyJgeOSmTp2hhFVS0ShqOLEhkVuGsFgMAb6HMhM7bnegBR7cStK1qCGey22qVD+mnt21RwSIyAg3NaM9fJPrlPM6YrvPWF8/Pn6VQe7sk8kMsmkPvvpWziLucyhzWBSbkY0LTwXxdbH9cdqO16q1QcsDe5QEMgjsYaDJAIkt0eoxUZ3s73gE+tEid3xm36v4OMuORLSkxLTvB5Otygd29nnVl+LBM0uBvRy6qBCJAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JmSHTUSuso9YCa5Ui3EzNOhbaSNlqgvv4rsl6UQX70I=; b=GzigMjvn0YWLJRgXVlc8XPe2tOXNSrw/W5ot8gce7K7tXSODgMnPQQ95kmOg0tylgoB2lVjDTqW1+BROEigCCoXcftYrg0u6q4XtIDF8VUE+520XvD8/kCMZvft3ynfYVbCYFAMIHk0djtqowtDuFxBeURV7xohANvDoa+PFYAkSVemfEwLfMuaakiQ5xQTD+NcBeMi6Xq8y4QxdhbeOJ9MWeWb8s3uZM5fWQ1t27li+hyAvEwc4iEkZVgTTnNS5dRPUtqO8cHVwlpyzVd/ukZ83THd3u1e3ksVNHQZqc8uTqH71b3FO6vlTo3D571yjYYk51cr3yQ35E7WX7L9TmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JmSHTUSuso9YCa5Ui3EzNOhbaSNlqgvv4rsl6UQX70I=; b=jgbHaRs+LRKNCy1+asLfmivUlkMcap50bSp8StbsRpQ1NDPIpruOsznDg8dXbmnvoA4fYf7dfcDbJZqmWt8ZervidqzieqiAeSoH+a1GK7jGYMcf1mxd82iR1Pa+TBnQIFghbUEp4oyMFXRufifWtGG6IigsHmOCz8RETtaDIX66VEXSYNnVwfMiqB51N1CGLt+HRdxhyPbrbdKZYPH/QPzo10VT85OqI085xsPVI4Yf4ewG4kbrYU0KZU7+dZsOVRnpj2p5YwFCAz3pLZR2LnWEWeh2hrskiRwh1W3UCO259vKvjUKjMTgGHcmsdySDDD0thn1CTrySBRdNUaD59g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) by DB4PR10MB6309.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:383::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.25; Sun, 5 Nov 2023 09:51:41 +0000 Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8496:a3a3:d7a8:b24d]) by AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8496:a3a3:d7a8:b24d%4]) with mapi id 15.20.6954.027; Sun, 5 Nov 2023 09:51:41 +0000 Message-ID: <c8081537-f26a-4147-83f3-0c890e824192@siemens.com> Date: Sun, 5 Nov 2023 10:51:39 +0100 User-Agent: Mozilla Thunderbird From: Jan Kiszka <jan.kiszka@siemens.com> Subject: [PATCH net v2] net: ti: icssg-prueth: Add missing icss_iep_put to error path Content-Language: en-US To: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, MD Danish Anwar <danishanwar@ti.com> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Lopes Ivo, Diogo Miguel (T CED IFD-PT)" <diogo.ivo@siemens.com>, Nishanth Menon <nm@ti.com>, "Su, Bao Cheng (RC-CN DF FA R&D)" <baocheng.su@siemens.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR3P281CA0202.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a5::6) To AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR10MB6181:EE_|DB4PR10MB6309:EE_ X-MS-Office365-Filtering-Correlation-Id: cc736d76-0f73-4703-017a-08dbdde4cfea X-LD-Processed: 38ae3bcd-9579-4fd4-adda-b42e1495d55a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YEdqnpSV6qqrxuRqivjdERVELbjhY1ydrZFfhg79TNnJ9aQhakRvuqu/F6ydE73JZ4Fbx3McX3jPV13uNQlULbxxS49bISteoTXcDvQHfMe2Qw9yS/m39kfvDn30PSgVWI2La1EkDqq30//joY8FV4HPri2unOvrTSFWQHfdmt3EVwlLspOFiOW99dmJKjZaFb4iMBQbmQSfcz/QM1HGuSzudbd7T/NKfFXXZPdSAyS9U/XmEjCfhGNYCOC8amh3WhqfjoB8IKutLBOg34BmijiTZmEXwIWqzKYGLdluux7HXuYmF1skLNOWxiLHdImJ2z3iLTUjesNszwk7A3F5y0PVbUO85/VRj7oKmuiCibb+2CFrHJ5PwQVH5TAaXly3afmz+4Iw42p776vmJN/5/dZwy7mY8R4cyd9Jm2kNH+Lsk+4djLPYEtAW7q6/IMSJqsT+250l4qbmU68aDrAmRMDzQVlWPWPmLc/5GlHRWHpSM5mxd6BhaoM2zSWm3F37lCVzgdzEAYUTG3A9mjeo/UWFd3Bb/NvVtNmIUSn+oDRhP1xbW9CkXU9LKY8MyRcwkUMSNQWdXqfOaKUaXNFF8/1ShWKB2yC1XQDDFoSeUEPHRK3ctJ4VvBkVReNKKdqCFTcrBQgMUygxMcfCz0GqwQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(396003)(376002)(366004)(136003)(346002)(230922051799003)(451199024)(1800799009)(64100799003)(186009)(66476007)(31696002)(31686004)(86362001)(316002)(2906002)(41300700001)(5660300002)(44832011)(8676002)(8936002)(4326008)(36756003)(66556008)(38100700002)(82960400001)(54906003)(66946007)(110136005)(26005)(107886003)(6512007)(2616005)(478600001)(6486002)(6506007)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?65oHSdWAZ27YC2MRvNOzTaoYvX0l?= =?utf-8?q?6XAQS85ffc5ql/PMLghDNiiTMvSjHAigY0cNEq03uaQBNIWUvhKHuviwmgupG3gSw?= =?utf-8?q?i71aqTQV3ttEcAzchhbnMc4hH3iqdamTNuhe/27Wjfq31q1PdZ1LTp5EQ19nMBTkq?= =?utf-8?q?RAwoQsvjcqzllP796hHsi7WVjqQINQItyxp70smU2DO28PuxV1CgThtGxKdepUbiv?= =?utf-8?q?9WESgS/uM28xXC4BZW30n23FUCWEeE3aaBK4mj3aJv67M8k3PaGC1LpbX4f9m/tmn?= =?utf-8?q?R6vvFNdBf/Gl9rTBEf57sDHkxZ1ISH1CLrv4qTCnbh87W5xcYoKZ6ktjJwvrlg56p?= =?utf-8?q?YzsrWJ4jNkuXbfVQK3aeTiBohY7V2meH87lVbQRLpe2C/v1Sqak9U6kBWt36K5J2O?= =?utf-8?q?Ksoy0Ny6DMLMp2whw96qNCntmvD3hp167CxNGbcGPCTi7i98x+4iEpNQblMXFcRRH?= =?utf-8?q?xGjcqLpiEN8UvT2ggBgkTq689bmfgkWVs92ewDONAiSLHNLw5CAQOsHOVYoZYvpyn?= =?utf-8?q?nk4SVewnwuyRqGvwpYasJUPqpJ9jWQwq6ervnQ2FO9CjbaDq5Vb2ng1xDehawROez?= =?utf-8?q?SA4cW25XCppF4rxQBxLRwbuN5zkvzwC5nssPx28xOuRwCSbYMe7HFVQF28Zm+TyIf?= =?utf-8?q?XZAyac2kbM75suzndYlSP1V0pIgIEiVa1WTKFV8F94p2Dwg+rjdD2Aqh2zylHWNKT?= =?utf-8?q?TEwgj1lmhv3drfYsejrp0PBPPCVud2U9lYwX0sHLdzP9DoyFCdhO+CoO3dO+eBipk?= =?utf-8?q?P5q1HkWbXjhbTrT07D02R+Qfr1ar4tqyHDBMo63yt688NzJlxTe5IQO1gDldm//R4?= =?utf-8?q?4VOETFYG6hsLaxm3ZW/ih77ZMUSPdA7c1AGqKXZwjS9UZVkJjsSm1YruSa54goqRf?= =?utf-8?q?7JQcdUn4UbP7TRwU20AaIO/GflpjWgXxFoxWOVLs/euxh+dXWuopEPiBHue7hgPlK?= =?utf-8?q?t4kX8vmJX3XIxVCMi5WCn+baWeWKWboT3cDCXdX+qK6FTVRzT6JQmLxt/gAZ98ENQ?= =?utf-8?q?3+YVHpzlx7Ive2kaEsBmMU7nKxxjnneDlT/EFkjatayTX88L4ehxs32s00f3D54KD?= =?utf-8?q?97wlq1AswH/+EOfZcU5xtlVNZ7ItvhpAm0w6hSV3JUF2ncUIA3ThH+DzF67zZrIZI?= =?utf-8?q?ndepD5fJ5Th+mITYWaI0Y1hLsgSIsb+n1A3OVKU6OoreUUizyFULKHzbY+OGrvymG?= =?utf-8?q?AOfU4eS4OYSM2IqgsfqFvkreeIgKC5MT6CIHLF6Wedm9lho0eCsGSq7PzgUN9iYCe?= =?utf-8?q?JMjw91fv9AgsRkSlRXJECB/jfDPjYApEVywFmvW+EORcTGMlM9mmQiPg8zx63u+zg?= =?utf-8?q?AWwlCTiCVQASehaD32ghN2YifJqJwSgEAgaQa77oJqe0UwZLXiydBFh3xcWmbbWdo?= =?utf-8?q?BoPaYhp7JMIOw/jzqd2o6ls9KsC9Bj+MkCPpq5U5ueoS/FvFQS28+NzEcnQgBnq29?= =?utf-8?q?JRYMLK6UbI1/7ygJzTBzglcio0l8i6RZTLjg6WcRyoohjaEVo4kWwFPXx9758iM5v?= =?utf-8?q?FRqHzfE0FEnR?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc736d76-0f73-4703-017a-08dbdde4cfea X-MS-Exchange-CrossTenant-AuthSource: AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2023 09:51:41.4899 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: m0bRAKbQYn/6XmpA2C1Nk8/KP5SdnL/2S1debOUyrF1VM3kAiiTkNkAD/aQ+5dZ9ixNF4J+8+MC+bokeLQym1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR10MB6309 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 05 Nov 2023 01:52:02 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781717190363486705 X-GMAIL-MSGID: 1781717190363486705 |
Series |
[net,v2] net: ti: icssg-prueth: Add missing icss_iep_put to error path
|
|
Commit Message
Jan Kiszka
Nov. 5, 2023, 9:51 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com> Analogously to prueth_remove. Fixes: 186734c15886 ("net: ti: icssg-prueth: add packet timestamping and ptp support") Fixes: 443a2367ba3c ("net: ti: icssg-prueth: am65x SR2.0 add 10M full duplex support") Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> --- Changes in v2: - add proper tags This was lost from the TI SDK version while ripping out SR1.0 support - which we are currently restoring for upstream. drivers/net/ethernet/ti/icssg/icssg_prueth.c | 3 +++ 1 file changed, 3 insertions(+)
Comments
On 05.11.2023 10:51, Jan Kiszka wrote: > From: Jan Kiszka <jan.kiszka@siemens.com> > > Analogously to prueth_remove. > > Fixes: 186734c15886 ("net: ti: icssg-prueth: add packet timestamping and ptp support") > Fixes: 443a2367ba3c ("net: ti: icssg-prueth: am65x SR2.0 add 10M full duplex support") > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> > --- > > Changes in v2: > - add proper tags > > This was lost from the TI SDK version while ripping out SR1.0 support - > which we are currently restoring for upstream. > > drivers/net/ethernet/ti/icssg/icssg_prueth.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/net/ethernet/ti/icssg/icssg_prueth.c b/drivers/net/ethernet/ti/icssg/icssg_prueth.c > index 6c4b64227ac8..d119b2bb8158 100644 > --- a/drivers/net/ethernet/ti/icssg/icssg_prueth.c > +++ b/drivers/net/ethernet/ti/icssg/icssg_prueth.c > @@ -2206,6 +2206,9 @@ static int prueth_probe(struct platform_device *pdev) > if (prueth->pdata.quirk_10m_link_issue) > icss_iep_exit_fw(prueth->iep1); > > + icss_iep_put(prueth->iep1); > + icss_iep_put(prueth->iep0); We could improve it even more IMO. If we fail to get prueth->iep0 we go to the free_pool (already done) If we fail to get prueth->iep1 we should go to something like "put_iep0" which calls icss_iep_put(prueth->iep0); And in case of exit_iep we can call icss_iep_put(prueth->iep1); > + > free_pool: > gen_pool_free(prueth->sram_pool, > (unsigned long)prueth->msmcram.va, msmc_ram_size);
diff --git a/drivers/net/ethernet/ti/icssg/icssg_prueth.c b/drivers/net/ethernet/ti/icssg/icssg_prueth.c index 6c4b64227ac8..d119b2bb8158 100644 --- a/drivers/net/ethernet/ti/icssg/icssg_prueth.c +++ b/drivers/net/ethernet/ti/icssg/icssg_prueth.c @@ -2206,6 +2206,9 @@ static int prueth_probe(struct platform_device *pdev) if (prueth->pdata.quirk_10m_link_issue) icss_iep_exit_fw(prueth->iep1); + icss_iep_put(prueth->iep1); + icss_iep_put(prueth->iep0); + free_pool: gen_pool_free(prueth->sram_pool, (unsigned long)prueth->msmcram.va, msmc_ram_size);