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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 D610CFA372A for ; Thu, 17 Oct 2019 15:01:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A90862067B for ; Thu, 17 Oct 2019 15:01:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=cantab.net header.i=@cantab.net header.b="fs/8l9xq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2409418AbfJQPBO (ORCPT ); Thu, 17 Oct 2019 11:01:14 -0400 Received: from mta02.prd.rdg.aluminati.org ([94.76.243.215]:38790 "EHLO mta02.prd.rdg.aluminati.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731768AbfJQPBO (ORCPT ); Thu, 17 Oct 2019 11:01:14 -0400 X-Greylist: delayed 528 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 Oct 2019 11:01:13 EDT Received: from mta02.prd.rdg.aluminati.org (localhost [127.0.0.1]) by mta02.prd.rdg.aluminati.org (Postfix) with ESMTP id B34921FF31; Thu, 17 Oct 2019 15:52:24 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by mta02.prd.rdg.aluminati.org (Postfix) with ESMTP id 7D6E6245; Thu, 17 Oct 2019 15:52:24 +0100 (BST) Authentication-Results: mta02.prd.rdg.aluminati.org (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=cantab.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cantab.net; h= mime-version:message-id:date:date:references:in-reply-to:subject :subject:from:from:received:received; s=dkim; t=1571323836; bh=J jMTI1mLIeg+pwWKnhkMc702J98xkf6BBs+6/SkWTsc=; b=fs/8l9xqRSdubarQO bteOz8qDIXnVy/y9zsTDnMLpcMjzzSPwg2pm/DB6R1YsVs7MdrIA1/kRsAFYInv/ jDG70ObvLRNT6ysfoNAhnSeZCLwnK7gH+x/8SFMc+JZ1PulraJ36vxNUxHmD6AEz 0STfq2YFImCgkpeOijyFe050E1fVjSHhjprnkh9b8k0+rBKDE/uLbsYV3oayk06P E76PgsT4DCtwYz4ES87x24bCOqclFyXinHtlHEGpsr5cyvb+o0Kp5whvdBYPtEWC KWZalQgJf9NgA+1LEO/0sxSJRA/+aSoNZ/8W0RY5oEh+mtxmWcXaDvZvV9bCU4Az BBapQ== X-Quarantine-ID: X-Virus-Scanned: Debian amavisd-new at mta02.prd.rdg.aluminati.org Received: from mta.aluminati.local ([127.0.0.1]) by localhost (mta02.prd.rdg.aluminati.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TPhAEx1RnaC6; Thu, 17 Oct 2019 15:50:36 +0100 (BST) Received: from henry.ossau.homelinux.net (79-65-71-34.host.pobb.as13285.net [79.65.71.34]) by mta02.prd.rdg.aluminati.org (Postfix) with ESMTPSA id CEF10D0; Thu, 17 Oct 2019 15:50:31 +0100 (BST) From: Neil Jerram To: Oliver Neukum , davem@davemloft.net, netdev@vger.kernel.org, johan@kernel.org Subject: Re: [PATCHv2] usb: hso: obey DMA rules in tiocmget In-Reply-To: <20191017132548.21888-1-oneukum@suse.com> References: <20191017132548.21888-1-oneukum@suse.com> Date: Thu, 17 Oct 2019 15:50:31 +0100 Message-ID: <87tv87qvd4.fsf@ossau.homelinux.net> MIME-Version: 1.0 Content-Type: text/plain Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Oliver Neukum writes: > The serial state information must not be embedded into another > data structure, as this interferes with cache handling for DMA > on architectures without cache coherence.. > That would result in data corruption on some architectures Could you say more what you mean by "some architectures"? I wonder if this is responsible for long-standing flakiness dealing with the HSO modem in the GTA04 phone? Best wishes, Neil