From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFE8DC433E0 for ; Sun, 3 Jan 2021 13:48:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 29AE9208C7 for ; Sun, 3 Jan 2021 13:48:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 29AE9208C7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 32A9C6B0105; Sun, 3 Jan 2021 08:48:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2DA2D6B0108; Sun, 3 Jan 2021 08:48:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1CA926B0109; Sun, 3 Jan 2021 08:48:14 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0236.hostedemail.com [216.40.44.236]) by kanga.kvack.org (Postfix) with ESMTP id 073B96B0105 for ; Sun, 3 Jan 2021 08:48:14 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id BF13A362D for ; Sun, 3 Jan 2021 13:48:13 +0000 (UTC) X-FDA: 77664592866.19.death47_441340a274c8 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin19.hostedemail.com (Postfix) with ESMTP id 95FE41AD1BA for ; Sun, 3 Jan 2021 13:48:13 +0000 (UTC) X-HE-Tag: death47_441340a274c8 X-Filterd-Recvd-Size: 6539 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Sun, 3 Jan 2021 13:48:12 +0000 (UTC) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 103DhRZX123034; Sun, 3 Jan 2021 08:48:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=SkZQp9jW9i8QL+GRqBfKgF4UrMoMAnBuO7mxoDmp6KM=; b=T/axILhdxpWGoIgZz/krNq/WcIyAgs7U/n6c7tMk5lhIR8gEJFgd/9kUja12g8ETyiik EbXlrCbwUuZ50dU9fuHg5Y5D3EHwYqZjeAvrlmg1ed8+Nywz0nc415W+ZxK+ml/pVO2j 8JWDuJ4DRTzvMz8jm+bqqzII94C9m2GEHiOgdpuoNkrz1peghQlmf/C0Urrq06+0ozm0 0UX3ZKYBoqmOZYbrUAkRg8Y1f8bk1AQ4DIVxWBmuGHtp2g4ATUnnGu85JpGFisvy8Z9Q DYTOaFyIUGNQLEiS5dNh5XW6UkQB8mXx9Y8Z6BwWuxficUV+soD0bRqELAzdK9Qhqn/3 aQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 35uf2ag1kg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 03 Jan 2021 08:48:02 -0500 Received: from m0098399.ppops.net (m0098399.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 103DlAq8133424; Sun, 3 Jan 2021 08:48:02 -0500 Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 35uf2ag1js-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 03 Jan 2021 08:48:02 -0500 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 103DhsNl024119; Sun, 3 Jan 2021 13:47:59 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma04ams.nl.ibm.com with ESMTP id 35u3pmgcaf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 03 Jan 2021 13:47:59 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 103Dlv9g37290336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 3 Jan 2021 13:47:57 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 35A8C11C04A; Sun, 3 Jan 2021 13:47:57 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0FC6A11C04C; Sun, 3 Jan 2021 13:47:56 +0000 (GMT) Received: from linux.ibm.com (unknown [9.145.176.60]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Sun, 3 Jan 2021 13:47:55 +0000 (GMT) Date: Sun, 3 Jan 2021 15:47:53 +0200 From: Mike Rapoport To: Guillaume Tucker Cc: Andrea Arcangeli , Andrew Morton , Stephen Rothwell , kernelci-results-staging@groups.io, "kernelci-results@groups.io" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport , Baoquan He Subject: Re: kernelci/staging-next bisection: sleep.login on rk3288-rock2-square #2286-staging Message-ID: <20210103134753.GC832698@linux.ibm.com> References: <5fd3e5d9.1c69fb81.f9e69.5028@mx.google.com> <127999c4-7d56-0c36-7f88-8e1a5c934cae@collabora.com> <20201213082314.GA198221@linux.ibm.com> <0633d44a-3796-8a1b-e5dc-99fc62aa4dc7@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0633d44a-3796-8a1b-e5dc-99fc62aa4dc7@collabora.com> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2021-01-03_06:2020-12-31,2021-01-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 mlxscore=0 mlxlogscore=999 lowpriorityscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 spamscore=0 adultscore=0 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101030082 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Dec 18, 2020 at 09:59:26PM +0000, Guillaume Tucker wrote: > On 13/12/2020 08:23, Mike Rapoport wrote: > > Hi Guillaume, > > > > On Fri, Dec 11, 2020 at 09:53:46PM +0000, Guillaume Tucker wrote: > >> Hi Mike, > >> > > OK, sorry for the delay. I've built a kernel and booted it as > you requested, and also found that the issue was due to this > memory area defined in arch/arm/boot/dts/rk3288.dtsi: > > reserved-memory { > #address-cells = <2>; > #size-cells = <2>; > ranges; > > /* > * The rk3288 cannot use the memory area above 0xfe000000 > * for dma operations for some reason. While there is > * probably a better solution available somewhere, we > * haven't found it yet and while devices with 2GB of ram > * are not affected, this issue prevents 4GB from booting. > * So to make these devices at least bootable, block > * this area for the time being until the real solution > * is found. > */ > dma-unusable@fe000000 { > reg = <0x0 0xfe000000 0x0 0x1000000>; > }; > }; > > So I've put a hack[1] on top of 950c37691925 to skip adding a > node in memblock_enforce_memory_reserved_overlap() if the base > address is 0xfe000000, which got the kernel booting. Here's the > console log: > > https://people.collabora.com/~gtucker/tmp/2966825.txt > > and the full test job details, if this helps: > > https://lava.collabora.co.uk/scheduler/job/2966825 > > > I haven't really looked much further than that, but I'll be > available on Monday to help run other tests if needed. Sorry for the delay, I was mostly offline for the last three weeks. Thanks for the logs, it seems that implicitly adding reserved regions to memblock.memory wasn't that bright idea :) > Thanks, > Guillaume > > [1] https://people.collabora.com/~gtucker/tmp/2966825.patch -- Sincerely yours, Mike.