1. 30 7月, 2018 1 次提交
  2. 26 7月, 2018 1 次提交
  3. 27 6月, 2018 1 次提交
  4. 26 6月, 2018 1 次提交
    • S
      bpf: fix attach type BPF_LIRC_MODE2 dependency wrt CONFIG_CGROUP_BPF · fdb5c453
      Sean Young 提交于
      If the kernel is compiled with CONFIG_CGROUP_BPF not enabled, it is not
      possible to attach, detach or query IR BPF programs to /dev/lircN devices,
      making them impossible to use. For embedded devices, it should be possible
      to use IR decoding without cgroups or CONFIG_CGROUP_BPF enabled.
      
      This change requires some refactoring, since bpf_prog_{attach,detach,query}
      functions are now always compiled, but their code paths for cgroups need
      moving out. Rather than a #ifdef CONFIG_CGROUP_BPF in kernel/bpf/syscall.c,
      moving them to kernel/bpf/cgroup.c and kernel/bpf/sockmap.c does not
      require #ifdefs since that is already conditionally compiled.
      
      Fixes: f4364dcf ("media: rc: introduce BPF_PROG_LIRC_MODE2")
      Signed-off-by: NSean Young <sean@mess.org>
      Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
      fdb5c453
  5. 30 5月, 2018 1 次提交
  6. 29 5月, 2018 4 次提交
  7. 14 5月, 2018 8 次提交
  8. 04 5月, 2018 4 次提交
  9. 20 4月, 2018 13 次提交
  10. 17 4月, 2018 2 次提交
    • M
      media: st_rc: Don't stay on an IRQ handler forever · ee2d243d
      Mauro Carvalho Chehab 提交于
      As warned by smatch:
      	drivers/media/rc/st_rc.c:110 st_rc_rx_interrupt() warn: this loop depends on readl() succeeding
      
      If something goes wrong at readl(), the logic will stay there
      inside an IRQ code forever. This is not the nicest thing to
      do :-)
      
      So, add a timeout there, preventing staying inside the IRQ
      for more than 10ms.
      Acked-by: NPatrice Chotard <patrice.chotard@st.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      ee2d243d
    • T
      ARM: OMAP2+: Drop unused pm-noop · 44773ba1
      Tony Lindgren 提交于
      Looks like these functions don't do anything in the mainline kernel so
      we can just drop it.
      
      Note that we must now also remove ir-rx51 pdata as it relies on the dummy
      platform data that does not do anything. And ir-rx51 is calling a pdata
      callback that doesn't do anything without checking if it exists first.
      
      For configuring device specific minimal latencies, the interface to use
      is pm_qos_add_request(). For an example, see what was done in commit
      9834ffd1 ("ASoC: omap-mcbsp: Add PM QoS support for McBSP to prevent
      glitches"). I've added some comments to ir-rx51 so people using it can
      add pm_qos support and test it.
      
      Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
      Cc: Kevin Hilman <khilman@kernel.org>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Acked-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      44773ba1
  11. 22 3月, 2018 4 次提交