From owner-freebsd-current@freebsd.org Thu Jan 25 22:21:38 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 299A7ED173B for ; Thu, 25 Jan 2018 22:21:38 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AB8E074BAF for ; Thu, 25 Jan 2018 22:21:37 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6B060ED1738; Thu, 25 Jan 2018 22:21:37 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43ED6ED1737 for ; Thu, 25 Jan 2018 22:21:37 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD38974BA7 for ; Thu, 25 Jan 2018 22:21:36 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mail-oi0-x235.google.com with SMTP id 8so2242745oix.13 for ; Thu, 25 Jan 2018 14:21:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capeaugusta-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=gyukN+dyLHrleDfkEqhU7jh4/IFeCfoCo4Yy4DmqyD4=; b=f+7BW9lZunTT9IyW/9x4IG2BOkzE7zyOCT3LNOwxgehUBfTnsD0BC/ng5F2YlyGf5k OvHwhKrgyTJgij33z/FFqHqDVyHxUvt4IVdQlJibnLdt8wXL62OTfFCyTY0oe0wnKP1i veuRXxtTedQrqbRuk/k3uPrCi9aFwL8yXoxgB61uYPMqPa2Liitu67MITXctFxbQ7wCf jUJLQIDg0azOIagNxQmpW8nCVuyizcMItSCAlQrS0EcDqZH+ogMj5uJnrftrBL31wvAo 1Sf+jC+W5efFpbYgXGUU6d5GgtPBkW0Qir5dEYlvIgIeyvdfA8BCnusiSGJS7QPWck9b EtXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=gyukN+dyLHrleDfkEqhU7jh4/IFeCfoCo4Yy4DmqyD4=; b=hULTjsPBz9o6c1SI3c5uh9ugHvKwleQcpvD67HlAiGNzjHJpqnYNG9UoHyrCHbQWyU HxlNos0oD0OyYy+TY+9OqVwO4h3O8Vd/5U2ajJ4GyZ2isrq960RhEgErsUt5En8u9C/g g0nw3N2E+dgio7gsy+qHMl7fvLMhl8RyP0FmXoEIdr/ET5U25EbutVfPGAiliAcc2gDM VFjBGE3Sq6UAt5/Px3eA+TnpS6/71Q4pnIPIVUCqL4p0QnWv1Rco1/yCDSM/qdC8P5X3 1BvJ+CXUo/YFw4lDG2ZHeJTvBYn7myqHlLMhxQaTvssvDi16TF2NXfLaz0LD1D+ruNO6 Q6lg== X-Gm-Message-State: AKwxytf/LlMXrc9AAxzcXt3d5u60lMHg0bmXb1LixNqm/NSnwHNQIK4r dJF17zo70J6dQLN2essiBVWxRQj8nXmO299OPngoa4ZSqEXSY/aS7oqjT3poUmfVW3GdyK/Xvlj /85kovbu1/O+60IwDvQQ/XmqXqzaLkjtJ0b41rmmIpcK5PfFmJjr7vxfx634tcLJBfthLfYWl7y fT X-Google-Smtp-Source: AH8x2265CTRlxIIaF0NVGtBcX8xepRP5WRxtUiOiyMp47BC3LEQHi1bhcdLNPvrTo6nFy9e1yMHt4w== X-Received: by 10.202.244.137 with SMTP id s131mr2032088oih.327.1516918895547; Thu, 25 Jan 2018 14:21:35 -0800 (PST) Received: from zen.clue.co.za (c-69-254-3-228.hsd1.ga.comcast.net. [69.254.3.228]) by smtp.gmail.com with ESMTPSA id a24sm3042210otd.78.2018.01.25.14.21.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2018 14:21:34 -0800 (PST) Subject: Re: Insta-reset-bootloop with r328166 and vm.pmap.pcid_enabled=1 To: Konstantin Belousov Cc: current References: <9e533d36-f2ee-58fc-d629-eed7d70645b4@capeaugusta.com> <20180125221312.GU55707@kib.kiev.ua> From: Ian FREISLICH Message-ID: Date: Thu, 25 Jan 2018 17:21:34 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180125221312.GU55707@kib.kiev.ua> Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 22:21:38 -0000 On 01/25/18 17:13, Konstantin Belousov wrote: > On Thu, Jan 25, 2018 at 04:58:04PM -0500, Ian FREISLICH wrote: >> Hi >> >> I cannot for the life of me recall why I had vm.pmap.pcid_enabled=3D1 se= t >> in loader.conf, but I did.=9A Most likely very historical reasons. >> >> r328166 and later reset without dropping into the debugger during boot, >> no panic message. > Yes, this is how it is currently behaves. > PCID can be used to optimize PTI, see https://reviews.freebsd.org/D13985. > It is used for very differrent algorithm when PTI=3D1, comparing with PTI= =3D0. Maybe there should be an "interlock" on these knobs, although judging from the number of reports I'm the only that shot my foot. Ian --=20 Ian Freislich --=20