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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5242CCA47B for ; Mon, 13 Jun 2022 19:10:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348473AbiFMTKt (ORCPT ); Mon, 13 Jun 2022 15:10:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351557AbiFMTKJ (ORCPT ); Mon, 13 Jun 2022 15:10:09 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A699C95B4 for ; Mon, 13 Jun 2022 10:08:45 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 677271F8FA; Mon, 13 Jun 2022 17:08:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1655140124; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SfZX2FHGKi9VSNT0iKL2Q5zQqSswNSWEESfWx2oGllQ=; b=Cug00id4eAwOFvwDhHzgQxID9X+3ACBlpT2Q8zZEH69itK63b8asltJeequJSHNnDmpNYa EG9ZjgCq5ZiXw5Kr9Qz2P1Yk3ZiXDT2bK3Z2KRUqngxzpvEAHNAgO2GsdMcGik+MYSgmCR SDsa7slL3W2Ld/xeUoCl0jzgI1eDCP8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1655140124; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SfZX2FHGKi9VSNT0iKL2Q5zQqSswNSWEESfWx2oGllQ=; b=SeABXjvYEBxG+PW7tEewvfGqafsdFbXYhc74gX+v537cmIMGFMsciZKN7xxZCiMncsHFZt QD+ezZ/NR1ivMWBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 44EA413443; Mon, 13 Jun 2022 17:08:44 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6K/sDhxvp2LmAgAAMHmgww (envelope-from ); Mon, 13 Jun 2022 17:08:44 +0000 Date: Mon, 13 Jun 2022 19:08:41 +0200 From: Jean Delvare To: Heiner Kallweit Cc: linux-i2c@vger.kernel.org Subject: Re: [PATCH 4/8] i2c: i801: enable FEATURE_IRQ and FEATURE_I2C_BLOCK_READ on all chip versions Message-ID: <20220613190841.653709e7@endymion.delvare> In-Reply-To: <20220607162442.7b618cca@endymion.delvare> References: <4125f9ce-ce5f-fbcf-7d6f-9bc586ac43e0@gmail.com> <1f81a126-11b4-aa22-1e2c-9824e0ad730c@gmail.com> <20220607162442.7b618cca@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Hi Heiner, I was able to resurrect my Sony Vaio GR214EP laptop to test this patch on an Intel 82801CAM (ICH3-M) chipset. And as I suspected, it does not work. I get the following error in the kernel log: [13563.411101] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt [13565.434712] irq 9: nobody cared (try booting with the "irqpoll" option) [13565.434728] Pid: 321, comm: udevd Tainted: G O 3.4.63-2.44-default #1 [13565.434734] Call Trace: [13565.434773] [] try_stack_unwind+0x199/0x1b0 [13565.434793] [] dump_trace+0x47/0xf0 [13565.434808] [] show_trace_log_lvl+0x4b/0x60 [13565.434820] [] show_trace+0x18/0x20 [13565.434837] [] dump_stack+0x6d/0x72 [13565.434855] [] __report_bad_irq+0x21/0xc0 [13565.434870] [] note_interrupt+0x181/0x1d0 [13565.434887] [] handle_irq_event_percpu+0x9e/0x1d0 [13565.434901] [] handle_irq_event+0x2e/0x50 [13565.434915] [] handle_level_irq+0x56/0x90 [13565.434928] [] handle_irq+0x88/0xa0 [13565.434939] handlers: [13565.434949] [] acpi_irq [13565.435027] [] usb_hcd_irq [13565.435054] [] usb_hcd_irq [13565.435079] [] usb_hcd_irq [13565.435193] [] radeon_driver_irq_handler_kms [13565.435206] [] yenta_interrupt [13565.435214] [] yenta_interrupt [13565.435227] [] irq_handler [13565.435238] [] snd_intel8x0m_interrupt [13565.435251] [] snd_intel8x0_interrupt [13565.435264] [] e100_intr [13565.435278] [] i801_isr [13565.435283] Disabling IRQ #9 [13565.437114] i801_smbus 0000:00:1f.3: Transaction timeout [13565.437125] i801_smbus 0000:00:1f.3: Terminating the current operation [13565.439189] i801_smbus 0000:00:1f.3: Failed terminating the transaction If it matters, and as seen in the list of handlers above, IRQ9 is heavily shared on this laptop (ACPI, USB, graphics, PCMCIA, sound, network and SMBus). -- Jean Delvare SUSE L3 Support