Message ID | 1432355333-15515-3-git-send-email-dinguyen@opensource.altera.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B0225C0020 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 23 May 2015 04:38:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2092220585 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 23 May 2015 04:38:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D4AD20574 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 23 May 2015 04:37:59 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yw19R-0008Tx-Io; Sat, 23 May 2015 04:35:09 +0000 Received: from mail-bl2on0088.outbound.protection.outlook.com ([65.55.169.88] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yw19H-00086E-2p for linux-arm-kernel@lists.infradead.org; Sat, 23 May 2015 04:35:03 +0000 Received: from BLUPR03MB034.namprd03.prod.outlook.com (10.255.209.146) by BLUPR03MB183.namprd03.prod.outlook.com (10.255.212.149) with Microsoft SMTP Server (TLS) id 15.1.172.17; Sat, 23 May 2015 04:34:36 +0000 Received: from BY2PR03CA040.namprd03.prod.outlook.com (10.141.249.13) by BLUPR03MB034.namprd03.prod.outlook.com (10.255.209.146) with Microsoft SMTP Server (TLS) id 15.1.166.22; Sat, 23 May 2015 04:34:34 +0000 Received: from BL2FFO11FD017.protection.gbl (2a01:111:f400:7c09::162) by BY2PR03CA040.outlook.office365.com (2a01:111:e400:2c5d::13) with Microsoft SMTP Server (TLS) id 15.1.172.22 via Frontend Transport; Sat, 23 May 2015 04:34:27 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; arm.linux.org.uk; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of opensource.altera.com does not designate 66.35.236.227 as permitted sender) receiver=protection.outlook.com; client-ip=66.35.236.227; helo=sj-itexedge03.altera.priv.altera.com; Received: from sj-itexedge03.altera.priv.altera.com (66.35.236.227) by BL2FFO11FD017.mail.protection.outlook.com (10.173.161.35) with Microsoft SMTP Server (TLS) id 15.1.172.14 via Frontend Transport; Sat, 23 May 2015 04:34:26 +0000 Received: from na01-bn1-obe.outbound.protection.outlook.com (207.46.163.182) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Fri, 22 May 2015 21:33:06 -0700 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=dinguyen@opensource.altera.com; Received: from linux-builds1.altera.com (64.129.157.38) by BN3PR03MB1368.namprd03.prod.outlook.com (10.163.34.154) with Microsoft SMTP Server (TLS) id 15.1.172.22; Sat, 23 May 2015 04:34:22 +0000 From: <dinguyen@opensource.altera.com> To: <linux@arm.linux.org.uk> Subject: [PATCH 2/3] ARM: socfpga: add CPU_METHOD_OF_DECLARE for Arria 10 Date: Fri, 22 May 2015 23:28:52 -0500 Message-ID: <1432355333-15515-3-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 2.2.1 In-Reply-To: <1432355333-15515-1-git-send-email-dinguyen@opensource.altera.com> References: <1432355333-15515-1-git-send-email-dinguyen@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR07CA0038.namprd07.prod.outlook.com (25.162.170.176) To BN3PR03MB1368.namprd03.prod.outlook.com (25.163.34.154) X-Microsoft-Exchange-Diagnostics-untrusted: 1; BN3PR03MB1368; 2:mNY2zvTIZ3Sm5mtGcgn72O+3kqpkWy2lUsKf5En9RMYqRV1JzsEG7+vStKGWh8Xf; 2:kh8XfMeYU/CdziHeopuAaytOLIuMvhBpJeotvV4e39kCFrjVI4XuBVjZvcyADTnfZVFlZEd1bv8XzNlQcgpjxw/5++FIeO08CKdu1lOthxSKVOZoE65NKMcT9+8Gw0j6+wKSPcpvVurmD/j49YCF4Q==; 6:FGzfqhjsUdl3f9MqkUO9YTTKXLwPRTXJzlRxpQpU9u+OAVQl+ZSNdh8m4ln6gqTu9Bpc1yxXSBHrQGosQ0TH+uKVxeXUh6Clq8vGe7OZwOnDgNYLE3OT1VzhgM6iIJc1DBFfdB3rDHezXtWtR1EEiA==; 3:TNj7+/M0thfMbZIemuQsrqrXAmy20L+je99EI+hccKz59/zyWtK28n1nHYeQISnTjKjtPQDFFusdJ0v50ThbVNwlkrLvK8YwwgaZABk/6arshLPh/WPAsNoOPdmVeyJ5d52zYIr+rlQntfQZPOxpnkJB26F6OwoF3cYRmzzKYUXR+i8/qzrUaYV2RIU9gOGzUxk8/8yAop+d1/gRGbEDj6gMjmFGbIle8Jsk7FAvn86O8f8YCmPuMrdfyu2tKDvvs+/67hWA2urgXedzYNmsah8K4sCgZSBdbgxqGcQ/O1QL8jYpuQosqiHrb4+Wf5Zm X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1368; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB034; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB183; X-Microsoft-Antispam-PRVS: <BLUPR03MB03419F3059E7314367B474B9ECF0@BLUPR03MB034.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520002)(3002001); SRVR:BN3PR03MB1368; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1368; BCL:0; PCL:0; RULEID:(601004)(5005006)(520002)(3002001); SRVR:BLUPR03MB034; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB034; X-Forefront-PRVS: 0585417D7B X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(6009001)(189002)(199003)(81156007)(4001540100001)(97736004)(5001860100001)(5001830100001)(189998001)(5001960100002)(48376002)(53416004)(106356001)(50466002)(42186005)(76176999)(107886002)(50986999)(101416001)(110136002)(66066001)(47776003)(87976001)(86152002)(64706001)(19580405001)(19580395003)(92566002)(69596002)(46102003)(2351001)(229853001)(86362001)(122386002)(33646002)(2950100001)(105586002)(62966003)(77096005)(68736005)(40100003)(77156002)(50226001)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB1368; H:linux-builds1.altera.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: opensource.altera.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1; BN3PR03MB1368; 9:L2iL+AQx7YJ0DhmAXeOiCaDSUyP8Wwv3Nw5M3tErbh?= =?us-ascii?Q?gydj+JNAAuLYxvBHydwsCDYubItkyrD08OjNlKZkGnnR9DUUh1U9CVOTmORb?= =?us-ascii?Q?y/S2+9Ikp7D/t7uFLrznPD1Aw65SvmxmoHcK4TzxZQyaORj3e3IfOCjpxm/S?= =?us-ascii?Q?dBu6YNgJpBqbpGMeidlcOnbivHk0FYgoJFWKmHotd2cdDcDfiXAK9ZZNDGyw?= =?us-ascii?Q?ICBXXThfs6ojQDUoXmc0HO8zRQrN8MA8d9ZLTiGhcaHd4jnYJg/sWLeRaOKc?= =?us-ascii?Q?ng7a1MVgnpFmB9bKrpGcsYZlAweBXoWQhnDGAqJGJSHpTKYB9JXttlgpDk+P?= =?us-ascii?Q?ri0PZPLVgZamAK2j+s8sNouLFvuP9x10fiueWWYUt7o3/eoTzpK5el7QfZwz?= =?us-ascii?Q?yMJzTvAUyobsihoAFigYwlO2HdBcuTUIF5S5XjLl/6OvYk6UURF+DrZtGM87?= =?us-ascii?Q?RjByK/vswBN2w6MqVyuxPdwOc+4/KWlTDwUtvj180b8j27atV8tscOwQYZTH?= =?us-ascii?Q?1tMXPGfY5m41Ka6SdaauveIEFof/Y2+6SEiTnC/P3p2oEcVyH0+EmvuXllQI?= =?us-ascii?Q?k0MFse6mbjb4vkFMRdu8A1y47md8xC7/SjRRktgBLrklwR3heR0up/3aGsdj?= =?us-ascii?Q?1GsiPDylTTVcH/v8Klqt7qeEiwtWIpTUU6ouGPIKN+uMR6yUGJfTQ1jbnR80?= =?us-ascii?Q?Nc0Rdw1X/gXCVHUVqaxi9N0OEnfWOvUsAectTezLBCbEph8/XXuIsH49MJvA?= =?us-ascii?Q?DJ9WWdJ8oebCcUMF2fCZH0eizvEBDtXIiug4i0+WfYLVegJ7OMuhX7hdnXGn?= =?us-ascii?Q?fLnCDC3V2c9AE2REODp3viqx2jJLtZ8iE+68AtYdiWB8fdadzTlSmldEHGtq?= =?us-ascii?Q?S2MtT8LjwXuo0oV8Z69qmlvdfgLuBwhn7912r1htiofZ66DXS3DGQO3XC62O?= =?us-ascii?Q?3ZrKRaeX8lfwum962o9Z/dEhUIlplykQhcmFUnnRfnHyYY+ct52Bbt701XqI?= =?us-ascii?Q?3yUJoRY+uLTYwbXH4CCSeosQZRYTZOfA5D7YYZBOwOYKe6i1lcw40/1Lv37y?= =?us-ascii?Q?NLh+x+350pWHAOJ59FGUiC/A5xJDYbo4CEt1phc3DHmyyZJdItH9brunt2kL?= =?us-ascii?Q?K+G1Gze7qMQ/KGnhKWKmZLAxdbkh/u/IQNm8dH0end/6cb6UgRcw=3D=3D?= X-Microsoft-Exchange-Diagnostics-untrusted: 1; BN3PR03MB1368; 3:IyjF5pW2xaEZL+qwRuCBzw4bR0n4DV/C9NkIDAwilYoIpG307Ysc2uAA3Z/CRT7Air1mE7UpYWBtwtav1GMlCJ4hzS+fIEJUXK7Mu0F8sUA7dH8w2ikeTW7fMeOck7ibvcqzsKcA1iPRp0kpSsyNyg==; 10:I0tzHjl0hPzCSYcy+EDoPC7fJdqRE2YVw9Wv1tzyjl6PVev70JDw+pl+xNClBPfp+8Gp2zdCd4EYFJKCqShTNzqqBj6ahYd/o2YwqJ0ROqc=; 6:rq8iPImJT+lfwZD9dyaJMW0B15geFbOT59Z++8/Nku1VGTCw7lNA70AWg/sCjny/agGTLB5OPHgYfNJivZQPEjbGpuslXLPJYYt2Cx/WiXx85hayuDpmXrJK9kmHBUQmAPS2oxqFQc3FDDMNicUHjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1368 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BL2FFO11FD017.protection.gbl X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD017; 1:jze9NwcsVAEexHfQqQLFcOJdNwptA2LFmZXUwI1kRgPOd8j1ZDYz09XJxffXKwLVbj3GdwkEky/NORjS+Pkdg46Su98FS4HsKUz0in6gGbFngH1ZiYWVWeZk6kw7MokXqM/2aNXgbP5jTLwRC7djwPYlFgn8rSYFLh3HegG0Pe/XrvhCUw2m24qA2btnQM+7efI6NSgXSr4prWQnwH35gmXs36Ev1uzdoGadMoj95IgD/20u4j/Xi1AHXWrDgH+tpJ0R+nol6aO9lqpi+O80bQ== X-Forefront-Antispam-Report: CIP:66.35.236.227; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(339900001)(199003)(189002)(4001540100001)(106466001)(76176999)(189998001)(105606002)(33646002)(81156007)(229853001)(40100003)(107886002)(6070500001)(5001960100002)(5001860100001)(16796002)(97736004)(5001830100001)(110136002)(122386002)(68736005)(50986999)(2351001)(77096005)(62966003)(2950100001)(77156002)(85426001)(53416004)(47776003)(64706001)(86152002)(50466002)(19580405001)(19580395003)(92566002)(66066001)(48376002)(6806004)(50226001)(87936001)(86362001)(46102003)(7099028)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB034; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:0; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB034; 2:KTEKA+xZiGg14ZEenKao/JNEb3gli1VEfGf4izcsW8HvgX8IGNCHu2sQqFTOoPBy; 2:kPCP8X0pw4nVEHax5BNcwYG3CKbK4+UqMlhdNbiVA1DNpOC6jGtw8CYDxx+viPkTzBrsWEeen0WB9q+dMs3luK7RDoHppMhF3fhuvzHjF+D2wXjKK2jhVWFOvf8suDqwlpBoqIn2f21cGE4L1WDByBdQHFZdPUBQfvqkBHmVyFYjTnkDEZcwQO5PrDqw2denMf8aFvfbg+7DETncy25n5hpQ3T6Rd2KHUzgQUSgoeEk=; 6:K7tiwe+0DFOvu2M69CgrjWyMgYFNXQODoTWbQlJSF9zYmzEKoxD2an8fI+ynqykXVusJ90ydhMcNgN4XpFcD/IGZiHbc33sbtZGfCL1Zvjx5LTfHy040ehi4EgfOQRwvuH1qbViRn3pFrl6lqYHmHw==; 3:n7eqimUFl/ENyDTLTIchkYMYlE0XmCzSFkuInOFk8shQsXxUe5lc7xbZwiEwL1/Amg3iAU5f/juUOY78B6+Bdi1vOFilbjQkruEgzCOVtmv3DQ97RG+d+XPzbO/xak44SyvsVdF2QrMhI+makAdifNWPmVYYmCV2M/zXLu5eP3YWO1JVa/MMk0cslyOH2sm+uiNpu5KNbfzE2jgzJEl4uPKgPeeBbFTFFmQx+axITRQ+NU1vCjFDXI5D6JRC8M8g+UVIo4Gor5zeP9EfK3zSIdlZDZ7WTfvA27djqt7hYS9xAWrUOzrYL4LCryTSL3iV X-Forefront-PRVS: 0585417D7B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB034; 9:XPk5bZXJUwJooqruSDSgoPZxAKTy6+Me5AdRxqGlk18?= =?us-ascii?Q?+6APF0VwFOEDCbJ1tuNPD3eloDqK8/gXbgJ2s3OJPt65HfFNcFt/nsGRZ/GA?= =?us-ascii?Q?acpJ2SE4acL5SiWTePs9F9nL191ZbhorG1GsD7vcs9qjahD1Sm+VKI/Htj99?= =?us-ascii?Q?V4YC70cvEnS+m57Mvi4lIgtK7/a3g6K+dUkK9HrvCpxzGWXBIUe8gb17+eSt?= =?us-ascii?Q?Or6LC/VEbGEpC67+AZHkPon+vnXq5m2s5J9q8Q6LCW0SbZ/WYfqytd+HrMc5?= =?us-ascii?Q?e56KOGmsskWRlAfYttzhO2sswEFrGKwUgHs44zCBdO0cSzHqSTRcKdSwmsxj?= =?us-ascii?Q?GYoTh/wG3Wa8RdXrnqoQH6ANcujhaLGzJ73sn3CvWteLtTEmavMU+loTVHfu?= =?us-ascii?Q?2acF8XRhS9Hv6AXLF8Mz0Qa2BjXB/KC9N5wTh4sxaYo05/2Lh6jKYjh372PM?= =?us-ascii?Q?QDVJIe7pN4l8pEG5KOO7A1aidg5oigPrhoebyKUbCj9FjYsOgSV5WSMzGWlp?= =?us-ascii?Q?NRSqMSNGCyA5gl7j5LzvtJbDA3p8RW23a1wpHoBtbfi+tyuoHBjM3QCRoRTI?= =?us-ascii?Q?AWRYu5qSUSWTQWlys9Si57VIoO/6Tfko/HBFEupw2E6LaMR4phKMpszgcxk7?= =?us-ascii?Q?YvdRwzmBsYUbh7WZPnYwjp+l60VR/s2l1s7utMp4kuBMsfPZTxS1ow5drmym?= =?us-ascii?Q?Jnbd339tMG8R8JEOb1o48krb1wN0+jG6PFV5OJIt2yCQOhYdZmo+B4WdwOdn?= =?us-ascii?Q?7fNnrfZVrgXDbLIZ8f40C8kKb1uaCIUYdKTo16DNem+dHhVSqyYmY3uFPWbM?= =?us-ascii?Q?HaatV637v0KbT3v7NR44oE5aVMQm/izU6khqsbdaaiY1UnR5UTc6poCj7Ux+?= =?us-ascii?Q?CtfRSi7P9r7+m82KfZR8rqeHulWH7Sz8TQzPPggY4cKIuIPAvj0r/5mn2oRo?= =?us-ascii?Q?7a5vISRQPBxlX809QaDlniVOR6J3V2Yj2QqONQIRYkX2z0tqSiULFEWeWMHL?= =?us-ascii?Q?rqMWEwSBSoVfKSwCMTUZ9D5NUy2GoivBayfG9ZMc4udvM+ib/31LIlB+usb9?= =?us-ascii?Q?0bawRcPCQh1PNo2ZMKKWkQOaPBjqJp4SKrsDdS6bwDgf9N7v4PfJx8oyDRo7?= =?us-ascii?Q?babP1TxahLP7TU0Mngr6BIsotjbZLWxrHOXgQAe4pwWPHADj+dppWbR6HjfO?= =?us-ascii?Q?k8Lj+gdYV7cRysKiN4d32dXDoxr3NXBwK6ee7Xn6ZzJm6tcrnDwQl/A=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB034; 3:3PHstkT9Nah7zCQI5vW3+Fjsfhw/1378vyBusYZT8GWVnPnpYoC358FqsPttLX8fhsnGEtSKheoT7vvOkT8XTzyyV8b9BU1lCB9zYZVphl2e5dh7sCD2MYWw9PEFy8JPpdddfUDcO0NoagIfTY5MfA==; 10:obTCMxysuSeRctjR6FN0uI9R1u79G8deq/LH8+H+rNPI39zf4vEIgglPym7nHIn09hNRFnwMdXzBC1OYt3H7Zgf91WYF5NKJFIZEu8XE0DM=; 6:bAITUI3FWb9T0vy1CEZOGWdvsPCStkfvyB/Qd1ZMtI0IsUAh5xURLouneVKd6wDXOkvYiPrtWMW5n3Xw9T4VVwAMoXWQJnydGIuZoL4EYYrsM/KU+7oMg/JJPUgeyw9KBhZ381KzxMwShMrc+CutxA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2015 04:34:26.9127 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a; Ip=[66.35.236.227]; Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB034 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB183; 2:ZsM68YmgvOE4XLjz+yI1hpc5qKN+E1tMH9EuXYJZcFLg1gKFUfkvk3shiUZuXFOE; 2:AjeyNOKlHd8eXUFzbjhEQpp+bOQjOzay+hGZZ5dztGWi6dZBtLUM60CIhfTFIWKbjQviXFkz3cgIOc1ThwzOVzfsk7Kl4kewddkTM+bSBo1dJ0/0Pg0ZXIsZWwv8yP2iKX90hSou9P3zx/0GCXG5XzadwKWVpNaujQfVCHXv+OXd6p8MFyBt4K/g6LrrnaLv7GOLkKM7/n2kFzrGn+FVtsKL6Zu3HDBwWQb4Lf6+PAQ=; 9:FiYfbhtJjq7z8rGeU8fRWX/asnKdGCU8NJ3mqlx976w8FN1T1AxL1sZf17gp/BQsgtHr2fUcSMPOL6LeGUpNBorvpKabg7DmPhAzeKZ8O2f7lDXDBfJkQ/efQ7WDao3tkdfV7aG2UidMI87KXUkxUw== X-OriginatorOrg: opensource.altera.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150522_213459_394052_68BEDE3D X-CRM114-Status: GOOD ( 12.03 ) X-Spam-Score: -1.1 (-) Cc: Dinh Nguyen <dinguyen@opensource.altera.com>, dinh.linux@gmail.com, linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/mach-socfpga/core.h b/arch/arm/mach-socfpga/core.h index 5913bbb..7637b7f 100644 --- a/arch/arm/mach-socfpga/core.h +++ b/arch/arm/mach-socfpga/core.h @@ -25,6 +25,8 @@ #define SOCFPGA_RSTMGR_MODPERRST 0x14 #define SOCFPGA_RSTMGR_BRGMODRST 0x1c +#define SOCFPGA_A10_RSTMGR_MODMPURST 0x20 + /* System Manager bits */ #define RSTMGR_CTRL_SWCOLDRSTREQ 0x1 /* Cold Reset */ #define RSTMGR_CTRL_SWWARMRSTREQ 0x2 /* Warm Reset */ diff --git a/arch/arm/mach-socfpga/platsmp.c b/arch/arm/mach-socfpga/platsmp.c index 08250c8..bcc7ce8 100644 --- a/arch/arm/mach-socfpga/platsmp.c +++ b/arch/arm/mach-socfpga/platsmp.c @@ -54,6 +54,27 @@ static int socfpga_boot_secondary(unsigned int cpu, struct task_struct *idle) return 0; } +static int socfpga_a10_boot_secondary(unsigned int cpu, struct task_struct *idle) +{ + int trampoline_size = &secondary_trampoline_end - &secondary_trampoline; + + if (socfpga_cpu1start_addr) { + memcpy(phys_to_virt(0), &secondary_trampoline, trampoline_size); + + writel(virt_to_phys(socfpga_secondary_startup), + sys_manager_base_addr + (socfpga_cpu1start_addr & 0x00000fff)); + + flush_cache_all(); + smp_wmb(); + outer_clean_range(0, trampoline_size); + + /* This will release CPU #1 out of reset. */ + writel(0, rst_manager_base_addr + SOCFPGA_A10_RSTMGR_MODMPURST); + } + + return 0; +} + static void __init socfpga_smp_prepare_cpus(unsigned int max_cpus) { struct device_node *np; @@ -91,4 +112,13 @@ struct smp_operations socfpga_smp_ops __initdata = { #endif }; +struct smp_operations socfpga_a10_smp_ops __initdata = { + .smp_prepare_cpus = socfpga_smp_prepare_cpus, + .smp_boot_secondary = socfpga_a10_boot_secondary, +#ifdef CONFIG_HOTPLUG_CPU + .cpu_die = socfpga_cpu_die, +#endif +}; + CPU_METHOD_OF_DECLARE(socfpga_smp, "altr,socfpga-smp", &socfpga_smp_ops); +CPU_METHOD_OF_DECLARE(socfpga_a10_smp, "altr,socfpga-a10-smp", &socfpga_a10_smp_ops);