Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 22:25:16 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/scc scc_core.c
Message-ID:  <200607242225.k6OMPG61048242@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2006-07-24 22:25:16 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/scc          scc_core.c 
  Log:
  If we have multiple interrupt resources, like for Z8530 clones on the
  mac-io bus, we cannot setup FAST interrupt handlers. This because we
  use spinlocks to protect the hardware and all interrupt resources are
  assigned the same interrupt handler. When the interrupt handler is
  invoked for interrupt X, it could be preempted for interrupt Y while
  it was holding the lock (where X and Y are the interrupt resources
  corresponding a single instance of this driver). This is a deadlock.
  By only using a MPSAFE handler in that case we prevent preemption.
  
  Revision  Changes    Path
  1.4       +13 -11    src/sys/dev/scc/scc_core.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607242225.k6OMPG61048242>