Skip to content
  1. Feb 24, 2009
    • Stefan Richter's avatar
      ieee1394: use correct barrier types between accesses of nodeid and generation · 29f8ea8a
      Stefan Richter authored
      
      
      A compiler barrier (explicit on the read side, implicit on the write
      side) is not quite enough for what has to be accomplished here.  Use
      hardware memory barriers on systems which need them.
      
      (Of course a full fix of generation handling would require much more
      than this.  The ieee1394 core's bus generation counter had to be tied to
      the controller's bus generation counter; cf. Kristian's stack.  It's
      just that I have other current business with the code around these
      barrier()s, so why not do at least this small fix.)
      
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      29f8ea8a
    • Stefan Richter's avatar
      firesat: copyrights, rename to firedtv, API conversions, fix remote control input · 612262a5
      Stefan Richter authored
      
      
      Combination of the following changes:
      
      Tue, 26 Aug 2008 00:17:30 +0200 (CEST)
      firedtv: fix remote control input
      
          and update the scancode-to-keycode mapping to a current model.  Per
          default, various media key keycodes are emitted which closely match what
          is printed on the remote.  Userland can modify the mapping by means of
          evdev ioctls.  (Not tested.)
      
          The old scancode-to-keycode mapping is left in the driver but cannot be
          modified by ioctls.  This preserves status quo for old remotes.
      
      Tue, 26 Aug 2008 00:11:28 +0200 (CEST)
      firedtv: replace tasklet by workqueue job
      
          Non-atomic context is a lot nicer to work with.
      
      Sun, 24 Aug 2008 23:30:00 +0200 (CEST)
      firedtv: move some code back to ieee1394 core
      
          Partially reverts "ieee1394: remove unused code" of Linux 2.6.25.
      
      Sun, 24 Aug 2008 23:29:30 +0200 (CEST)
      firedtv: replace semaphore by mutex
      
          firesat->avc_sem and ->demux_sem have been used exactly like a mutex.
          The only exception is the schedule_remotecontrol tasklet which did a
          down_trylock in atomic context.  This is not possible with
          mutex_trylock; however the whole remote control related code is
          non-functional anyway at the moment.  This should be fixed eventually,
          probably by turning the tasklet into a worqueue job.
      
          Convert everything else from semaphore to mutex.
      
          Also rewrite a few of the affected functions to unlock the mutex at a
          single exit point, instead of in several branches.
      
      Sun, 24 Aug 2008 23:28:45 +0200 (CEST)
      firedtv: some header cleanups
      
          Unify #ifndef/#define/#endif guards against multiple inclusion.
          Drop extern keyword from function declarations.
          Remove #include's into header files where struct declarations suffice.
      
          Remove unused ohci1394 interface and related unused ieee1394 interfaces.
      
          Add a few missing #include's and remove a few apparently obsolete ones.
          Sort them alphabetically.
      
      Sun, 24 Aug 2008 23:27:45 +0200 (CEST)
      firedtv: nicer registration message and some initialization fixes
      
          Print the correct name in dvb_register_adapter().
      
          While we are at it, replace two switch cascades by one for loop, remove
          a superfluous member of struct firesat and of two unused arguments of
          AVCIdentifySubunit(), and fix bogus kfree's in firesat_dvbdev_init().
      
      Tue, 26 Aug 2008 14:24:17 +0200 (CEST)
      firesat: rename to firedtv
      
          Suggested by Andreas Monitzer.  Besides DVB-S/-S2 receivers, the driver
          also supports DVB-C and DVB-T receivers, hence the previous project name
          is too narrow now.
      
          Not yet done:  Rename source directory, files, types, variables...
      
      Sun, 24 Aug 2008 23:26:23 +0200 (CEST)
      firesat: add missing copyright notes
      
          Reported by Andreas Monitzer and Christian Dolzer.
      
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      612262a5
    • Henrik Kurelid's avatar
      firesat: avc resend · 81c67b7f
      Henrik Kurelid authored
      
      
      - Add resending of AVC message to the card if no answer is received
        - Replace the homebrewed event_wait function with a standard wait queue
        - Clean up of log/error messages
        - Increase debug level of avc communication
      
      Signed-off-by: default avatarHenrik Kurelid <henrik@kurelid.se>
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      81c67b7f
    • Henrik Kurelid's avatar
      firesat: update isochronous interface, add CI support · df4846c3
      Henrik Kurelid authored
      
      
      I have finally managed to get the CI support for the card working. The
      implementation is a bare minimum to get encrypted channels to work in
      kaffeine. It works fine with my T/CI card. Now and then I get an AVC
      timeout and have to retune a channel in order to get it to work. Once
      the CAM seemed to hang so I needed to remove and insert it again. I.e.
      there are a number of glitches.
      
      The latest version contains the following changes:
      
        - Implemented the new hpsb iso interface so that data can be received
          from the card
        - Reduced some timers for demux setup which caused scanning to timeout
        - Added possibility to unload driver
        - Added support for getting C/N ratio
        - Added two debug parameters to the driver; ca_debug and
          avc_comm_debug.
        - Added CI support that works for me in kaffeine
        - Started working on CI MMI support. It now supports:
            o Enter menu
            o Receiving MMI objects
        - Added support for 64-bit platforms
        - Corrected DVB-C modulations problems
      
      Signed-off-by: default avatarHenrik Kurelid <henrik@kurelid.se>
      Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (rebased, whitespace)
      df4846c3
    • Ben Backx's avatar
      firesat: add DVB-S support for DVB-S2 devices · 2c228614
      Ben Backx authored
      
      
      ...so S2 owners now can at least watch DVB-S channels in linux.
      
      Signed-off-by: default avatarBen Backx <ben@bbackx.com>
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      2c228614
    • Ben Backx's avatar
      firesat: fix DVB-S2 device recognition · f1bbb43a
      Ben Backx authored
      
      
      This only makes sure that a DVB-S2 device is really recognized as a S2,
      nothing else is added yet. It's using the string containing the model
      that is stored in the configuration ROM, the older version was using
      some hardware revision dependent part of the ROM.
      
      Signed-off-by: default avatarBen Backx <ben@bbackx.com>
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      f1bbb43a
    • Greg Kroah-Hartman's avatar
      DVB: add firesat driver · c81c8b68
      Greg Kroah-Hartman authored
      
      
      Original code written by Christian Dolzer <c.dolzer@digital-everywhere.com>
      
      Cleaned up by Greg.
      
      Major cleanup and reorg by Manu Abraham <manu@linuxtv.org>
      
      Additions also by Ben Backx <ben@bbackx.com>
      
      Cc: Christian Dolzer <c.dolzer@digital-everywhere.com>
      Cc: Andreas Monitzer <andy@monitzer.com>
      Cc: Manu Abraham <manu@linuxtv.org>
      Cc: Fabio De Lorenzo <delorenzo.fabio@gmail.com>
      Cc: Robert Berger <robert.berger@reliableembeddedsystems.com>
      Signed-off-by: default avatarBen Backx <ben@bbackx.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      
      Added missing dependency to dvb/firesat/Kconfig,
      Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      
      Tweaked dvb/Makefile.
      
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      c81c8b68
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · f7e603ad
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        net: amend the fix for SO_BSDCOMPAT gsopt infoleak
        netns: build fix for net_alloc_generic
      f7e603ad
    • Krzysztof Sachanowicz's avatar
      proc: proc_get_inode should de_put when inode already initialized · cac71121
      Krzysztof Sachanowicz authored
      
      
      de_get is called before every proc_get_inode, but corresponding de_put is
      called only when dropping last reference to an inode. This might cause
      something like
      remove_proc_entry: /proc/stats busy, count=14496
      to be printed to the syslog.
      
      The fix is to call de_put in case of an already initialized inode in
      proc_get_inode.
      
      Signed-off-by: default avatarKrzysztof Sachanowicz <analyzer1@gmail.com>
      Tested-by: default avatarMarcin Pilipczuk <marcin.pilipczuk@gmail.com>
      Acked-by: default avatarAl Viro <viro@ZenIV.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      cac71121
    • Jesse Barnes's avatar
      i915: suspend/resume interrupt state · 226485e9
      Jesse Barnes authored
      
      
      In the KMS case, enter/leavevt won't fix up the interrupt handler for
      us, so we need to do it at suspend/resume time.  Make sure we don't fail
      the resume if the chip is hung either.
      
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      226485e9
    • Karsten Wiese's avatar
      Fix an oops in i915_gem_retire_requests() · 6c0594a3
      Karsten Wiese authored
      
      
      dev_priv->hw_status_page can be NULL, if i915_gem_retire_requests()
      is called from i915_gem_busy_ioctl().
      
      Signed-off-by Karsten Wiese <fzu@wemgehoertderstaat.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6c0594a3
    • Eugene Teo's avatar
      net: amend the fix for SO_BSDCOMPAT gsopt infoleak · 50fee1de
      Eugene Teo authored
      The fix for CVE-2009-0676 (upstream commit df0bca04
      
      ) is incomplete. Note
      that the same problem of leaking kernel memory will reappear if someone
      on some architecture uses struct timeval with some internal padding (for
      example tv_sec 64-bit and tv_usec 32-bit) --- then, you are going to
      leak the padded bytes to userspace.
      
      Signed-off-by: default avatarEugene Teo <eugeneteo@kernel.sg>
      Reported-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      50fee1de
    • Clemens Noss's avatar
      netns: build fix for net_alloc_generic · ebe47d47
      Clemens Noss authored
      
      
      net_alloc_generic was defined in #ifdef CONFIG_NET_NS, but used
      unconditionally. Move net_alloc_generic out of #ifdef.
      
      Signed-off-by: default avatarClemens Noss <cnoss@gmx.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ebe47d47
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · d38e84ee
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        netns: fix double free at netns creation
        veth : add the set_mac_address capability
        sunlance: Beyond ARRAY_SIZE of ib->btx_ring
        sungem: another error printed one too early
        ISDN: fix sc/shmem printk format warning
        SMSC: timeout reaches -1
        smsc9420: handle magic field of ethtool_eeprom
        sundance: missing parentheses?
        smsc9420: fix another postfixed timeout
        wimax/i2400m: driver loads firmware v1.4 instead of v1.3
        vlan: Update skb->mac_header in __vlan_put_tag().
        cxgb3: Add support for PCI ID 0x35.
        tcp: remove obsoleted comment about different passes
        TG3: &&/|| confusion
        ATM: misplaced parentheses?
        net/mv643xx: don't disable the mib timer too early and lock properly
        net/mv643xx: use GFP_ATOMIC while atomic
        atl1c: Atheros L1C Gigabit Ethernet driver
        net: Kill skb_truesize_check(), it only catches false-positives.
        net: forcedeth: Fix wake-on-lan regression
      d38e84ee
  2. Feb 23, 2009
  3. Feb 22, 2009