WSL2-Linux-Kernel/drivers/video/fbdev
Linus Torvalds f1947d7c8a Random number generator fixes for Linux 6.1-rc1.
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEq5lC5tSkz8NBJiCnSfxwEqXeA64FAmNHYD0ACgkQSfxwEqXe
 A655AA//dJK0PdRghqrKQsl18GOCffV5TUw5i1VbJQbI9d8anfxNjVUQiNGZi4et
 qUwZ8OqVXxYx1Z1UDgUE39PjEDSG9/cCvOpMUWqN20/+6955WlNZjwA7Fk6zjvlM
 R30fz5CIJns9RFvGT4SwKqbVLXIMvfg/wDENUN+8sxt36+VD2gGol7J2JJdngEhM
 lW+zqzi0ABqYy5so4TU2kixpKmpC08rqFvQbD1GPid+50+JsOiIqftDErt9Eg1Mg
 MqYivoFCvbAlxxxRh3+UHBd7ZpJLtp1UFEOl2Rf00OXO+ZclLCAQAsTczucIWK9M
 8LCZjb7d4lPJv9RpXFAl3R1xvfc+Uy2ga5KeXvufZtc5G3aMUKPuIU7k28ZyblVS
 XXsXEYhjTSd0tgi3d0JlValrIreSuj0z2QGT5pVcC9utuAqAqRIlosiPmgPlzXjr
 Us4jXaUhOIPKI+Musv/fqrxsTQziT0jgVA3Njlt4cuAGm/EeUbLUkMWwKXjZLTsv
 vDsBhEQFmyZqxWu4pYo534VX2mQWTaKRV1SUVVhQEHm57b00EAiZohoOvweB09SR
 4KiJapikoopmW4oAUFotUXUL1PM6yi+MXguTuc1SEYuLz/tCFtK8DJVwNpfnWZpE
 lZKvXyJnHq2Sgod/hEZq58PMvT6aNzTzSg7YzZy+VabxQGOO5mc=
 =M+mV
 -----END PGP SIGNATURE-----

Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random

Pull more random number generator updates from Jason Donenfeld:
 "This time with some large scale treewide cleanups.

  The intent of this pull is to clean up the way callers fetch random
  integers. The current rules for doing this right are:

   - If you want a secure or an insecure random u64, use get_random_u64()

   - If you want a secure or an insecure random u32, use get_random_u32()

     The old function prandom_u32() has been deprecated for a while
     now and is just a wrapper around get_random_u32(). Same for
     get_random_int().

   - If you want a secure or an insecure random u16, use get_random_u16()

   - If you want a secure or an insecure random u8, use get_random_u8()

   - If you want secure or insecure random bytes, use get_random_bytes().

     The old function prandom_bytes() has been deprecated for a while
     now and has long been a wrapper around get_random_bytes()

   - If you want a non-uniform random u32, u16, or u8 bounded by a
     certain open interval maximum, use prandom_u32_max()

     I say "non-uniform", because it doesn't do any rejection sampling
     or divisions. Hence, it stays within the prandom_*() namespace, not
     the get_random_*() namespace.

     I'm currently investigating a "uniform" function for 6.2. We'll see
     what comes of that.

  By applying these rules uniformly, we get several benefits:

   - By using prandom_u32_max() with an upper-bound that the compiler
     can prove at compile-time is ≤65536 or ≤256, internally
     get_random_u16() or get_random_u8() is used, which wastes fewer
     batched random bytes, and hence has higher throughput.

   - By using prandom_u32_max() instead of %, when the upper-bound is
     not a constant, division is still avoided, because
     prandom_u32_max() uses a faster multiplication-based trick instead.

   - By using get_random_u16() or get_random_u8() in cases where the
     return value is intended to indeed be a u16 or a u8, we waste fewer
     batched random bytes, and hence have higher throughput.

  This series was originally done by hand while I was on an airplane
  without Internet. Later, Kees and I worked on retroactively figuring
  out what could be done with Coccinelle and what had to be done
  manually, and then we split things up based on that.

  So while this touches a lot of files, the actual amount of code that's
  hand fiddled is comfortably small"

* tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random:
  prandom: remove unused functions
  treewide: use get_random_bytes() when possible
  treewide: use get_random_u32() when possible
  treewide: use get_random_{u8,u16}() when possible, part 2
  treewide: use get_random_{u8,u16}() when possible, part 1
  treewide: use prandom_u32_max() when possible, part 2
  treewide: use prandom_u32_max() when possible, part 1
