From patchwork Wed Jul 8 15:51:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dinguyen@opensource.altera.com X-Patchwork-Id: 6749421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9DA1D9F38C for ; Wed, 8 Jul 2015 16:02:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 930132064C for ; Wed, 8 Jul 2015 16:02:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3E8C820606 for ; Wed, 8 Jul 2015 16:02:11 +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 1ZCrkw-0008R2-RK; Wed, 08 Jul 2015 15:59:30 +0000 Received: from mail-bn1bon0053.outbound.protection.outlook.com ([157.56.111.53] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCrkt-0008EA-74 for linux-arm-kernel@lists.infradead.org; Wed, 08 Jul 2015 15:59:28 +0000 Received: from BLUPR03MB118.namprd03.prod.outlook.com (10.255.212.19) by BLUPR03MB051.namprd03.prod.outlook.com (10.255.209.151) with Microsoft SMTP Server (TLS) id 15.1.213.14; Wed, 8 Jul 2015 15:58:49 +0000 Received: from BLUPR0301CA0008.namprd03.prod.outlook.com (10.162.113.146) by BLUPR03MB118.namprd03.prod.outlook.com (10.255.212.19) with Microsoft SMTP Server (TLS) id 15.1.207.19; Wed, 8 Jul 2015 15:58:42 +0000 Received: from BN1BFFO11OLC004.protection.gbl (2a01:111:f400:7c10::1:150) by BLUPR0301CA0008.outlook.office365.com (2a01:111:e400:5259::18) with Microsoft SMTP Server (TLS) id 15.1.207.19 via Frontend Transport; Wed, 8 Jul 2015 15:58:42 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; lists.infradead.org; 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 BN1BFFO11OLC004.mail.protection.outlook.com (10.58.145.15) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Wed, 8 Jul 2015 15:58:42 +0000 Received: from na01-by2-obe.outbound.protection.outlook.com (207.46.163.244) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 8 Jul 2015 08:56:59 -0700 Received: from CY1PR03MB1373.namprd03.prod.outlook.com (10.163.16.27) by CY1PR03MB1376.namprd03.prod.outlook.com (10.163.16.30) with Microsoft SMTP Server (TLS) id 15.1.213.14; Wed, 8 Jul 2015 15:58:38 +0000 Authentication-Results: arm.linux.org.uk; dkim=none (message not signed) header.d=none; Received: from linux-builds1.altera.com (64.129.157.38) by CY1PR03MB1373.namprd03.prod.outlook.com (10.163.16.27) with Microsoft SMTP Server (TLS) id 15.1.213.14; Wed, 8 Jul 2015 15:58:37 +0000 From: To: Subject: [PATCH] ARM: socfpga: put back v7_invalidate_l1 in socfpga_secondary_startup Date: Wed, 8 Jul 2015 10:51:51 -0500 Message-ID: <1436370711-18524-1-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BY2PR06CA024.namprd06.prod.outlook.com (10.141.250.142) To CY1PR03MB1373.namprd03.prod.outlook.com (25.163.16.27) X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1373; 2:kIgWRvo9O/V2exutmfxQrcLoiea5wL8XCaVnHuWysl4eFv8QhezZ2Qp7rCsESv5n; 3:pjzgb3Hae92kb+39jdUMF9liS/RD9tZjKJDZ3Fzy0cIwAzIGBIbbcHfcoSrHIzXgIa6UT1CrrriiwIW8VGJgA3ImLkg5Xmfwx5VCymW1rIaeH539Z+v/9zJxxUqjowh3IJtavuOHYgFw5PYtnGUVJg==; 25:sQ8bWlNbBfnE6NPXCp+/bpwNvti+hCNTJ5wRZrVJ9T8Me0pXiBXTsBZ0YhlSyyFHjcjaaIfPX5Q7HsVb4QOwEcaCgnoJ+M3xSMFuJvF5JQYH+LU4bElM1n70R+oDN5IimYp4/Y/wY4qmdYYo5RzP35f7RCFbh/epPLugfXao9PMxyYoqH7nccUZDfKycCsULv9mWA9ziRd/4b8DaFiegNO2jBqikGzmQpITrO3FkG/RTjzB4DVVwL+8xjAi/XV5yRhEO5iSGDi1lyVRmE+Z5CA==; 20:aqXmFnikJLGK3BAZWDx/9XNVuiSaBBBEyHJHKTyU2CI7QqkkE6O1HYZAnA6h0f4wopdNB6NKnV9eo9XA2UhSEEAnQjh12h5TN+J2efK2gwonNJAv7Ph8MptolohkU+XW97rhI+aKHCHyhgZOqYYIrRZJpn85k7ctgLbSGFoBgqI= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1373; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1376; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB118; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB051; CY1PR03MB1373: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:CY1PR03MB1373; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1373; BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BLUPR03MB118; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB118; X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1373; 4:g8gMZgpgF2XK1h5WlT6LTwByhOeeWyKqSgOLWULCNXKH4HI4QNwVsRqLtH7RarVR7C6E4Bc19Chhy0qkRtr+TKBEau489U45dpmz1zubaBwBm9onKdfe4OFodWq3e1f0ErN6T0raQPMJITkqWXQTYIQ/QhxfvYE4UftA6Q/qjHusdK7qQO/P3Mosm1N0isLJp9Iy2/QqIK4LG4bt3JOIKpp833KZ4sBlz0hG2N94CSVTTqcmBa5YFenbDOZRtK1dtsi1yf4wHoxaRKtrZ8FuKnzNeDwAPYhz08x9se1XG1c= X-Forefront-PRVS: 0631F0BC3D X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(6009001)(77096005)(33646002)(86362001)(19580405001)(19580395003)(86152002)(92566002)(46102003)(229853001)(66066001)(47776003)(2351001)(42186005)(189998001)(5003940100001)(50226001)(77156002)(50466002)(53416004)(50986999)(5001960100002)(62966003)(40100003)(122386002)(110136002)(87976001)(107886002)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB1373; H:linux-builds1.altera.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1373; 23:rgc/l+8CDjOsX+cIqPCTNdUJ77qAUqrbVxA7R6V7hocbAizZDquNP4lBmiSZkJoLwhL/oo1mUhuIdy69oFKecrSIgb9pSAgaAOEFM6lAChpApiFFDmXNf09e5p4AJ0N9Evzc+kZhZlvM+uMX57U+yiFwHJ3rn6KJI5E2gNvIdXC+44HVPqsywZ3/IGgGqeIyNUCkgpVbPHzrTBy6q7SXl3Na52o6KtN4BeXobeMofsbUYCBpTI93stGW64hWrewucBEjevvBT1cntRYcv6SlQ8XNOs7s7/fyqs3tKd471S4tB1aCy1bXWDV7O/zYd3WTe024dHlP/7WrIPipBXYFtJL1LysUHUY6iXN5kN87JE/vmycUOUhNsWfQrlyagt1el85931cEr4bryxqJOCYH+agC/EgiHq9LZTcYKEPqR5hWDmyAM1xaFQaKsXktpyJOgio2dn99eQEuSFRPAQm8T/hdGQ+dV9COSGRq1eH6C7titISU1FrAkis6HGW8bwneDymHCtdMGJJpfNFWf4ajvHWukBhPD3deGvhec8VqzTyu9YP/sqYP0EPC0CDS9X2YeqdkGx+U7o6jXNaoBLDpTzL4TtcY5BAroiV593bIPVG32NyZfQ2jxgQVh0rGiavgPsiGW3u9CCBx+7rijzzjE7p+nKpjxbu0pGtVLCWQT9nKtvlsKZHCaFOiCJt4LVgYo0bmFq1fKfDU0WAldEg9q76elIO+5/Ic5GGtwboEy+/p93SfbwpNWQm2fjaXpAU87QlT8WnJomzIQ/zcit2dDEd3KBm0vGDRdNocp3/ZWD/yOwT+j49SuX+8VIi5iswE X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1373; 5:8eGqiGNIdJQFm4X05FZqURThj3p5RT1cOpLM2TerJCupACSnPv59f132g+4Ewq3AqxKWK6k5s7UYMLXRAFQOV4kO1L9Vthsn/3B7WPr0yqFBkUzxHK2u0SnvOfnyDFoQOmHxHjvNvY+JY3bGjbqceQ==; 24:qlYQGZASY/vLSsBiu6g6WFg2/csXXrabeXL9TkAHGDX+mLWPbmQn3Mc/qNN9qKWm0pzcx8phbhD7PA/dqV+Cd1C2ui5y7/pOMwMuz7UOlkU=; 20:T2FqBzGUEK3EbvPKvQXEg3AMgHD8jWBX3ft01mMemqG/FFXsKQM1eVK3VojMc33W2zsCnoewjxS1bpZb0EVwLbSxiaxF8mCW5YdmdYaWr6WCsCy8ZxJfHz0OfAUBLuiaAohasDiuPI/Lg/gDvcxULnnVMsasANNkYqA0NgTA1Rk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1373 X-Microsoft-Exchange-Diagnostics-untrusted: 1; CY1PR03MB1376; 2:mfrjAbfFeWgg2QYzKwAu6QC/NHF0IzPmDR5pkVvocFfJrarVcJKwEbIVdW4AMk7m; 3:U7U4/w2/5A4zfHTTVqNss0xVHFbvH478iDeN/yHLoB3iJxUUmI3we3S4wQp9SinZ0Vddfg/YevJ3wbS4ZYV9YX6X2rpsdeBKaORUbw8tFnu7A79v+L8mtwgLHcaHoNNiwI44jHM2J2zuQOCcn4IUAg==; 25:evk+FKgpbXlY07jL8qpoXKt8iBZbJiYJW/jubHjgreVMd8lkleMi5csTgtXgn/3oQn0PiWNiRbc7ZbnggbaqHkcOkbImJ7LdeqZqIMy83NkAjitaDij2MaWF7hY6xHdOihGaO7jBHpy1JvXFZF6Ory+9Qvse9VcR0LlFm6dZU9doVLQNpxOuzKNqm/8oDBmdxeaXWVQyAgfLCvcTzXAibuE+VpqPqwa6UqetFSE7UgEtULMAlO+OrjcDdUXwXxCgtPsra6SjGV/ldsPKwXL6LQ==; 23:FMZ+5gSgcHdbm/t9vK1oUvStjbBI+a+yp64mSzBHqbly233byuGa3g6d7w55jCMyRiZB6JNqBGRnitLzX5Uvrqx87owiE9iGuZ9HFxHXO90quH0iZSzLeLvNh1GMBI/Un2khtpuTwAKj0G9OrLrfbPL7QSizdeoWZiu8wPSP/0MB9zdsfFh6tRLpyYofitSFwHFSpHEZYItOiYYSehq2Nn5B5npdlxdEJnPxOfKH8xfIUWKC9fK7DpqIwoyr20iK X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11OLC004.protection.gbl X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11OLC004; 1:EAWMIRvQsSmu5xEurW7k8dHtfsKoWbW3DS/APL1jnbzPyaBu3d2v6aOxUTLZ1txirCupiVAyxMIQ2iPEndGGBiYK6hWp4Ily1qG2OZegmT4htDG296NShphOoXA767ZrKjG7ewhjO+E+jQr+ERiabyHoQo4QTO6xsARhzykGKT5iTRiFpQzUK6VXXf5e/TAJGRLRO8E3Vv4bNd0971maaovqdjb1H9BtTrn+r8HYn7I6ZWa+u603l5/9FeTVlzbG0VfXJK8Ybpfxwkjsm2Ryukwv96ksL/L4q+qchu7o8cSThmpu/LOjY0dID/2NBUovlVCxOdY0U/PQFO7ky5S+F9/fAXN7ucfVTGyh0+2PkjS60ea8v9JFFngONb8qyJoTQ8ZT7Ro83vAKDS6by9ELSZUYQ9CP28cSTQ4uNFo/qhI= X-Forefront-Antispam-Report: CIP:66.35.236.227; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(339900001)(189002)(199003)(87936001)(92566002)(106466001)(66066001)(47776003)(50466002)(122386002)(107886002)(229853001)(46102003)(77096005)(105606002)(6806004)(33646002)(40100003)(62966003)(50226001)(5001960100002)(110136002)(19580395003)(86152002)(53416004)(2351001)(189998001)(85426001)(50986999)(86362001)(77156002)(5001920100001)(19580405001)(5003940100001)(7099028)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB118; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:Fail; MLV:sfv; MX:1; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB118; 2:yzs7+IflE8vr2OucBzpca4GPYJq0PWNnJogQlYiZkVsgEdHvabKGcw7ILoleg2MW; 3:esjgWRSMFdIDgRftoN9gyGb655tWzhSGVBoFCgMgDRD+xpAP/wuHpudG5pnZCy28oQJAWUfPEhkAwXjbnYKNhmHdf62mXuCZ7H+oyg8d0WiKBMpHHTK2ni4gUNInaERajS58USuP6L1kWSqWmVO7kWuk0CKwrMMu9K8DMhz1RCsIfb9deZS8kI1bsYkfgauk9afZT2aJkF1WMK1d9sSPjszcoYwDCnmfsqJUPLFIe/o=; 25:GmG4hMy3Jc/ycoTs0F1anjziot6rvxRkf1T1S5d7m9RZtFvWfwFG5GkN96aawD5PTwWuplwITHg3nSamAQ/xD1kR4ammaGcKIOZHyl4BlQueBkcFe1x+vvvyvzQ5fzpDkhl+qGGMpdKoP2KCiOtCEnphy1HpfDvrw3i8N6JByDD/mYJrYABUOSkZuYR9d1pvFzgYuf6work6fGe0bY+SPXsA6AMWEJXHqgEWJiVuWn4s6tv0mPvA8O2+n2tsVZFarkbzWpEhOnEX7gMPaFc6Xw==; 20:52+yOaYQqEPhfXEgFntRQCYzTh/4n3wPV9I+1jjuKAAkbj4WHyUq96I4UZERTO6QSfr4V9xlovwWBcjsXWr1dr38QcD1iozgbVFWvERFp+7GIe6228/nhIwDk8z9Kq6YajQTjeR3Nbl8BH7yupyFU4pGofQEC88f4rxSvlmZGNE= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB118; 4:V+JiT4svhvikrGsAzFlpE7Qk98ymNUR42qmyBdrg2LVuO7KCbYJ3OsdgKuAP3gzkjEVOydmjX0PWv/qrp0B6yDbHHxhsoMGnxMk5P2ln/nzE7hNBhn+cwFjVXweHh7MbnJ6krOXhZh4pU4nCzF7/jeGytKSrf3EFoMJnCmT6FCxbJ6LS8uCtGTPsU+6w7KTlIoIgGDKSbP40tfO3Ff73uFswvfu+dTmpt0Adf/OlIeW0LkqQM7mzgfQZcI1e36oiRok2DqsUfgXTT1HZ8ANFHwMtLhCoImNYPo/68vtpCkQ= X-Forefront-PRVS: 0631F0BC3D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB118; 23:yIDLsIAMmSE8X093R5hDRO+kaIFR4Tbgwc5f8ws+rA?= =?us-ascii?Q?hjCiR7U687uc4HSSUcIgVGq6H0r4WVGemARb1aswb9RZnqTpwh25yE0uOZPJ?= =?us-ascii?Q?H0B3NHCG8yOPUdw2vYW8rPN4cq1URxn0wP/HGiBx61gXqnGkP2duD1lx55P4?= =?us-ascii?Q?BSsGXdX6ksIX0tLbTQMbJzWRcNuk0sGzBT9L66HZ5TNiUvuqkuHW9ZGY9C/Y?= =?us-ascii?Q?mqdwyCQWC3XocOoyPMHxwgSq07ygFzlQtqSyl9soMBK1xKKsvLotxbObrXNf?= =?us-ascii?Q?9LzaWRY7f40GdhGlr5j2HB/7inkGK290svPE7RECuzF+P5GVlYSpUb4vJ1ys?= =?us-ascii?Q?11iWyKOle0lTEIDwzP7dBcaixHRkZ4USo5Ed2NltwVnkqPhdFcxNxtpP6Xxt?= =?us-ascii?Q?RkIwsZXeQYnSKeFzuMV5KXGbzvfa8VCgmjHkK2fwxu7qxYstC9fsSKnKBTeu?= =?us-ascii?Q?tzr3W8tzhrG3bRpwG6g1F0IcBLn4VsF1SE3OY70Sqvqq/p2A+vCc8dzr9/YY?= =?us-ascii?Q?2+uNhssGPpzWvbKo0YVIBfaVT55LohI6xAIIeM6ftmn0UxsZhxPTBFocfFEK?= =?us-ascii?Q?/amwbtVSo9UPJbZidwKXlV6y4GosjBWJxDlhQnrlC90piCwtine0H4j6RTGv?= =?us-ascii?Q?mPzQ6zlkmfubK++A+IjG0LYt5fqrGrhRlcxjSp0R5WxAia9RrsEKLOUSVmoE?= =?us-ascii?Q?YsTMXu3yUWz9V4WI132bEiCDx5fIXGjTXNA3x0ljZCUF2zv6/dsp0VVqRmz2?= =?us-ascii?Q?I2ShNSCDM0SQezjZQav5gqwDCYZcHePgh3IKsrH0ygZ0UihIvGBBq6SHG7rb?= =?us-ascii?Q?8X8fO5ptqv/VSlBSqINhjITrRHxvpLL2xgScMHbZcy5kd1h/QD8L1pawHFaP?= =?us-ascii?Q?UtfZPNIDHY3DF/U17jse4ivKr3z9ptXanmdHKUu8CoCxWtDzgcG/7brzA2Ia?= =?us-ascii?Q?0mJJcQt29yIQcbH/gv60V60bo22vMRepxM4krcbbbtVSxl4QSW6sJzYXoysM?= =?us-ascii?Q?s/Av/rt376Jb2ERSgS4Pca?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB118; 5:TbtVz0bgwuxO0EJZ6402IbSsMU2irx+VGtmKSq4Fh6DJmb0J47JQY0/f63Em2dKNTh15xU/Wjx/TgxVPhQxTKCUC84YSptdhbJj2FQFV3UGtMzgEXn57ZFpzz31+vFCABSVZUosbHm6fQeXS+haY8A==; 24:Qmh0mD+zn5Zwb/x2uh9gz7jz0zHql4q7qUq+uU6PLTjwLiRib/Nk8DH0Kdw0QKW+OxAlRvZqBxU/D0L9F8UB2q2LxklglXiFVFd3m4txHls=; 20:M4Jhhgb79bSC24/8n+B64/TJzBcQnCByCiyy8jH2dkd0zF/DdEQhkne27dejIUWKX4T7xDoF2Z7s/vQwp5Bb/fgTcR4/rzXK2JQmR6h41/Eo+VyUPMP5gU1ORH8bPUlHsG899ICayzayPszvrhGHV32hTy1ACNmaVIcFmmKOB3Q= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2015 15:58:42.3540 (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: BLUPR03MB118 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB051; 2:xbpe6CPMn9nNIUIvtd0bhUfDC0JjM0C2q5En2f44rtqiKjbSA8rZ0bN8bLDDn+eI; 3:0b2EmPCiMsRJm/FENPfuFaHGNP+kxT521o+0UO32Rqj5+yTEhkO2CrK/sJxhp3srYbEuxacUeS8py/POc+WlgCgNxxWRY5z4FVR1fLoCRLsu2DRAyJKp1KyUAyI1HgYUuXXoWdgm/3mWj6fu1iWLy27Osq1AVZuw0gMMe5dupM7+nqhm7v2TXGKzQwFkAKeX7rdNdG8L+ZwxlzRCfchFOIfksidKPi0zI5kUYJkmnAs=; 25:qrq2FFhDzZBzG7Ue4RiCG/GefNYPfkjjQyYRXQ2eaj1sKdX0gumq8CPgeg6MVDD1VP6fku4ckL2W5c/u5W4X25KD0Tm9WZLK+ZhBu1BuNnlfaUCfDKDBQU1asi4V830E6Vu8iz658PEqZxFNdzEQw1jKR2kvsyDK/jsyN3Vxo+R6SJMqrCqK+gW4pNN/jJGTLgT4ZYE4tz4JkVl+WX4wPgvpqliof15cKPfszdBeH8bEpVGbeem9tqGxsRqLe3aLesLaEf26a/5f/6v+xWzmig==; 23:cWD5M/LJ884CPxd/G3C9kWczXJDraTU5WBgdOE8glM8/RyfPlMfKwfBkAscIK7GivUcc4+khp7jHUecI5vyotUXP4zwYZrgxjiIHU5vU5dc+5NibcPZdqCH/uReqA0t/6h+5k52jtHIXGQvZpunWV6oXhmhNLEv/FHcPnK+dC77Y3CyNCkZEgmvvJg7svDFHdYjA8oJoljChQdn/EvoofIcH0Qf08O3YH1WvAYMCnhMIpesU44nNnpq2Ar+tEyXZ X-OriginatorOrg: opensource.altera.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150708_085927_491014_EDE8712E X-CRM114-Status: GOOD ( 12.86 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dinh Nguyen , dinh.linux@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, 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 From: Dinh Nguyen The commit "02b4e2756e01 ARM: v7 setup function should invalidate L1 cache" caused the SoCFPGA to not boot reliably. About 20% of the time or roughly (1 in 5), booting the platform would cause this kernel panic: CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 Internal error: Oops - undefined instruction: 0 [#1] SMP ARM Modules linked in: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.1.0-rc8-next-20150617-00002-gdd1f624 #1 Hardware name: Altera SOCFPGA task: eecaeac0 ti: eecce000 task.ti: eecce000 PC is at vfp_notifier+0x58/0x12c LR is at notifier_call_chain+0x44/0x84 pc : [] lr : [] psr: 80000193 sp : eeccff48 ip : c06563c8 fp : eeccffd4 r10: eecaef80 r9 : ef1f1300 r8 : 00000002 r7 : eecd0000 r6 : c0656bc0 r5 : 00000000 r4 : eecd0000 r3 : c000a664 r2 : eecd0000 r1 : 00000002 r0 : c06563c8 Flags: Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c5387d Table: 0000404a DAC: 00000015 Process swapper/1 (pid: 0, stack limit = 0xeecce218) Stack: (0xeeccff48 to 0xeecd0000) ff40: c000a664 ffffffff 00000000 c003d134 eecd0018 eecaeac0 ff60: c06648e0 0b52d2f9 c048cfa8 c003d18c 00000000 f0002100 00000001 c003d1ac ff80: 00000000 eecaeac0 c064f300 c001369c c064b304 c0013140 00000000 ef1ed328 ffa0: eeccffe8 c001e760 c0486ec4 2eba2000 c06957c0 c06524dc 00000015 c06957c0 ffc0: c048c778 c064b304 c06957c0 00000000 eeccffdc c0486ec4 eeccffe4 c0487138 ffe0: 00000001 c00544e8 c0009494 c0697bc0 00000000 000094ac 7ef5bffd 3f39b3f8 [] (vfp_notifier) from [] (notifier_call_chain+0x44/0x84) [] (notifier_call_chain) from [] (__atomic_notifier_call_chain+0x18/0x20) [] (__atomic_notifier_call_chain) from [] (atomic_notifier_call_chain+0x18/0x20) [] (atomic_notifier_call_chain) from [] (__switch_to+0x34/0x58) Code: e3a03002 e5843208 e3a00000 e8bd8038 (eef85a10) ---[ end trace 9eaea9661b3b550a ]--- Kernel panic - not syncing: Attempted to kill the idle task! SMP: failed to stop secondary CPUs ---[ end Kernel panic - not syncing: Attempted to kill the idle task! So this patch puts back the call to v7_invalidate_l1 in the secondary_startup path, and the platform is now able to boot up reliably. Signed-off-by: Dinh Nguyen --- arch/arm/mach-socfpga/core.h | 1 + arch/arm/mach-socfpga/headsmp.S | 5 +++++ arch/arm/mach-socfpga/platsmp.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/core.h b/arch/arm/mach-socfpga/core.h index 7259c37..30d7988 100644 --- a/arch/arm/mach-socfpga/core.h +++ b/arch/arm/mach-socfpga/core.h @@ -33,6 +33,7 @@ #define RSTMGR_MPUMODRST_CPU1 0x2 /* CPU1 Reset */ +extern void socfpga_secondary_startup(void); extern void socfpga_init_clocks(void); extern void socfpga_sysmgr_init(void); diff --git a/arch/arm/mach-socfpga/headsmp.S b/arch/arm/mach-socfpga/headsmp.S index 5d94b7a..a521413 100644 --- a/arch/arm/mach-socfpga/headsmp.S +++ b/arch/arm/mach-socfpga/headsmp.S @@ -33,3 +33,8 @@ ARM_BE8(rev r4, r4) 1: .long . .long socfpga_cpu1start_addr ENTRY(secondary_trampoline_end) + +ENTRY(socfpga_secondary_startup) + bl v7_invalidate_l1 + b secondary_startup +ENDPROC(socfpga_secondary_startup) diff --git a/arch/arm/mach-socfpga/platsmp.c b/arch/arm/mach-socfpga/platsmp.c index c6f1df8..7ed6127 100644 --- a/arch/arm/mach-socfpga/platsmp.c +++ b/arch/arm/mach-socfpga/platsmp.c @@ -40,7 +40,7 @@ static int socfpga_boot_secondary(unsigned int cpu, struct task_struct *idle) memcpy(phys_to_virt(0), &secondary_trampoline, trampoline_size); - writel(virt_to_phys(secondary_startup), + writel(virt_to_phys(socfpga_secondary_startup), sys_manager_base_addr + (socfpga_cpu1start_addr & 0x000000ff)); flush_cache_all();