Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5388982ybi; Wed, 12 Jun 2019 01:31:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMTLt1TvJmdReOI1B5pGn0MJwj7x8Dqsjn0ahAL4C6P8FfH4Ee0v07tzFqiF4zA05weEVJ X-Received: by 2002:a65:6210:: with SMTP id d16mr22597559pgv.180.1560328297847; Wed, 12 Jun 2019 01:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560328297; cv=none; d=google.com; s=arc-20160816; b=l1a2OL3ff9kIKsHXnkvKSNxq0FNqFB+hYGqgrD8OD2CXM4rgN8xV4WwpOfX57ljcpW 5mamYmjJR06jEbGesVuNBeZMdd75rmFLlCv6gjR0ucsb9g3Pze7F2/x3D80i6LhmEetl GeKq/fiZo/9VM4NCvWh+3tP833WIrk0tMIg7UCkwV4QIPGXiekvkz2mHkeg8U/lRTt7h 6HzaXIgsMvkxzxWq7h3cC/SoZPsr4FKDPUcQaS9oOCz7pJmd0guKoMB/iflrDTzrmUqx AEG11GK60Yi6wlUn9YSZfdb1nubDHW80NqvdMsNcd2t1DK7YpJiQiWMN0vA58J58Wjh0 bb8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=bQ5ElHMquZ98Jikuuxx8wmOU76TOnQjkjV8/eth7ojA=; b=djw5V+0s1e6/35oXEbTseCW452Wej33Zbn5qBOdHIhN/cm1nWbgWeudlAdYirFBguI lhUk4F37XAT0AKuOsmxrZbJ7rW1h/RkV7LmNKtHO3XqmcYRKPlxPsggrfHnFSeSChVAH Y2+G6wprkJ4ogrxeeiSo59lVwMrUGzlQjm3f8Ri78K49JNJs99r9FZPIEYHwrhYvnJwN Yt30R7BPoxlc4y4Xj6OzvPKb6MIkusYW/z6YD8smEM3TjfYITMTakCmR8oeFIrbJ0uSo wWE6FElA2kru1Tuj+yd4Z7wMvH+h76pJzn9BsrKL1+p0S+lNVcVM+nOGDFMAFkXL9Gyv H2RA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1si14784344pgs.62.2019.06.12.01.31.20; Wed, 12 Jun 2019 01:31:37 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407704AbfFLG5s (ORCPT + 99 others); Wed, 12 Jun 2019 02:57:48 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:33848 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407696AbfFLG5s (ORCPT ); Wed, 12 Jun 2019 02:57:48 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5C6upKb045219 for ; Wed, 12 Jun 2019 02:57:47 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2t2v7hgw3c-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 12 Jun 2019 02:57:46 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 12 Jun 2019 07:57:44 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 12 Jun 2019 07:57:40 +0100 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x5C6vd3m45482136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jun 2019 06:57:39 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B9985A4062; Wed, 12 Jun 2019 06:57:39 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7C96AA405C; Wed, 12 Jun 2019 06:57:38 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.204.79]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 12 Jun 2019 06:57:38 +0000 (GMT) Date: Wed, 12 Jun 2019 09:57:36 +0300 From: Mike Rapoport To: Qian Cai Cc: Mark Rutland , Will Deacon , Andrew Morton , catalin.marinas@arm.com, Linux Kernel Mailing List , mhocko@kernel.org, linux-mm@kvack.org, vdavydov.dev@gmail.com, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH -next] arm64/mm: fix a bogus GFP flag in pgd_alloc() References: <1559656836-24940-1-git-send-email-cai@lca.pw> <20190604142338.GC24467@lakrids.cambridge.arm.com> <20190610114326.GF15979@fuggles.cambridge.arm.com> <1560187575.6132.70.camel@lca.pw> <20190611100348.GB26409@lakrids.cambridge.arm.com> <20190611124118.GA4761@rapoport-lnx> <3F6E1B9F-3789-4648-B95C-C4243B57DA02@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F6E1B9F-3789-4648-B95C-C4243B57DA02@lca.pw> User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 19061206-0012-0000-0000-0000032863F9 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19061206-0013-0000-0000-000021616A3E Message-Id: <20190612065728.GB4761@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-12_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=971 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906120048 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Jun 11, 2019 at 08:46:45AM -0400, Qian Cai wrote: > > > On Jun 11, 2019, at 8:41 AM, Mike Rapoport wrote: > > > > Sorry for the delay, I'm mostly offline these days. > > > > I wanted to understand first what is the reason for the failure. I've tried > > to reproduce it with qemu, but I failed to find a bootable configuration > > that will have PGD_SIZE != PAGE_SIZE :( > > > > Qian Cai, can you share what is your environment and the kernel config? > > https://raw.githubusercontent.com/cailca/linux-mm/master/arm64.config > > # lscpu > Architecture: aarch64 > Byte Order: Little Endian > CPU(s): 256 > On-line CPU(s) list: 0-255 > Thread(s) per core: 4 > Core(s) per socket: 32 > Socket(s): 2 > NUMA node(s): 2 > Vendor ID: Cavium > Model: 1 > Model name: ThunderX2 99xx > Stepping: 0x1 > BogoMIPS: 400.00 > L1d cache: 32K > L1i cache: 32K > L2 cache: 256K > L3 cache: 32768K > NUMA node0 CPU(s): 0-127 > NUMA node1 CPU(s): 128-255 > Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm > > # dmidecode > Handle 0x0001, DMI type 1, 27 bytes > System Information > Manufacturer: HPE > Product Name: Apollo 70 > Version: X1 > Wake-up Type: Power Switch > Family: CN99XX > Can you please also send the entire log when the failure happens? Another question, is the problem exist with PGD_SIZE == PAGE_SIZE? -- Sincerely yours, Mike.