Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1333889imu; Wed, 23 Jan 2019 15:11:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN4/prqbQBlYeuXuzSwV+BV8Jsq64WVdjctXU9E9YGaj8qR8Mc+pUtG6uNvxFy2XLvyIPxGr X-Received: by 2002:a63:3507:: with SMTP id c7mr3769090pga.315.1548285070160; Wed, 23 Jan 2019 15:11:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548285070; cv=none; d=google.com; s=arc-20160816; b=LPv2f0QiQuaBJIrCJZJEnA4+1ITLGjHlDETbpGxao6dhRgSBsPkp7irwu4XBf4QFgu uL44/xehlY0zRXf0rmL7Q8GhTWt6MhtUj5aqcggKgSGXrUY/PIZgRft/yva5ZuG7Otnu kSfrrF6mZZJJZAJHWourwxa/2/yuaJY94RMG9NlQhzfJp1uMut0Tr9nDlNG7983TP3p0 4e2ZNGUzOoLPsVkXdm1xfSd/66JG5BD3En0Udrv1sBjEFV6zw/l1pkuN6fMmwm3b4VmU rLyh97uCBzcSi8gw4sr9XjmrD1o9TDJfkMiQsculLTBDdx9sUUEz06mS0sr4iIVLhxNo RwWA== 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:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from; bh=dDEBYoo6NNc9Z1f1foCTiJYlbQYTKrDkPX+3aOvrMYU=; b=SstkP2O8M2i12LdVUNCPp9IdQ5nB5lS44ONx2lY2tWi+W8Ddy4cYvBdlijSNk90bTl kWgljZiCeFVKyNm0ad+G4ElzzjMk8FXv0lwBQCMqbeQ/pmyt5a1y6xRACt71OIF4nTBJ bfeE2VuyZnh8z2eDmccYOWt6Stlz2m+Tb6zT1sFVobQsR03vBGExRI89yE3Teisg4DzK MU42aAZCdoxPZXwg7NSlt+qEHuhLk0opMB3VZ5XFNgkEG4zX1hn+xGHs3Wa33IIa3aWS bixbIqNMZiayf2EIjkCdtFnRgjFj4DlkjQdZMUo/pCk1FF8TfbQgGX8yIdMFCofOEHTI 6DBQ== 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 k7si19517670pgm.462.2019.01.23.15.10.54; Wed, 23 Jan 2019 15:11:10 -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; 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 S1726365AbfAWXKm convert rfc822-to-8bit (ORCPT + 99 others); Wed, 23 Jan 2019 18:10:42 -0500 Received: from ozlabs.org ([203.11.71.1]:33889 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbfAWXKl (ORCPT ); Wed, 23 Jan 2019 18:10:41 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 43lLcG3g6bz9s7h; Thu, 24 Jan 2019 10:10:38 +1100 (AEDT) From: Michael Ellerman To: LEROY Christophe Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Mike Rapoport , Nicholas Piggin , Paul Mackerras , Benjamin Herrenschmidt Subject: Re: [PATCH v13 00/10] powerpc: Switch to CONFIG_THREAD_INFO_IN_TASK In-Reply-To: <20190119182113.Horde.DK6jqX3cEzsvR0fKFZrY2g4@messagerie.si.c-s.fr> References: <87zhrx2bf1.fsf@concordia.ellerman.id.au> <20190119182113.Horde.DK6jqX3cEzsvR0fKFZrY2g4@messagerie.si.c-s.fr> Date: Thu, 24 Jan 2019 10:10:37 +1100 Message-ID: <875zufx95e.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org LEROY Christophe writes: > Michael Ellerman a écrit : > >> Christophe Leroy writes: >> >>> The purpose of this serie is to activate CONFIG_THREAD_INFO_IN_TASK which >>> moves the thread_info into task_struct. >>> >>> Moving thread_info into task_struct has the following advantages: >>> - It protects thread_info from corruption in the case of stack >>> overflows. >>> - Its address is harder to determine if stack addresses are >>> leaked, making a number of attacks more difficult. >>> >>> Changes since v12: >>> - Patch 1: Taken comment from Mike (re-introduced the 'panic' in >>> case memblock allocation fails in setup_64.c >>> - Patch 1: Added alloc_stack() function in setup_32.c to also >>> panic in case of allocation failure. >> >> Hi Christophe, >> >> I can't get this series to boot on qemu mac99. I'm getting eg: > > Problem new with version 13 or it is the first time you test ? I did test a previous version of the series, but I'm not sure if I tested pmac32 before. So I don't have a known good version. >> [ 0.981514] NFS: Registering the id_resolver key type >> [ 0.981752] Key type id_resolver registered >> [ 0.981868] Key type id_legacy registered >> [ 0.995711] Unrecoverable exception 0 at 0 (msr=0) >> [ 0.996091] Oops: Unrecoverable exception, sig: 6 [#1] >> [ 0.996314] BE PAGE_SIZE=4K MMU=Hash PowerMac >> [ 0.996617] Modules linked in: >> [ 0.996869] CPU: 0 PID: 416 Comm: modprobe Not tainted >> 5.0.0-rc2-gcc-7.3.0-00043-g53f2de798792 #342 > > Comm:modprobe ==> Something wrong with modules ? I never tested with > CONFIG_MODULES. Yep good clue. cheers