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=-5.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 EEC26C2BA83 for ; Fri, 7 Feb 2020 13:44:57 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B28DF21741 for ; Fri, 7 Feb 2020 13:44:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fVoyEgNH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B28DF21741 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2F47F6B0003; Fri, 7 Feb 2020 08:44:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2A5B96B0005; Fri, 7 Feb 2020 08:44:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 194E56B0007; Fri, 7 Feb 2020 08:44:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0247.hostedemail.com [216.40.44.247]) by kanga.kvack.org (Postfix) with ESMTP id 033CE6B0003 for ; Fri, 7 Feb 2020 08:44:56 -0500 (EST) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 9582A2C84 for ; Fri, 7 Feb 2020 13:44:56 +0000 (UTC) X-FDA: 76463451792.13.vest73_dfede7856219 X-HE-Tag: vest73_dfede7856219 X-Filterd-Recvd-Size: 5651 Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by imf02.hostedemail.com (Postfix) with ESMTP for ; Fri, 7 Feb 2020 13:44:56 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id j15so1160582pgm.6 for ; Fri, 07 Feb 2020 05:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TmoRmsENHw/YgWCwWFkHSM2l2USy9CK+G0NuOZCqp44=; b=fVoyEgNH50TPz5iNwBF4sRHBoHE1P/Fw7CCX0Sp3ZONdUEmOoHEaiOLGk2/cytkHxU Z7Rwa5fJvZPUm8K2/YpZM2+H+zzM6YtEWjUZEZjNO7U+FuZylBqVF4nSajmiU65nkNwx K37RVgHdVvMxZcJOw2l1zweoGQL30NyhBzYHIDB95zytrKB80NDB47b8+2EYS5H3Gk7X YkxVdPmS/QfGvUZ6TWSBEy+suT1cJlsZF0rEVQ9us5OdBrfJUCB/t/0mRxfDtpTr/ANm Z/ZA2DCLgP6CiRQuVKWIp2hnxLHZlGorBLBB2eQ0QEgB4n00BIjT3UhzrRb+Vz2PDfTr My/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TmoRmsENHw/YgWCwWFkHSM2l2USy9CK+G0NuOZCqp44=; b=OAK0lwo8gRUhM1/O9czu2zE4l8am+8+ZyVgZgz7I6hyaQlteck44qqq9tQ2Ys31hIy 2RsdzKilAYs1cXmpJL2txoSXWetAI50Hvaad0xkqC6QaA4XOdw2Jnylm0tHKmzmaA5O3 sXJCGrlGTOk3+DaRNuLScD0uydCZaWDEDzZF94iuvmw5q4Wbc55X4FLh9lItKVIOF3/Y BeBiw+7kWhos9A6hXPzpkWbuBPjlngkHJsuWTFykgO6D9/CweU5u4VRX9V3TFuspXA8G FMIYe9aXpS+l0R2QsooSpy9UiTyELuXdnfVVgzM+DDRr1w2Se6iynGwb/UQNHbxLkwSd i17w== X-Gm-Message-State: APjAAAU8vZuFT7lnRApPmM7K02Y9g0Y8QxUHlNu76YOPOY7Rp5u73tMa j6c4v0qTKVqJwNyDA4a8bPQ= X-Google-Smtp-Source: APXvYqzLIjVfPMlPuGmcyhC+sTDXsk/8JGDtyYCCRAsN9lqcd65jI1rVjkgVAQAgkzbMz6DWgiLl5A== X-Received: by 2002:aa7:9218:: with SMTP id 24mr9887692pfo.145.1581083094993; Fri, 07 Feb 2020 05:44:54 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id z16sm3155140pff.125.2020.02.07.05.44.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Feb 2020 05:44:53 -0800 (PST) Subject: Re: [PATCH v5 17/17] powerpc/32s: Enable CONFIG_VMAP_STACK To: Christophe Leroy Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org, dja@axtens.net References: <2e2509a242fd5f3e23df4a06530c18060c4d321e.1576916812.git.christophe.leroy@c-s.fr> <20200206203146.GA23248@roeck-us.net> <0f866131-4292-a66b-2637-c34139277486@c-s.fr> <551bad84-3e80-265b-93ab-25eae4aa9807@roeck-us.net> <29bd8702-9b8f-6931-2bbc-db7e444907d5@c-s.fr> From: Guenter Roeck Message-ID: Date: Fri, 7 Feb 2020 05:44:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <29bd8702-9b8f-6931-2bbc-db7e444907d5@c-s.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 2/7/20 5:29 AM, Christophe Leroy wrote: >=20 >=20 > On 02/07/2020 01:08 PM, Guenter Roeck wrote: >> On 2/7/20 12:28 AM, Christophe Leroy wrote: >>> >>> >>> On 02/07/2020 06:13 AM, Christophe Leroy wrote: >>>> >>>> >>>> Le 06/02/2020 =C3=A0 21:31, Guenter Roeck a =C3=A9crit=C2=A0: >>>>> On Sat, Dec 21, 2019 at 08:32:38AM +0000, Christophe Leroy wrote: >>>>>> A few changes to retrieve DAR and DSISR from struct regs >>>>>> instead of retrieving them directly, as they may have >>>>>> changed due to a TLB miss. >>>>>> >>>>>> Also modifies hash_page() and friends to work with virtual >>>>>> data addresses instead of physical ones. Same on load_up_fpu() >>>>>> and load_up_altivec(). >>>>>> >>>>>> Signed-off-by: Christophe Leroy >>>>> >>>>> This patch results in qemu boot failures (mac99 with pmac32_defconf= ig). >>>>> Images fail silently; there is no console output. Reverting the pat= ch >>>>> fixes the problem. Bisect log is attached below. >>>>> >>>>> Assuming this was tested on real hardware, am I correct to assume t= hat qemu >>>>> for ppc32 (more specifically, qemu's mac99 and g3beige machines) no= longer >>>>> works with the upstream kernel ? >>>> >>>> Before submitting the series, I successfully tested: >>>> - Real HW with powerpc 8xx >>>> - Real HW with powerpc 832x >>>> - Qemu's mac99 >>>> >>>> I'll re-check the upstream kernel. >>>> >>> >>> This is still working for me with the upstream kernel: >>> >> >> Interesting. What is your kernel configuration, your qemu version, and >> your qemu command line ? >=20 > Config is pmac32_defconfig + CONFIG_DEVTMPFS (But kernel also boots wit= hout CONFIG_DEVTMPFS) >=20 > QEMU emulator version 2.11.2 >=20 > qemu-system-ppc -kernel vmlinux -M mac99 -initrd rootfs.cpio.gz -s -m 1= 024 >=20 > Works with both GCC 5.5 and GCC 8.1 >=20 Actually, the problem is that I have locking selftest options enabled in my tests. Everything works if I disable those. The "culprit" seems to be CONFIG_PROVE_LOCKING. Can you retest with CONFIG_PROVE_LOCKING=3Dy = ? Thanks, Guenter