From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932808AbcKYQeO (ORCPT ); Fri, 25 Nov 2016 11:34:14 -0500 Received: from mout.gmx.net ([212.227.15.19]:50667 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932599AbcKYQeI (ORCPT ); Fri, 25 Nov 2016 11:34:08 -0500 Date: Fri, 25 Nov 2016 17:27:18 +0100 From: Helge Deller To: Linus Torvalds , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [GIT PULL] parisc architecture fixes for 4.9-rc7 Message-ID: <20161125162718.GA10856@ls3530> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) X-Provags-ID: V03:K0:pyzoftNES7hq2/OboNkPtBfTFNPQDpjMRSV07l4HBCm/Y0aLn92 4R4oCmz/Q0bmljuf/HkYbO3HHfNOU/yHWIVV2BSKN5+Pv15UteJaTd0HtmLwPkrcAS8pVGh OVt0Syn2w8+EKvJGEsrRCkpBIaq1D/ZFKQ/n+MmmleWQHzMi2vCH7huvyDQ38reA35uoQFP sCFfMSfQL1ynvRv62O/kg== X-UI-Out-Filterresults: notjunk:1;V01:K0:K1eejc0jGh0=:09HcUASxMa3Uh3NAbFq23Q jBbPnU2lnauB89+yf1Uijd1g/BF+V0BRqGGXzUqF/sDJIVlYoZ2G0zD4DwRuvZpdn6Wb42smj xSMgD+UOE8XFom5Rks1yMlRLk5if45hEiDv+u6jAgrNWlOnFLMSVS1Yuc4xekT1yqFsJGzjYE /uBvQCx9s8I18GoyDP9/q1FYmihPzVt65EUt5tJgx+UpGsrWSuS4NbxuVZS8sL6ePs7SWStFl cGM3M37f8k7ggjxamXYD0w0t+ZMIVsdTe1ebpqrXiPQNMfdbWh90lE0U4EWpgcHmZkMNe1aCy 3Mutk0o1/qOEEhdSO3knjcl9Rq6Lic+9j0NTxYKwRVTd9DH2k9bOtv/NGbxMaBIP7mHJJUvNf 92WwBRRVaJIZBRvqaj4mG3M8sUHP4sUQfuskAxDs4umqQl+6PRW2icnveBMLarVEv7OUVtOou TXX7zp7GeZex3yvSAPncAOZYr4VloXHkL5a36YfMDij2XdV0ie7Xa1kNj1dHjqeS02mai2zNJ zFfJiPdTe+/LctbPpjMppPtMdmF+NVYb5aStQXL/NX3oMl8uIN5nff6YOuSDqG0c8eg68EhZ0 DaGB9POSbslOei1wkMaoXJdpyvApCWCwFst3vDwDKm7l3GlHdgWypMrt6NowoHb/zPz63zztN n+2TECB1yGhsTRi2JSFFW+WPXmm7bRtDajDHKtnBrLocN41UGkOcYrwB4DcW1y6qYAnx8fe+o dd/q+8CcO6Se/09TY8FsgmCPufJ+AjsDChI4FXMmKSQxSdG2P95fjAL3/NU= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull important fixes for the parisc architecture for v4.9-rc7 from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.9-4 On parisc we were still seeing occasional random segmentation faults and memory corruption on SMP machines. Dave Anglin then looked again at the TLB related code and found two issues in the PCI DMA and generic TLB flush functions. Then, in our startup code we had some timing of the cache and TLB functions to calculate a threshold when to use a complete TLB/cache flush or just to flush a specific range. This code produced a race with newly started CPUs and thus lead to occasional kernel crashes (due to stale TLB/cache entries). The patch by Dave fixes this issue by flushing the local caches before starting secondary CPUs and by removing the race. The last problem fixed by this series is that we quite often suffered from hung tasks and self-detected stalls on the CPUs. It was somehow clear that this was related to the (in v4.7) newly introduced cr16 clocksource and the own implementation of sched_clock(). I replaced the open-coded sched_clock() function and switched to the generic sched_clock() implementation which seems to have fixed this isse as well. All patches have been sucessfully tested on a variety of machines, including our debian buildd servers. All patches (beside the small pr_cont fix) are tagged for stable releases. Thanks, Helge ---------------------------------------------------------------- Helge Deller (2): parisc: Fix printk continuations in system detection parisc: Switch to generic sched_clock implementation John David Anglin (3): parisc: Fix races in parisc_setup_cache_timing() parisc: Fix race in pci-dma.c parisc: Also flush data TLB in flush_icache_page_asm arch/parisc/Kconfig | 4 ++- arch/parisc/kernel/cache.c | 31 +++++++++-------------- arch/parisc/kernel/inventory.c | 8 +++--- arch/parisc/kernel/pacache.S | 37 ++++++++++++++++----------- arch/parisc/kernel/pci-dma.c | 2 +- arch/parisc/kernel/setup.c | 4 +++ arch/parisc/kernel/time.c | 57 ++++++++---------------------------------- 7 files changed, 57 insertions(+), 86 deletions(-)