From owner-svn-src-all@freebsd.org Fri Dec 15 04:17:36 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29A80E99DF3; Fri, 15 Dec 2017 04:17:36 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (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 DED7F66109; Fri, 15 Dec 2017 04:17:35 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id t1so16456988ite.5; Thu, 14 Dec 2017 20:17:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=z2KipPkkOadTuXmtGsFWUnwcER1HIiulEh5AwnzZkuQ=; b=C6aHN9A+T2J0EMrl9WbG+w+M9jUZUJaT883lMVZKrRUU7A8CNx28kq1AFf/uYNWO13 Ru8VsRqXp1eBs8vmJFZkpbRyreE8k8vj1H0d12UXd9fuAbSgeUGDwvdnbxbx7d04K2ZL CgqoM5cB24c2a7mdXneJesVYT/lkAz5HIOMHgXkGzRBjBghoKHdk2GKSYs4xLnnKnGkb 3biEnT2IUY1YHod3URRKNjaYtHe/YHLX8y5RdVthoXF89Df6fN2Gi5ysMS4LJOvmXAse xf32jDWH9WoLd9E78NO8IEpBuj49g5Jov8DrZ1H2PKBPlVC7qPPjXfoUlkCVwUxpLjF/ WmrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=z2KipPkkOadTuXmtGsFWUnwcER1HIiulEh5AwnzZkuQ=; b=fCPvgsjF0AtC9extU1JXCu4W05HsJ5AIjGF4K23mnauN8QI0cSRzxQuvjpTodrq24D 5AD33oKTD8HW+PgpoL8xnAnUPqcC69SxlOiKriKblTDPs/Rp0Z4y8IQinzPKzlXBNjVb WvTg1FPavP/KyPVYKDjJzRac1T2UyZwCxMRPg2mLF52jurMGKGlVGAYlnr2Q4y3Sq75S Vh1xle0bAkMcbfOm9lLT1+6iqJpzt6jcRAnYG/fXFNBQuEyT06JktPGxHjfKscu5JyOm detcUtelMh3Bo+E3Ogt9IGzrrApBximtzUPoFqf589D8/25J+9kz/ez6DJAlQcwnkVZV iTcA== X-Gm-Message-State: AKGB3mKHGCIhREs4HJm9MG8Dx3NlYBw/kFlcV9+WU3AOqqokJ24yw06S jwC/66MiUJ4I1lYRmFUHbjm06NYguBuiNZmwMqU= X-Google-Smtp-Source: ACJfBotTde7ZcYREpiYemlHnaqm2Z0LopUA14INNUPsEI52tXD0WevWltZowHAB4Fj1LwZP3hmslLgHWc5mCl83eWVs= X-Received: by 10.36.125.129 with SMTP id b123mr6471478itc.142.1513311454910; Thu, 14 Dec 2017 20:17:34 -0800 (PST) MIME-Version: 1.0 Sender: chmeeedalf@gmail.com Received: by 10.79.78.207 with HTTP; Thu, 14 Dec 2017 20:17:34 -0800 (PST) In-Reply-To: <201712150411.vBF4BK7Y065169@repo.freebsd.org> References: <201712150411.vBF4BK7Y065169@repo.freebsd.org> From: Justin Hibbits Date: Thu, 14 Dec 2017 22:17:34 -0600 X-Google-Sender-Auth: 3x_29yObMW1LjTepOgbDdp9WJPc Message-ID: Subject: Re: svn commit: r326870 - in head/sys/powerpc: include powerpc To: src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 04:17:36 -0000 On Thu, Dec 14, 2017 at 10:11 PM, Justin Hibbits wrote: > Author: jhibbits > Date: Fri Dec 15 04:11:20 2017 > New Revision: 326870 > URL: https://svnweb.freebsd.org/changeset/base/326870 > > Log: > Handle the Facility Unavailable exception as a SIGILL > > Currently Facility Unavailable is absent and once an application > tries to use or access a register from a feature disabled in the > CPU it causes a kernel panic. > > A simple test-case is: > > int main() { asm volatile ("tbegin.;"); } > > which will use TM (Hardware Transactional Memory) feature which > is not supported by the kernel and so will trigger the following > kernel panic: > > ---- > > fatal user trap: > > exception = 0xf60 (unknown) > srr0 = 0x10000890 > srr1 = 0x800000000000f032 > lr = 0x100004e4 > curthread = 0x5f93000 > pid = 1021, comm = htm > > panic: unknown trap > cpuid = 40 > KDB: stack backtrace: > Uptime: 3m18s > Dumping 10 MB (3 chunks) > chunk 0: 11MB (2648 pages) ... ok > chunk 1: 1MB (24 pages) ... ok > chunk 2: 1MB (2 pages)panic: IOMMU mapping error: -4 > > cpuid = 40 > Uptime: 3m18s > > ---- > > Since Hardware Transactional Memory is not yet supported by FreeBSD, treat > this as an illegal instruction. > > PR: 224350 > Submitted by: Gustavo Romero ... and of course I can't read... missed part of the email address (br.ibm.com)