Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2706683imm; Sun, 14 Oct 2018 02:59:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV622Tffm//j0YbNyJU2DBVfG49MLKVmLLX0BtAVGTL8Xceww9usqEsqmsrmIjiZwP0WF8Kk9 X-Received: by 2002:a17:902:6b06:: with SMTP id o6-v6mr12260841plk.6.1539511158927; Sun, 14 Oct 2018 02:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539511158; cv=none; d=google.com; s=arc-20160816; b=FH0ad66UOeLCezoPsUHenizNihbYITBiOaW/NCvoOIKk4Rb+EF1vPeakBIhxT8ea6K f19tQFlAduABZBDcgdshb3HEqq9qtwm52kamdCZ4SsF76skY+R4jxkGlJFk8pek05ZgU cEVvSdHFDZAE0HdZfGd76Era7tGyzshzOqqs0js5dVErb9L4oVGZ8FSj1azZVlWh4TMh 7ZWzW87JfDtktMQ/l0LlxSBJ5LZV3HqyPUwFIz8mqJ/1uNQulcgUbzTu+YZFOpASXBLE UEuGz2dGpQQ7to5jec8tzd5YQd9hpaofSPyQVVcmgzfB8ufUheO+Bg4NFx1RclEwDP3H 7sCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-disposition:mime-version:user-agent:in-reply-to:references :subject:cc:to:from:message-id:date; bh=JO6lakRiArLwUYmbJUsoQYR2IZBeKGqIlyscHEhnb54=; b=wNH+g+UYT5mmwS5MFNr0YuDwFFgaAZOjfACMqbiCPbx2IP3iV/61t33RG3i8sm7SEb OxVcyoCMayNSL5z9HRMp+01GUSjhJgJs38uJEabPmYQAnaEQC1CjXsz2Ya+9Ymo58Hnd DfR3Phi9ujiVY/FryncBrahnQSowW9zcaDyF3A8jumaS1l1/snUNydFRbAZfzJVAaHaT EkWZWixu1NFs09+xnywF1zl6HxG+vhXEtnrSMlqbW7fZ0HahKl655xKo60zdmdOnorbR mHGoTYfjG95BTEIhCl1G7ye1whsK0dYjppZFkY6gt5+JM771RNQNYyQLFVuY6f9UYxan dJnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w24-v6si6638387plp.110.2018.10.14.02.58.50; Sun, 14 Oct 2018 02:59:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726608AbeJNRis convert rfc822-to-8bit (ORCPT + 99 others); Sun, 14 Oct 2018 13:38:48 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:3111 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726265AbeJNRis (ORCPT ); Sun, 14 Oct 2018 13:38:48 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 42XxpW3cMxz9ttBy; Sun, 14 Oct 2018 11:58:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id R2oq6wy3imXu; Sun, 14 Oct 2018 11:58:11 +0200 (CEST) Received: from vm-hermes.si.c-s.fr (vm-hermes.si.c-s.fr [192.168.25.253]) by pegase1.c-s.fr (Postfix) with ESMTP id 42XxpW2nTkz9ttBx; Sun, 14 Oct 2018 11:58:11 +0200 (CEST) Received: by vm-hermes.si.c-s.fr (Postfix, from userid 33) id 561D44F4; Sun, 14 Oct 2018 11:58:10 +0200 (CEST) Received: from 37.169.125.255 ([37.169.125.255]) by messagerie.si.c-s.fr (Horde Framework) with HTTP; Sun, 14 Oct 2018 11:58:10 +0200 Date: Sun, 14 Oct 2018 11:58:10 +0200 Message-ID: <20181014115810.Horde.99_1JiRv0nxT_Jq3cbpMhw1@messagerie.si.c-s.fr> From: LEROY Christophe To: Michael Ellerman Cc: dri-devel@lists.freedesktop.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-block@vger.kernel.org, linux-arm-kernel@lists.infradead.org, aneesh.kumar@linux.vnet.ibm.com, Scott Wood , Paul Mackerras , Nicholas Piggin , Li Yang , Kumar Gala , Jens Axboe , Geoff Levand , Dominik Brodowski , Benjamin Herrenschmidt , Bartlomiej Zolnierkiewicz Subject: Re: [PATCH v3 06/24] powerpc/mm: properly set PAGE_KERNEL flags in ioremap() References: <52bd80b06bae0d854d04501e1e136575b77fa9fa.1539092111.git.christophe.leroy@c-s.fr> <87d0sd19vm.fsf@concordia.ellerman.id.au> <87a7nh104q.fsf@concordia.ellerman.id.au> In-Reply-To: <87a7nh104q.fsf@concordia.ellerman.id.au> User-Agent: Internet Messaging Program (IMP) H5 (6.2.3) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michael Ellerman a écrit : > Michael Ellerman writes: > >> Christophe Leroy writes: >> >>> Set PAGE_KERNEL directly in the caller and do not rely on a >>> hack adding PAGE_KERNEL flags when _PAGE_PRESENT is not set. >>> >>> As already done for PPC64, use pgprot_cache() helpers instead of >>> _PAGE_XXX flags in PPC32 ioremap() derived functions. >>> >>> Signed-off-by: Christophe Leroy >> >> Something in here is breaking my p5020ds (both 32-bit and 64-bit): > > Oh duh. > > That's because I didn't take patch 4. > > It didn't have any acks, but I guess I'll just merge it rather than > breaking things. Yes indeed. Maybe should I have followed it more carrefully to ensure it gets an ack. Thanks Christophe