From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 26 Jan 2015 12:38:20 +0100 (CET) Received: from mailapp01.imgtec.com ([195.59.15.196]:25820 "EHLO imgpgp01.kl.imgtec.org" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S27010935AbbAZLiTV0mEP (ORCPT ); Mon, 26 Jan 2015 12:38:19 +0100 Received: from imgpgp01.kl.imgtec.org (imgpgp01.kl.imgtec.org [127.0.0.1]) by imgpgp01.kl.imgtec.org (PGP Universal) with ESMTP id 231D641F8D91; Mon, 26 Jan 2015 11:38:14 +0000 (GMT) Received: from mailapp01.imgtec.com ([10.100.180.242]) by imgpgp01.kl.imgtec.org (PGP Universal service); Mon, 26 Jan 2015 11:38:14 +0000 X-PGP-Universal: processed; by imgpgp01.kl.imgtec.org on Mon, 26 Jan 2015 11:38:14 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id E4EA9E1278731; Mon, 26 Jan 2015 11:38:11 +0000 (GMT) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 26 Jan 2015 11:38:13 +0000 Received: from [192.168.154.110] (192.168.154.110) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Mon, 26 Jan 2015 11:38:12 +0000 Message-ID: <54C62724.8080505@imgtec.com> Date: Mon, 26 Jan 2015 11:38:12 +0000 From: James Hogan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Markos Chandras , CC: Subject: Re: [PATCH 2/3] MIPS: HTW: Prevent accidental HTW start due to nested htw_{start,stop} References: <1422265236-29290-1-git-send-email-markos.chandras@imgtec.com> <1422265236-29290-3-git-send-email-markos.chandras@imgtec.com> <54C626CC.2070104@imgtec.com> In-Reply-To: <54C626CC.2070104@imgtec.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qPGsrnEXH7HhvKMNm9uO7oTarRHG5us9R" X-Originating-IP: [192.168.154.110] X-ESG-ENCRYPT-TAG: b93fcccb Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 45478 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: james.hogan@imgtec.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips --qPGsrnEXH7HhvKMNm9uO7oTarRHG5us9R Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 26/01/15 11:36, James Hogan wrote: >> diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/p= gtable.h >> index 7f7c558de9fc..d2c7e9e7447e 100644 >> --- a/arch/mips/include/asm/pgtable.h >> +++ b/arch/mips/include/asm/pgtable.h >> @@ -99,19 +99,30 @@ extern void paging_init(void); >> =20 >> #define htw_stop() \ >> do { \ >> + unsigned long flags; \ >> + \ >> if (cpu_has_htw) { \ >> + local_irq_save(flags); \ >=20 > duplicate? Whoops, ignore that question (it applied to older version of patch). Cheers James --qPGsrnEXH7HhvKMNm9uO7oTarRHG5us9R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUxickAAoJEGwLaZPeOHZ6a2AP/jHg9D2UQ8kOsVDGUTyEfcDz UHHdTc10KStrbjxhaNcbWL1XF2BnDU1sph9RGjRP/eojkZ3pPW2a7WB8twAUq1n2 PvR8ZYBrm1Hl2sfOqKO6FUg69uTioVaGkE197uffXkZ4jl3cVK4dDHzjmPUOF9pb rEpjrcyH7aK2p+VuzT0cvkyJ3ANrHcjKbdPh2c3sCLjYRPiu22wUoVNR+49Lb93f JI4fr+06Gz4beTLO7fs4Ig4wRoM6WFFPQg5cfunlZaprx6+EZSaoDd8RmEJYXsXX U7S9ABsR4ezNfHFrnOGILbvjz8p2DrGuGi0mE/vk5hauRJFcI2Wws8jEeYMwGxeG Ls/IeAuh30/CKYi+UV2YQTo1nNbyVtLB12mlII/Wy1Iks3SVr2zn+5nEldpEf2fa C1ibxHqbRuvhN1puUs4VtP5t1b3xJiZorbz2UVrm4GDw38wjBdvsRgo8lqNWo6v+ dge6d9weEcD0kG4T1HtdrlC/Vk3WUfXkFW+mmUnfCMsxQk7DH63XEcag2t0GAkK2 VInk1/QbDVw/+qv/GmQQPCOaylYOXI12BC74WVsVOQPpN/qng1EYMJ9isdpO8S/C KgallZOv/5ni7q0AOJBIRjqkZSkCg493FSDdGH1WvYaalZjXGR1Ii3mcUJd+sHFv 2NRNxQU5muNOfyAdDRHU =dHLs -----END PGP SIGNATURE----- --qPGsrnEXH7HhvKMNm9uO7oTarRHG5us9R-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailapp01.imgtec.com ([195.59.15.196]:25820 "EHLO imgpgp01.kl.imgtec.org" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S27010935AbbAZLiTV0mEP (ORCPT ); Mon, 26 Jan 2015 12:38:19 +0100 Message-ID: <54C62724.8080505@imgtec.com> Date: Mon, 26 Jan 2015 11:38:12 +0000 From: James Hogan MIME-Version: 1.0 Subject: Re: [PATCH 2/3] MIPS: HTW: Prevent accidental HTW start due to nested htw_{start,stop} References: <1422265236-29290-1-git-send-email-markos.chandras@imgtec.com> <1422265236-29290-3-git-send-email-markos.chandras@imgtec.com> <54C626CC.2070104@imgtec.com> In-Reply-To: <54C626CC.2070104@imgtec.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qPGsrnEXH7HhvKMNm9uO7oTarRHG5us9R" Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Markos Chandras , linux-mips@linux-mips.org Cc: stable@vger.kernel.org Message-ID: <20150126113812.UxG792Cb9qwSPxVPbWquVEiEGczMKXC7Gy7vcwjU8mM@z> --qPGsrnEXH7HhvKMNm9uO7oTarRHG5us9R Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 26/01/15 11:36, James Hogan wrote: >> diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/p= gtable.h >> index 7f7c558de9fc..d2c7e9e7447e 100644 >> --- a/arch/mips/include/asm/pgtable.h >> +++ b/arch/mips/include/asm/pgtable.h >> @@ -99,19 +99,30 @@ extern void paging_init(void); >> =20 >> #define htw_stop() \ >> do { \ >> + unsigned long flags; \ >> + \ >> if (cpu_has_htw) { \ >> + local_irq_save(flags); \ >=20 > duplicate? Whoops, ignore that question (it applied to older version of patch). Cheers James --qPGsrnEXH7HhvKMNm9uO7oTarRHG5us9R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUxickAAoJEGwLaZPeOHZ6a2AP/jHg9D2UQ8kOsVDGUTyEfcDz UHHdTc10KStrbjxhaNcbWL1XF2BnDU1sph9RGjRP/eojkZ3pPW2a7WB8twAUq1n2 PvR8ZYBrm1Hl2sfOqKO6FUg69uTioVaGkE197uffXkZ4jl3cVK4dDHzjmPUOF9pb rEpjrcyH7aK2p+VuzT0cvkyJ3ANrHcjKbdPh2c3sCLjYRPiu22wUoVNR+49Lb93f JI4fr+06Gz4beTLO7fs4Ig4wRoM6WFFPQg5cfunlZaprx6+EZSaoDd8RmEJYXsXX U7S9ABsR4ezNfHFrnOGILbvjz8p2DrGuGi0mE/vk5hauRJFcI2Wws8jEeYMwGxeG Ls/IeAuh30/CKYi+UV2YQTo1nNbyVtLB12mlII/Wy1Iks3SVr2zn+5nEldpEf2fa C1ibxHqbRuvhN1puUs4VtP5t1b3xJiZorbz2UVrm4GDw38wjBdvsRgo8lqNWo6v+ dge6d9weEcD0kG4T1HtdrlC/Vk3WUfXkFW+mmUnfCMsxQk7DH63XEcag2t0GAkK2 VInk1/QbDVw/+qv/GmQQPCOaylYOXI12BC74WVsVOQPpN/qng1EYMJ9isdpO8S/C KgallZOv/5ni7q0AOJBIRjqkZSkCg493FSDdGH1WvYaalZjXGR1Ii3mcUJd+sHFv 2NRNxQU5muNOfyAdDRHU =dHLs -----END PGP SIGNATURE----- --qPGsrnEXH7HhvKMNm9uO7oTarRHG5us9R--