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=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 398FBC4338F for ; Thu, 29 Jul 2021 14:57:46 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 B33D660BD3 for ; Thu, 29 Jul 2021 14:57:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B33D660BD3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:42798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m97Tk-0004Qg-K4 for qemu-devel@archiver.kernel.org; Thu, 29 Jul 2021 10:57:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m97SU-0003ST-HF for qemu-devel@nongnu.org; Thu, 29 Jul 2021 10:56:26 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:34432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m97SS-0003I4-TM for qemu-devel@nongnu.org; Thu, 29 Jul 2021 10:56:26 -0400 Received: by mail-ed1-x52f.google.com with SMTP id da26so8651278edb.1 for ; Thu, 29 Jul 2021 07:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GX6C+z4Gp1774SIk9qsj2EZpm0J0in1V4oJLtkiO+C8=; b=PWaYuUjCVpMU5LeK/YUxmokhszVcrFTtwJQOabcCUknfgJlYy0BMwBoSLubDyaBWjI QVqo18hKJvOWD7L7Wi6d9sow8e+vNTg1E6ylaBWRZtDWqbfbbuF1pUPUtCCzrDe59VZN WUE06C9kmaLBJ+u3yr6KqbnbnkqnwCny1QxrU+GdSVpdUAefGlsQKtTHvRsDsWdnaXNt 0YN3EYA+tQws4mHisd4TmWvc7PEMLKVpP/YADECvV9kjfqNtU3sb4P/1/HMY9IhoJAlz qmAPOvIJQBZKhoJKalV/joknN/qP7byw6Di1p4EswDWjp1D4SYFO0c3MTmi744KeAiF3 wzBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GX6C+z4Gp1774SIk9qsj2EZpm0J0in1V4oJLtkiO+C8=; b=X8tscAt76QXXkWdA9kBFxdi4YF1rTVweLyrJ1cWwyIhiLy/gosTSNUCvOQYg34xoYb Z6ihbg6NN+7MsPQRcpCZkZ0Dn1MDo2Nax42XSIrPMTs3oKQPI3jxHHd991qw994Sf0Ni UeOUcxqvyoFbhr1keCUF9mvDiEG71YyJDSTg1t+YqXIhSq/6oYjWsc0ZsT76dWNM25du HoC8MkpkB4LCkotYubq8CzUOhRZzNXPXKqOZORdCks2Pz6r0kCmdki0XbJYBcAvCqN+3 aDpS1oclzXoTnRd43TiHuZJ5PMq4P6lI2RvsEpR7mthg51sxPlKfY69vhEMYbZmvrQqY FwsQ== X-Gm-Message-State: AOAM531+F1XzI+jOWiz56fba7EU9fEI1PJGF1b/RPhGJDABv65/4hKTn pCNkW72nmWyzKZLDQ7Noje6xABExrpqCdkbX7ge5Cg== X-Google-Smtp-Source: ABdhPJxxkbGpfGCUsVjyT9V8aqmzgkXTU/RJiaYoh9ByQVnHkq59FGd6y1duzRBlG8CN1g8zF0XXgZQoGRjDtLVAUXE= X-Received: by 2002:a05:6402:697:: with SMTP id f23mr6442139edy.44.1627570582918; Thu, 29 Jul 2021 07:56:22 -0700 (PDT) MIME-Version: 1.0 References: <20210729004647.282017-1-richard.henderson@linaro.org> <20210729004647.282017-17-richard.henderson@linaro.org> In-Reply-To: <20210729004647.282017-17-richard.henderson@linaro.org> From: Peter Maydell Date: Thu, 29 Jul 2021 15:55:40 +0100 Message-ID: Subject: Re: [PATCH for-6.2 16/43] target/xtensa: Implement do_unaligned_access for user-only To: Richard Henderson Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=peter.maydell@linaro.org; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov , QEMU Developers Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Thu, 29 Jul 2021 at 02:03, Richard Henderson wrote: > > Cc: Max Filippov > Signed-off-by: Richard Henderson > --- > target/xtensa/cpu.c | 2 +- > target/xtensa/helper.c | 30 +++++++++++++++--------------- > 2 files changed, 16 insertions(+), 16 deletions(-) The xtensa kernel has a CONFIG_XTENSA_UNALIGNED_USER option to make the kernel silently fix up unaligned userspace accesses, and most of the defconfigs for xtensa set it to 'y'. -- PMM