WSL2-Linux-Kernel/drivers/media/usb/dvb-usb-v2
Linus Torvalds 7e0fb73c52 Merge branch 'hash' of git://ftp.sciencehorizons.net/linux
Pull string hash improvements from George Spelvin:
 "This series does several related things:

   - Makes the dcache hash (fs/namei.c) useful for general kernel use.

     (Thanks to Bruce for noticing the zero-length corner case)

   - Converts the string hashes in <linux/sunrpc/svcauth.h> to use the
     above.

   - Avoids 64-bit multiplies in hash_64() on 32-bit platforms.  Two
     32-bit multiplies will do well enough.

   - Rids the world of the bad hash multipliers in hash_32.

     This finishes the job started in commit 689de1d6ca ("Minimal
     fix-up of bad hashing behavior of hash_64()")

     The vast majority of Linux architectures have hardware support for
     32x32-bit multiply and so derive no benefit from "simplified"
     multipliers.

     The few processors that do not (68000, h8/300 and some models of
     Microblaze) have arch-specific implementations added.  Those
     patches are last in the series.

   - Overhauls the dcache hash mixing.

     The patch in commit 0fed3ac866 ("namei: Improve hash mixing if
     CONFIG_DCACHE_WORD_ACCESS") was an off-the-cuff suggestion.
     Replaced with a much more careful design that's simultaneously
     faster and better.  (My own invention, as there was noting suitable
     in the literature I could find.  Comments welcome!)

   - Modify the hash_name() loop to skip the initial HASH_MIX().  This
     would let us salt the hash if we ever wanted to.

   - Sort out partial_name_hash().

     The hash function is declared as using a long state, even though
     it's truncated to 32 bits at the end and the extra internal state
     contributes nothing to the result.  And some callers do odd things:

      - fs/hfs/string.c only allocates 32 bits of state
      - fs/hfsplus/unicode.c uses it to hash 16-bit unicode symbols not bytes

   - Modify bytemask_from_count to handle inputs of 1..sizeof(long)
     rather than 0..sizeof(long)-1.  This would simplify users other
     than full_name_hash"

  Special thanks to Bruce Fields for testing and finding bugs in v1.  (I
  learned some humbling lessons about "obviously correct" code.)

  On the arch-specific front, the m68k assembly has been tested in a
  standalone test harness, I've been in contact with the Microblaze
  maintainers who mostly don't care, as the hardware multiplier is never
  omitted in real-world applications, and I haven't heard anything from
  the H8/300 world"

* 'hash' of git://ftp.sciencehorizons.net/linux:
  h8300: Add <asm/hash.h>
  microblaze: Add <asm/hash.h>
  m68k: Add <asm/hash.h>
  <linux/hash.h>: Add support for architecture-specific functions
  fs/namei.c: Improve dcache hash function
  Eliminate bad hash multipliers from hash_32() and  hash_64()
  Change hash_64() return value to 32 bits
  <linux/sunrpc/svcauth.h>: Define hash_str() in terms of hashlen_string()
  fs/namei.c: Add hashlen_string() function
  Pull out string hash to <linux/stringhash.h>
2016-05-28 16:15:25 -07:00
..
Kconfig [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
Makefile [media] dvbsky: new driver to support DVBSky S860/S960 devices 2014-09-23 16:13:50 -03:00
af9015.c Eliminate bad hash multipliers from hash_32() and hash_64() 2016-05-28 15:42:51 -04:00
af9015.h [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
af9035.c [media] Add support for Avermedia AverTV Volar HD 2 (TD110) 2016-03-03 08:33:05 -03:00
af9035.h [media] af9035: correct eeprom offsets 2016-05-06 23:51:56 -03:00
anysee.c [media] anysee: make sure loading modules is const 2014-10-21 08:49:11 -02:00
anysee.h [media] anysee: convert tda18212 tuner to I2C client 2014-09-21 19:59:13 -03:00
au6610.c [media] au6610: use Kernel dev_foo() logging 2012-09-23 20:50:03 -03:00
au6610.h
az6007.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
ce6230.c [media] ce6230: use Kernel dev_foo() logging 2012-09-23 20:50:42 -03:00
ce6230.h [media] dvb_usb_v2: use dvb_usb_dbg_usb_control_msg() 2012-09-15 11:35:59 -03:00
dvb_usb.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb_usb_common.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb_usb_core.c [media] media_device: move allocation out of media_device_*_init 2016-02-23 07:19:39 -03:00
dvb_usb_urb.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dvbsky.c [media] dvb-usb-dvbsky: add new product id for TT CT2-4650 CI 2016-02-01 09:06:10 -02:00
ec168.c [media] ec168: fix error return code 2014-01-07 09:19:03 -02:00
ec168.h [media] ec168: declare MODULE_FIRMWARE 2012-09-23 20:08:21 -03:00
gl861.c [media] gl861: use Kernel dev_foo() logging 2012-09-23 20:50:13 -03:00
gl861.h
lmedm04.c [media] lmedm04: NEC scancode cleanup 2015-07-06 08:26:15 -03:00
lmedm04.h
mxl111sf-demod.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
mxl111sf-demod.h [media] drivers/media/usb/dvb-usb-v2: constify mxl111sf_demod_config structure 2015-11-19 11:20:18 -02:00
mxl111sf-gpio.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
mxl111sf-gpio.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
mxl111sf-i2c.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
mxl111sf-i2c.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
mxl111sf-phy.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
mxl111sf-phy.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
mxl111sf-reg.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
mxl111sf-tuner.c [media] drivers/media/usb/dvb-usb-v2: constify mxl111sf_tuner_config structure 2016-02-01 07:58:08 -02:00
mxl111sf-tuner.h [media] drivers/media/usb/dvb-usb-v2: constify mxl111sf_tuner_config structure 2016-02-01 07:58:08 -02:00
mxl111sf.c [media] drivers/media/usb/dvb-usb-v2: constify mxl111sf_tuner_config structure 2016-02-01 07:58:08 -02:00
mxl111sf.h [media] mxl111sf: Add a tuner entity 2016-01-11 12:19:26 -02:00
rtl28xxu.c [media] rtl2832: change the i2c gate to be mux-locked 2016-05-04 22:40:02 +02:00
rtl28xxu.h [media] rtl28xxu: fix control message flaws 2015-10-22 15:48:27 -02:00
usb_urb.c [media] media: change email address 2016-01-25 12:01:08 -02:00