Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4664938imm; Tue, 11 Sep 2018 15:55:35 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda4kXfmPTQE8xkva3zd7n8jjW5hr7I54mztrnIApDhS/ddZ+2NDX/wS9+XGyu3Sdm3lpKuq X-Received: by 2002:a63:1566:: with SMTP id 38-v6mr5822065pgv.383.1536706535773; Tue, 11 Sep 2018 15:55:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536706535; cv=none; d=google.com; s=arc-20160816; b=XNMA92yH0SjIfUPbjXaVyGRvnmyQ3fPf/6SrFj7/Bxj83/qsUdyH/1GXyz5iz/Qk6W xh+0YXJSYxuZ9NMYl6f6WnfB73EoiT4QEpG2nwyNMNQtDLjEOEMu6a02uo23tI71Fuk5 td7wPr0d8/nhEUoVWtC8UOcu3b34pLu7y4vBmCmm47Y7NOuNif0Pf8dc3+/c3tJ40s6q wJLxIZWbbr2H/o0nVulnbxcpfothXJFqDbmnuKcOKliLQ7Y/unVBRN7copO+endUxwXr 8urWCq8Gy0ylGsS0q/7V8RvNh3bkgpuuejAPOx9LnsKY6WDAlYKPTKGzXX5wCxLCkso9 baOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=yecEx44M8PDKMBTNei5rTsr98sIveDfTubDW32UfeNA=; b=ZMZTH9IUfVv3v1/PDXb7z4+8fcimokw4qyauGBfQSmrO7zOG52wcJq938XLrJvfj9L O2GzLj9Z3KN7v40S1qOrClLM9I7bRtcRWms4Y8l688EOMxLVilicnTnXmw75O46obsPl goRmzu9kCt8T9tLB0r4zGu8DnbfqH+q/qCZB4Fqielr+Ex6V8sVSKGC3GM8GvngoSTTW Ldk94jBwAAaVBoE+xngUu+f9Dqrn/dkqA2rERvLjH/KvmCPAloHnjm0gt51N5GPeRPr8 hcJEOmzwkr1xfXIC3YcGGpoUJFJWwZlbDbqE45ljRQ6P+gXgDmDxsY1jd9U/yx0VCOHh s9aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=W9+kr9Pi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l127-v6si22580589pfc.135.2018.09.11.15.55.21; Tue, 11 Sep 2018 15:55:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=W9+kr9Pi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727839AbeILDzL (ORCPT + 99 others); Tue, 11 Sep 2018 23:55:11 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:45203 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726885AbeILDzK (ORCPT ); Tue, 11 Sep 2018 23:55:10 -0400 Received: by mail-qk1-f193.google.com with SMTP id z125-v6so17880008qkb.12; Tue, 11 Sep 2018 15:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yecEx44M8PDKMBTNei5rTsr98sIveDfTubDW32UfeNA=; b=W9+kr9PiBTLMZIsIgqC+gYpeByqEE5FyJlxptKbWASdvfptxJFesDpaVOdPjbHzMkq 3MIra+4URbx9Z/Qd0udQebHm3wCadOJZcsFAf83Q/ZZP91ygXmaxmroeKzUIVeeJM4kl ZnEBVKDxw0WtWqqZMtei3e3G2vrJrZuoNBpvM= 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=yecEx44M8PDKMBTNei5rTsr98sIveDfTubDW32UfeNA=; b=gAho0huzWnv1UsaDcBQi29R6oH/VXzhFEjqMo+Q4SXYCxoCOUPatlZ14ibA9DJqWhZ XXN2LO4yK1J8qDT/Zvo1jIvMeu8sC4twS0m1uamf2ltparDZbobdHnkvlziy+7b7sQkp Dy/ji0pu+tRRNQNnZbI5F9qg/MDAS/DYF20L4102KkH7oHk2ZhzpieHrqKNND+frHRXC MV88tiCiDAomSSqtjE+zajVuEINmttBp4HiAkXLPGrESTwu4iZhgZ0UYrb5EYjYzvdGY w4k2GZNAPL9HYdqtev3ruo7FI0pruU00KF1MjyoeRB1Qp8ovFXJ7/4hHYTqhj9LQY8sE IfWQ== X-Gm-Message-State: APzg51DZgeCu50JOKS5uyNXKOpCZtceXgbzd98+6Cx12wE3RonWb2hER R2iRFjqXdExXKp2XDG8gU9hB8Jp4Cgwp/ubKmcE= X-Received: by 2002:a37:bd02:: with SMTP id n2-v6mr21038412qkf.336.1536706421114; Tue, 11 Sep 2018 15:53:41 -0700 (PDT) MIME-Version: 1.0 References: <20180823225731.19063-1-jae.hyun.yoo@linux.intel.com> <20180911183734.GA21976@roeck-us.net> <1f34fe8c-69ef-5f2d-25dc-d5f6037cc558@linux.intel.com> <20180911204107.GA26017@roeck-us.net> In-Reply-To: From: Joel Stanley Date: Wed, 12 Sep 2018 08:23:29 +0930 Message-ID: Subject: Re: [PATCH i2c-next v6] i2c: aspeed: Handle master/slave combined irq events properly To: Jae Hyun Yoo , =?UTF-8?Q?C=C3=A9dric_Le_Goater?= Cc: Guenter Roeck , linux-aspeed@lists.ozlabs.org, Vernon Mauery , OpenBMC Maillist , Brendan Higgins , Linux Kernel Mailing List , jarkko.nikula@linux.intel.com, James Feist , Linux ARM , linux-i2c@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Sep 2018 at 07:48, Jae Hyun Yoo wrote: > > On 9/11/2018 1:41 PM, Guenter Roeck wrote: > > On Tue, Sep 11, 2018 at 01:30:41PM -0700, Jae Hyun Yoo wrote: > >> I checked this patch again but it doesn't have any change that could > >> affect to the probing flow. I'll debug the issue on qemu 3.0 environment > >> and will share if I find something. > >> > > The problem may be that qemu and the new code disagree how interrupts > > should be generated and handled, and the new code does not handle the > > interrupts it receives from the simulated hardware. This will result > > in i2c device probe failure, which in turn can cause all kinds of > > problems. > > > > Yes, that makes sense. Looks like it should be reverted until the issue > is fixed. Will submit a patch to revert it. Let's not rush. The qemu model was written in order to allow us to test the kernel code, and was validated by the kernel driver we have. We've had situations in the past (with the i2c driver in fact) where a change in the driver required an update of the model to be more accurate. I suggest we wait until Cedric has a chance to look at the issue before reverting the patch. Cheers, Joel