2022-10-16 15:27:07 -07:00
..
aty drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
core drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
geode drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
i810 fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
intelfb fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
kyro fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
matrox drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
mb862xx fbdev: mb862xx: Fix check of return value from irq_of_parse_and_map() 2022-10-08 15:20:09 +02:00
mmp
nvidia fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
omap fbdev: omap: Remove unnecessary print function dev_err() 2022-08-24 21:53:41 +02:00
omap2 fbdev: omapfb/dss: Use pm_runtime_resume_and_get() instead of pm_runtime_get_sync() 2022-10-08 15:20:08 +02:00
riva fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
savage fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
sis drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
vermilion fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
via fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
68328fb.c video: fbdev: Make *fb_setup() and *fb_init() static 2022-07-18 07:54:20 +02:00
Kconfig drm: Implement DRM aperture helpers under video/ 2022-06-27 11:07:55 +02:00
Makefile
acornfb.c
acornfb.h
amba-clcd.c video: fbdev: amba-clcd: Fix refcount leak bugs 2022-07-26 08:56:22 +02:00
amifb.c video: fbdev: amiga: Simplify amifb_pan_display() 2022-07-18 07:54:17 +02:00
arcfb.c
arkfb.c fbdev: arkfb: Remove the unused function dac_read_reg() 2022-10-08 15:20:08 +02:00
asiliantfb.c fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
atafb.c video: fbdev: atari: Remove backward bug-compatibility 2022-07-18 07:56:18 +02:00
atafb.h
atafb_iplan2p2.c
atafb_iplan2p4.c
atafb_iplan2p8.c
atafb_mfb.c
atafb_utils.h
atmel_lcdfb.c
au1100fb.c video: fbdev: au1100fb: Drop unnecessary NULL ptr check 2022-06-20 20:19:50 +02:00
au1100fb.h
au1200fb.c
au1200fb.h
broadsheetfb.c
bt431.h
bt455.h
bw2.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
c2p.h
c2p_core.h
c2p_iplan2.c
c2p_planar.c
carminefb.c fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
carminefb.h
carminefb_regs.h
cg3.c
cg6.c
cg14.c
chipsfb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
cirrusfb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
clps711x-fb.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
cobalt_lcdfb.c
controlfb.c fbdev: controlfb: Remove the unused function VAR_MATCH() 2022-10-08 15:20:08 +02:00
controlfb.h
cyber2000fb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
cyber2000fb.h
da8xx-fb.c
dnfb.c video: fbdev: Make *fb_setup() and *fb_init() static 2022-07-18 07:54:20 +02:00
edid.h
efifb.c Merge drm/drm-next into drm-misc-next 2022-06-20 18:21:25 +02:00
ep93xx-fb.c
ffb.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
fm2fb.c video: fbdev: Make *fb_setup() and *fb_init() static 2022-07-18 07:54:20 +02:00
fsl-diu-fb.c
g364fb.c
gbefb.c fbdev: gbefb: Convert to use dev_groups 2022-10-08 15:20:09 +02:00
goldfishfb.c
grvga.c
gxt4500.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
hecubafb.c
hgafb.c
hitfb.c
hpfb.c video: fbdev: Make *fb_setup() and *fb_init() static 2022-07-18 07:54:20 +02:00
hyperv_fb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
i740_reg.h
i740fb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
imsttfb.c fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
imxfb.c fbdev: imxfb: Remove redundant dev_err() call 2022-10-08 15:20:08 +02:00
leo.c
macfb.c
macmodes.c
macmodes.h
maxinefb.c
metronomefb.c
mx3fb.c
n411.c
neofb.c fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
ocfb.c
offb.c video: fbdev: offb: Include missing linux/platform_device.h 2022-07-28 16:22:12 +10:00
p9100.c
platinumfb.c
platinumfb.h
pm2fb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
pm3fb.c fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
pmag-aa-fb.c
pmag-ba-fb.c
pmagb-b-fb.c
ps3fb.c
pvr2fb.c fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
pxa3xx-gcu.c video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write 2022-06-20 20:12:17 +02:00
pxa3xx-gcu.h
pxa3xx-regs.h
pxa168fb.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
pxa168fb.h
pxafb.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
pxafb.h
q40fb.c video: fbdev: Make *fb_setup() and *fb_init() static 2022-07-18 07:54:20 +02:00
s1d13xxxfb.c
s3c-fb.c
s3c2410fb-regs-lcd.h
s3c2410fb.c
s3c2410fb.h
s3fb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
sa1100fb.c video: fbdev: sa1100fb: Remove unused sa1100fb_setup() 2022-07-18 07:54:18 +02:00
sa1100fb.h
sbuslib.c
sbuslib.h
sh7760fb.c
sh_mobile_lcdcfb.c
sh_mobile_lcdcfb.h
simplefb.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
skeletonfb.c drm-misc-next for v6.1: 2022-09-06 10:56:04 +02:00
sm501fb.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
sm712.h
sm712fb.c fbdev: Remove conflicting devices on PCI bus 2022-07-19 13:19:11 +02:00
smscufx.c fbdev: smscufx: Fix use-after-free in ufx_ops_open() 2022-10-08 15:20:09 +02:00
ssd1307fb.c Merge tag 'v6.0-rc5' into i2c/for-mergewindow 2022-09-16 20:42:18 +01:00
sstfb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
sticore.h parisc/stifb: Keep track of hardware path of graphics card 2022-06-04 15:47:03 +02:00
stifb.c parisc: fbdev/stifb: Align graphics memory size to 4MB 2022-10-14 10:45:12 +02:00
sunxvr500.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
sunxvr1000.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
sunxvr2500.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
tcx.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
tdfxfb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
tgafb.c drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
tmiofb.c
tridentfb.c fbdev: tridentfb: Fix missing pci_disable_device() in probe and remove 2022-10-08 15:20:09 +02:00
udlfb.c fbdev: udlfb: Remove redundant initialization to variable identical 2022-10-08 15:20:08 +02:00
uvesafb.c treewide: use get_random_u32() when possible 2022-10-11 17:42:58 -06:00
valkyriefb.c video: fbdev: Make *fb_setup() and *fb_init() static 2022-07-18 07:54:20 +02:00
valkyriefb.h
vesafb.c video: fbdev: vesafb: Fix a use-after-free due early fb_info cleanup 2022-05-28 19:26:56 +02:00
vfb.c
vga16fb.c fbdev: vga16fb: Add missing MODULE_DEVICE_TABLE() entry 2022-10-08 15:20:09 +02:00
vt8500lcdfb.c
vt8500lcdfb.h
vt8623fb.c drm-misc-next for v6.1: 2022-09-06 10:56:04 +02:00
w100fb.c
w100fb.h
wm8505fb.c
wm8505fb_regs.h
wmt_ge_rops.c
wmt_ge_rops.h
xen-fbfront.c fbdev fixes and updates for kernel v5.19-rc1 2022-05-30 12:46:49 -07:00
xilinxfb.c