From owner-freebsd-usb@freebsd.org Wed May 2 03:54:04 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1157FC0C30 for ; Wed, 2 May 2018 03:54:04 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5781783148 for ; Wed, 2 May 2018 03:54:04 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mailman.ysv.freebsd.org (Postfix) id 17F2EFC0C2F; Wed, 2 May 2018 03:54:04 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05730FC0C2E for ; Wed, 2 May 2018 03:54:04 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F10883147 for ; Wed, 2 May 2018 03:54:03 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yw0-x230.google.com with SMTP id h6-v6so4148726ywj.9 for ; Tue, 01 May 2018 20:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to; bh=ojfZjCznPI4DoHoD/1gVuuYYF/G4LwzrL+QeEMeMWkA=; b=HC4t+I784/45qIPbJHTTvp1SAB/tLP8iWgxPmxaBHlMZRGAyx7QYePIXMdQtbywhgr QC6UnaKy2TaowcwejBoR9CKlg8JKWty7xkSUKqYAl3FOmvMY+HzRqsD6SE6GLcWyyAhH yM8AzesdZB3IpdfO9UumpbhfhlQc/McUixUkA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ojfZjCznPI4DoHoD/1gVuuYYF/G4LwzrL+QeEMeMWkA=; b=on5h1TUN0xqBWNMceVzqDTejgb2NG6jhu/TwUi0E73latriMkb0QBbbok662IP+azz e3FNVImgirTHUFifHTQd/P/S7Lc72+L3KUBgfYgyOsY16cd070MfZnLWoS1eXhtbReL6 X4mL0nmtldzTa/74XLUzhXsZ4iEKOBWZi7cucPELSXI6prgDSFGgXbU7wDv/tDdWC8xS m5KstVxCU6HJOmcEE7EV1ID9QEhrKJKhAZS+H5kKUXollINJIdSY+S+ch8o47r7Hjiav lPKypcZBCLuOswWLt7wGjdthwvZcumE3qONfY4qVHxwU5GEpxW3FfvKxFVxp6mAKVDUi HBXA== X-Gm-Message-State: ALQs6tDAGVVXtNoWGH0ysXTJd1joYtMgT/kWlCTsrL5IIjHUYr/Fb4xf Q/CJsq6cSsLT58XOsETBfBLmYbBo/8GC4qMGg+8gWQ== X-Google-Smtp-Source: AB8JxZpJFTdS5DjrwZHxErTpAD96Qy2eUZ2+Oh0VMQTttKWfQlpWP7EKD7NEwo9eH0N4mTT+2zxp4WLAI31s7yDAa94= X-Received: by 2002:a81:6dd0:: with SMTP id i199-v6mr9917895ywc.141.1525233242625; Tue, 01 May 2018 20:54:02 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:c709:0:0:0:0:0 with HTTP; Tue, 1 May 2018 20:53:32 -0700 (PDT) From: Eitan Adler Date: Tue, 1 May 2018 20:53:32 -0700 Message-ID: Subject: IRQ storm on xhci0 To: usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2018 03:54:04 -0000 Hi all, I am noticing consistently high IRQ rates on xhci0 example from vmstat -i right now: irq259: xhci0 2222153 1876 and this is not the highest I've seen. My understanding is that a rate of 1876/s is insane for USB devices. Any suggestions of what I can do to debug? Things I've tried: - disabling MSI interrupts - disabling MSI-X interrupts - powering off all usb devices using usbconfig - unplugging all USB devices One thing of note: My mobo has a broken USB connector resulting in one of the two front USB-3 ports not working. I'm guessing this is related but I'd like some confirmation and/or a way to bypass the issue in software. -- Eitan Adler