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.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 8842CC433E1 for ; Mon, 20 Jul 2020 10:02:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5409121775 for ; Mon, 20 Jul 2020 10:02:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="v2VUF3t4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5409121775 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tdRutOiuSk2Car4IIOO6feen66y4HwBkDlnknoZXnqY=; b=v2VUF3t4YEdVr5/d50TEMhoIl JPhYgbqn+7abzRyomwYv55J3iTcWZlx4CV6ZVRxTsNuh8rT6le1Ugyqmfpc020iyzEPdh0IMrP4wE U1K9Y2A/k6S5QlYQa0VpgkIVhdMeS665BHQXCCTtFsTEvZcgz1Brhh0ujNs0Cg9ITO2/WnOoum3VW Z4CUQYu+SqLqhxwgaj6c79HTIzN6xfEUV5QK0W5MbpIeeer9e8Igw0ZLx1ONTFacNxYrEdqTU9JpV 91mn/buLT1tkDp0zdbEhHxPxU8nP+NfZqksbZ2lDyhiGGr2dXnSi5reIeUairDDA83zfbubpcBhUI LxiLBJMmg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxSbd-0005jV-28; Mon, 20 Jul 2020 10:01:09 +0000 Received: from verein.lst.de ([213.95.11.211]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxSbb-0005j7-Bo for linux-arm-kernel@lists.infradead.org; Mon, 20 Jul 2020 10:01:08 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 9D7A068BFE; Mon, 20 Jul 2020 12:01:04 +0200 (CEST) Date: Mon, 20 Jul 2020 12:01:04 +0200 From: Christoph Hellwig To: Guenter Roeck Subject: Re: [PATCH 1/6] syscalls: use uaccess_kernel in addr_limit_user_check Message-ID: <20200720100104.GA20196@lst.de> References: <20200714105505.935079-1-hch@lst.de> <20200714105505.935079-2-hch@lst.de> <20200718013849.GA157764@roeck-us.net> <20200718094846.GA8593@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200720_060107_876888_7E2C193B X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Peter Maydell , Vladimir Murzin , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org To try to reproduce your report I built a mps2_defconfig kernel and then run the qemu command line manually extraced from your script below, using a mainline qemu built for arm-softmmu, but it crashes with the following message even for the baseline kernel. qemu: fatal: Lockup: can't escalate 3 to HardFault (current priority -1) R00=00000000 R01=00000000 R02=00000000 R03=00000000 R04=00000000 R05=00000000 R06=00000000 R07=00000000 R08=00000000 R09=00000000 R10=00000000 R11=00000000 R12=00000000 R13=ffffffe0 R14=fffffff9 R15=00000000 XPSR=40000003 -Z-- A handler FPSCR: 00000000 Does anyone have an idea what this means? --- /opt/qemu/bin/qemu-system-arm \ -M mps2-an385 \ -cpu cortex-m3 \ -dtb arch/arm/boot/dts/mps2-an385.dtb \ -kernel vmlinux \ -no-reboot \ -snapshot -m 16 \ -initrd ~/images/rootfs-arm-m3.cpio \ -append 'panic=-1' \ -bios ~/images/mps2-boot.axf \ -nographic -monitor null -serial stdio _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel