Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp630863ybv; Fri, 7 Feb 2020 05:47:00 -0800 (PST) X-Google-Smtp-Source: APXvYqwUjf/WsaODcAdy+7q1BfgKmj/jSAi3jBaE8x02mG/pZ0X7vSpMpMbYDGGsDbJmNm35KduG X-Received: by 2002:aca:4587:: with SMTP id s129mr2072033oia.124.1581083220280; Fri, 07 Feb 2020 05:47:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581083220; cv=none; d=google.com; s=arc-20160816; b=VmQ19cTo74tUTz8pwjiV5Pedu+aJjKV/CutDU+8oWlPen6mbHmaeIwMV9o9DtqeX2l NNxBt7Zx0oQrFQcGIqv31dr2nHIlr4pWjWdr5ogMvuYoILlKVFZDdEVEcUyhyuNy7I0g eNz1/hVmsRUbVl/ee5kE2pR/DE1aov8F+wv0vbv3CkzkUXVkvxJhl4HiTA1ZzrSA9f9B f2xpH8GFawDtDk1T/fyqbCNqqgtX9gg/pIioWIIFqxJqot0aFwJfN4MI7S5+H1yijqfA VRlUqHAV+we/fW/SwYyACzOPWApZnKumycqSwnn2zzVuU19E/ONfukL1OCJuO8LPHv6Y mB3A== 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-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=TmoRmsENHw/YgWCwWFkHSM2l2USy9CK+G0NuOZCqp44=; b=TOqmDY6EEszyqySYLeFfUcJwG0JtXupXr5lAAvK9wJYfNNm47TRpYzirituiaeNGkR jG/bPSrAwni7zByC4pQQvsyjCqEfAebaq6OfFo8XUenHeZ6P1loO81RC3hwG/xGc+cMg Nwpxo3mRg+ayHfmO24O9nMPtanqDFCDFlfSXv7TZxv7lK7luOigQNqox4uwrv+k1tmFd ot8Io/cAnnoMJoO11jfbk9zgJQQHBau9Kiz8q7YpSq5g2PhooFoeTXXe8fDNeDstKQ5v WCiFPG9FqUePhwMxI3cHjS0+gvIZVUYvaBLce2HFzuHTgUTaHgNTkPmfwQp4uo6o2+pY yinQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=fVoyEgNH; 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 s188si3365099oia.277.2020.02.07.05.46.47; Fri, 07 Feb 2020 05:47:00 -0800 (PST) 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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=fVoyEgNH; 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 S1726915AbgBGNo4 (ORCPT + 99 others); Fri, 7 Feb 2020 08:44:56 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46212 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726674AbgBGNoz (ORCPT ); Fri, 7 Feb 2020 08:44:55 -0500 Received: by mail-pg1-f196.google.com with SMTP id b35so764773pgm.13 for ; Fri, 07 Feb 2020 05:44:55 -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=WpnIu6e+Pu+BVH3+IgmJ3j0I4+Ma+FQGRu0qmRGjZ47xQldDXApN2dUexMeI2p1Isb sl3BkO+JY2X9JV6QKULh/gL+2s2MmFsACUtsPignkg0wL6UT7dw3p+8kZZNpfNPmdbWH Jxf3ZakfNOZyPKjnEJef9qjwpzj+i5oGM49MpKyXrGalEIohkplLcvzSzHguk9Km8hnn rDHKrNq6IhI+5cB2US58DcjHbC98JDkN3ql6I7mBPZAb+06eFIAOY7jwnQsc6GasN033 OuwduGVrVAdnjabiM+6+mAW6nOOwmiu46RjpBv1fuoAe3vb/ed774n3bP7fIiM4ALCAB Uzsw== X-Gm-Message-State: APjAAAVv868qhhCKyDF8Tc3lXPITyEPEGhosfucm8lrmNw3pRDFbh20C HDe3Wvo58fTf2w6yZ75OZrk= 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: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/7/20 5:29 AM, Christophe Leroy wrote: > > > 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 à 21:31, Guenter Roeck a écrit : >>>>> 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_defconfig). >>>>> Images fail silently; there is no console output. Reverting the patch >>>>> fixes the problem. Bisect log is attached below. >>>>> >>>>> Assuming this was tested on real hardware, am I correct to assume that 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 ? > > Config is pmac32_defconfig + CONFIG_DEVTMPFS (But kernel also boots without CONFIG_DEVTMPFS) > > QEMU emulator version 2.11.2 > > qemu-system-ppc -kernel vmlinux -M mac99 -initrd rootfs.cpio.gz -s -m 1024 > > Works with both GCC 5.5 and GCC 8.1 > 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=y ? Thanks, Guenter