Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from torvalds:master #35

Merged
merged 639 commits into from
Jun 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
639 commits
Select commit Hold shift + click to select a range
4636a85
media: atomisp: fix several typos
mchehab Apr 19, 2020
bdfe0be
media: atomisp: fix several coding style issues
mchehab Apr 19, 2020
eaa399e
media: atomisp: do lots of other coding style cleanups
mchehab Apr 19, 2020
02330fb
media: atomisp: remove some dead code
mchehab Apr 19, 2020
9a0d7fb
media: atomisp: simplify math_support.h
mchehab Apr 19, 2020
e1ac35b
media: atomisp: add a way for the driver to know the chipset version
mchehab Apr 20, 2020
ea419fd
media: atomisp: atomisp_cmd.c test ISP version in runtime
mchehab Apr 20, 2020
268ff5b
media: atomisp: atomisp_dfs_tables.h: don't depend on ISP version
mchehab Apr 20, 2020
643405b
media: atomisp: pci/atomisp2/*.h remove #ifdef ISP2401
mchehab Apr 20, 2020
9ace178
media: atomisp: atomisp_ioctl.c: get rid of a ISP2400/ISP2401 dependency
mchehab Apr 22, 2020
a19b190
media: atomisp: atomisp_v4l2.c: set wdt timers according with ISP ver…
mchehab Apr 22, 2020
02c3923
media: atomisp: atomisp_subdev.c check ISP version on runtime
mchehab Apr 22, 2020
78e2888
media: atomisp: atomisp_csi2.c: remove useless ifdefs
mchehab Apr 22, 2020
7ef17aa
media: atomisp: atomisp_compat_css20.c: detect ISP at runtime
mchehab Apr 22, 2020
483f521
media: atomisp: atomisp_compat_ioctl32.c: be independent of ISP version
mchehab Apr 22, 2020
ffa1236
media: atomisp: sh_css_defs.h: get rid of build time dependencies
mchehab Apr 22, 2020
977e77c
media: atomisp: make sh_css_struct.h independent of ISP version
mchehab Apr 23, 2020
4f744a5
media: atomisp: make sh_css_sp_init_pipeline() ISP version independent
mchehab Apr 23, 2020
6a2782c
media: atomisp: remove ISP version macros from sh_css_legacy.h
mchehab Apr 23, 2020
5e09474
media: atomisp: remove table duplication from dfs tables
mchehab Apr 23, 2020
19801a1
media: atomisp: unify sh_css_params_shading_id_table_generate()
mchehab Apr 23, 2020
1e97292
media: atomisp: sh_css_param_dvs.h remove ISP version macros
mchehab Apr 23, 2020
fe670b2
media: atomisp: print css_version in runtime
mchehab Apr 23, 2020
1c874c1
media: atomisp: add support for possible new names
mchehab Apr 25, 2020
bd3016e
media: atomisp: css_trace.h: use the newest tracing code
mchehab Apr 26, 2020
c06e212
media: atomisp: ia_css_binary_get_shading_info(): don't test version
mchehab Apr 26, 2020
8a85fe1
media: atomisp: get rid of some non-existing functions for ISP2401
mchehab Apr 28, 2020
7535c68
media: atomisp: make util.c work with ISP2401 runtime detection
mchehab Apr 28, 2020
406ae76
media: atomisp: sh_css: detect ISP version at runtime
mchehab Apr 28, 2020
badd9b3
media: atomisp: isp_const.h: get rid of an unused big define list
mchehab Apr 28, 2020
d4cf993
media: atomisp: get rid of several typedef-style defines
mchehab Apr 28, 2020
8fba22f
media: atomisp: get rid of trivial ISP2401 dependencies on header files
mchehab Apr 28, 2020
4dcf781
media: atomisp: get rid of unused header files
mchehab Apr 28, 2020
c8b1a84
media: atomisp: remove unused definitions at */isp_capture_defs.h
mchehab Apr 28, 2020
7c2b6c1
media: atomisp: remove several duplicated files
mchehab Apr 28, 2020
ecdb2e3
media: atomisp: remove unused hive_isp_css_host_ids_hrt.h
mchehab Apr 28, 2020
14131db
media: atomisp: hive_isp_css_defs.h: keep just one copy of it
mchehab Apr 28, 2020
c343a51
media: atomisp: get finish de-duplication of hrt/hive*.h
mchehab Apr 28, 2020
0a76fd8
media: atomisp: add Asus Transform T101HA ACPI vars
mchehab Apr 25, 2020
5060e35
media: atomisp: use regulator_get_optional() for first attempt
mchehab Apr 28, 2020
3a5e9f4
media: atomisp: remove bayer_io_ls duplication
mchehab Apr 29, 2020
5254591
media: atomisp: rename anr2 param header file
mchehab Apr 29, 2020
33c0411
media: atomisp: get rid of io_ls/ subdir
mchehab Apr 29, 2020
1360fa6
media: atomisp: remove unused duplicated files
mchehab Apr 29, 2020
e6c1310
media: atomisp: get rid of trivial version checks at *.h
mchehab Apr 29, 2020
8022c2e
media: atomisp: get rid of ia_css_sc_param.h version dependency
mchehab Apr 29, 2020
e3292f8
media: atomisp: get rid of ISP_VMEM_IS_BAMEM unused defines
mchehab Apr 29, 2020
c6552ae
media: atomisp: get rid of __ISP define tests
mchehab Apr 29, 2020
b82cd6b
media: atomisp: make all file names unique at atomisp driver
mchehab Apr 29, 2020
d876334
media: atomisp: simplify makefiles
mchehab Apr 30, 2020
9d4fa1a
media: atomisp: cleanup directory hierarchy
mchehab Apr 30, 2020
8d4af31
media: atomisp: get rid of some broken code
mchehab Apr 30, 2020
fe4586c
media: atomisp: change function worders and fix include
mchehab Apr 30, 2020
0850936
media: atomisp: allow building for isp2401
mchehab Apr 30, 2020
9935e29
media: atomisp: cleanup contents of css_2400_system/
mchehab Apr 30, 2020
f172f6e
media: atomisp: cleanup contents of css_2401_csi2p_system
mchehab Apr 30, 2020
f064805
media: atomisp: cleanup contents of css_2401_system
mchehab Apr 30, 2020
3c0538f
media: atomisp: get rid of most checks for ISP2401 version
mchehab Apr 30, 2020
bbf3f78
media: atomisp: add firmware load code for ISP2401 rev B0
mchehab May 1, 2020
0057131
media: atomisp: remove some file duplication and do more dir renames
mchehab May 1, 2020
ac378c9
media: atomisp: use add_qos_request instead of update
mchehab May 1, 2020
8ac1714
media: atomisp: fix querycap initialization logic
mchehab May 2, 2020
32efca3
media: atomisp: move ia_css_configure_sc() implementation
mchehab May 3, 2020
1ab7098
media: atomisp: disable the dummy PM driver is atomisp driver is built
mchehab May 7, 2020
8568fe6
media: atomisp: print a better message when fw version is wrong
mchehab May 7, 2020
f770e91
media: atomisp: limit the name of the firmware file
mchehab May 7, 2020
9b7632e
media: atomisp: fix clock rate frequency setting
mchehab May 8, 2020
ca133c3
media: atomisp: improve device detection code
mchehab May 8, 2020
33c24f8
media: atomisp: relax firmware version detection criteria
mchehab May 8, 2020
25bccb9
media: atomisp: free PCI resources when probing fail
mchehab May 8, 2020
9972311
media: atomisp: make dfs_config_merr_117a struct const
mchehab May 9, 2020
88a4711
media: atomisp: add -dDEBUG when building this driver
mchehab May 9, 2020
0d64e94
media: atomisp: Add some ACPI detection info
mchehab May 10, 2020
85df845
media: atomisp: better display DMI and EFI found entries
mchehab May 10, 2020
d03f2e2
media: atomisp: print the type of PMIC that will be used
mchehab May 10, 2020
09d8746
media: atomisp: reduce the risk of a race condition
mchehab May 10, 2020
a79afb9
media: atomisp: warn if unsupported subdevs are found
mchehab May 10, 2020
93e24ec
media: atomisp: detect the PMIC type
mchehab May 10, 2020
0741bf6
media: atomisp: move atomisp_gmin_platform.c to pci/ dir
mchehab May 11, 2020
b4dc4e1
media: atomisp: add support for different PMIC configurations
mchehab May 11, 2020
4877b19
media: atomisp: spctrl: be sure to zero .code_addr after free
mchehab May 12, 2020
a27b581
media: atomisp: use pcim_enable_device() again
mchehab May 12, 2020
0f441fd
media: atomisp: simplify the power down/up code
mchehab May 12, 2020
1351ea6
media: atomisp: remove a misplaced #endif
mchehab May 13, 2020
3117ddd
media: atomisp: fix an inverted logic
mchehab May 12, 2020
983e5ac
media: atomisp: get rid of spmem_dump.c
mchehab May 12, 2020
5f1e9dd
media: atomisp: get rid of __bo_alloc() macro
mchehab May 13, 2020
7f98b89
media: atomisp: fix a slab error due to a wrong free
mchehab May 13, 2020
39c91e1
media: atomisp: fix the value for CamClk on Asus T101HA
mchehab May 18, 2020
95d1f39
media: atomisp: keep the ISP powered on when setting it
mchehab May 19, 2020
1d6e5c3
media: atomisp: change the code to properly wait for sensor
mchehab May 19, 2020
5589ea0
media: atomisp: ov2680: improve debug messages
mchehab May 19, 2020
4f78f08
media: atomisp: use read/write routines from mainstream
mchehab May 19, 2020
b0ac238
media: atomisp-ov2680: get rid of the type field
mchehab May 19, 2020
1bc075c
media: atomisp: simplify ov2680 array write logic
mchehab May 19, 2020
eda1310
media: atomisp: turn on camera before setting it
mchehab May 19, 2020
814634b
media: atomisp: disable the dynamic and reserved pools
mchehab May 20, 2020
c03496b
media: atomisp: add a notice about possible leak resources
mchehab May 12, 2020
1985e93
media: atomisp: isp_mmu: don't use kmem_cache
mchehab May 20, 2020
cf3cd3b
media: atomisp: print IRQ when debugging
mchehab May 20, 2020
58d6ccc
media: atomisp: don't produce errs for ignored IRQs
mchehab May 20, 2020
27333da
media: atomisp: adjust some code at sh_css that could be broken
mchehab May 20, 2020
6456267
media: atomisp: update TODO with the current data
mchehab May 20, 2020
8c86642
media: atomisp: unify the version for isp2401 a0 and b0 versions
mchehab May 20, 2020
00994f0
media: staging: dt-bindings: phy-rockchip-dphy-rx0: remove non-used r…
helen-fornazier Apr 3, 2020
960b2de
media: dt-bindings: phy: phy-rockchip-dphy-rx0: move rockchip dphy rx…
helen-fornazier Apr 3, 2020
9f984ca
media: dvbdev: Fix tuner->demod media controller link
b-rad-NDi May 14, 2020
528b1a1
media: dvb-usb: Add Cinergy S2 PCIe Dual Port support
dnehring7 May 11, 2020
932300e
media: dt-bindings: ov8856: Document YAML bindings
May 11, 2020
0c2c7a1
media: ov8856: Add devicetree support
robertfoss May 11, 2020
96b5b11
media: ov8856: Implement sensor module revision identification
robertfoss May 11, 2020
866edc8
media: i2c: Add ov2740 image sensor driver
bingbucao May 11, 2020
cd25993
media: i2c: imx219: Drop <linux/clk-provider.h> and <linux/clkdev.h>
geertu May 6, 2020
142d064
media: s5k5baf: Replace zero-length array with flexible-array
GustavoARSilva May 7, 2020
938b29d
media: Documentation: media: Refer to mbus format documentation from …
May 16, 2020
c444eb5
mm: thp: make the THP mapcount atomic against __split_huge_pmd_locked()
aagit May 27, 2020
dde3c6b
mm/slub: fix a memory leak in sysfs_slab_add()
Jun 3, 2020
dd8657b
mm/memcg: optimize memory.numa_stat like memory.stat
shakeelb Jun 3, 2020
9e1f058
mm/gup: move __get_user_pages_fast() down a few lines in gup.c
johnhubbard Jun 3, 2020
376a34e
mm/gup: refactor and de-duplicate gup_fast() code
johnhubbard Jun 3, 2020
104acc3
mm/gup: introduce pin_user_pages_fast_only()
johnhubbard Jun 3, 2020
2170ecf
drm/i915: convert get_user_pages() --> pin_user_pages()
johnhubbard Jun 3, 2020
f81cd17
mm/gup: might_lock_read(mmap_sem) in get_user_pages_fast()
johnhubbard Jun 3, 2020
adb72ae
kasan: stop tests being eliminated as dead code with FORTIFY_SOURCE
daxtens Jun 3, 2020
47227d2
string.h: fix incompatibility between FORTIFY_SOURCE and KASAN
daxtens Jun 3, 2020
574c1ae
mm: clarify __GFP_MEMALLOC usage
Jun 3, 2020
d622abf
mm: memblock: replace dereferences of memblock_region.nid with API calls
rppt Jun 3, 2020
6f24fbd
mm: make early_pfn_to_nid() and related defintions close to each other
rppt Jun 3, 2020
3f08a30
mm: remove CONFIG_HAVE_MEMBLOCK_NODE_MAP option
rppt Jun 3, 2020
fa3354e
mm: free_area_init: use maximal zone PFNs rather than zone sizes
rppt Jun 3, 2020
9691a07
mm: use free_area_init() instead of free_area_init_nodes()
rppt Jun 3, 2020
3076020
alpha: simplify detection of memory zone boundaries
rppt Jun 3, 2020
a32c1c6
arm: simplify detection of memory zone boundaries
rppt Jun 3, 2020
584cb13
arm64: simplify detection of memory zone boundaries for UMA configs
rppt Jun 3, 2020
8f4693f
csky: simplify detection of memory zone boundaries
rppt Jun 3, 2020
5d2ee1a
m68k: mm: simplify detection of memory zone boundaries
rppt Jun 3, 2020
625bf73
parisc: simplify detection of memory zone boundaries
rppt Jun 3, 2020
bee3b3c
sparc32: simplify detection of memory zone boundaries
rppt Jun 3, 2020
1b02ec0
unicore32: simplify detection of memory zone boundaries
rppt Jun 3, 2020
da50c57
xtensa: simplify detection of memory zone boundaries
rppt Jun 3, 2020
73a6e47
mm: memmap_init: iterate over memblock regions rather that check each…
Jun 3, 2020
acd3f5c
mm: remove early_pfn_in_nid() and CONFIG_NODES_SPAN_OTHER_NODES
rppt Jun 3, 2020
51930df
mm: free_area_init: allow defining max_zone_pfn in descending order
rppt Jun 3, 2020
bc9331a
mm: rename free_area_init_node() to free_area_init_memoryless_node()
rppt Jun 3, 2020
854e884
mm: clean up free_area_init_node() and its helpers
rppt Jun 3, 2020
8a1b25f
mm: simplify find_min_pfn_with_active_regions()
rppt Jun 3, 2020
237e506
docs/vm: update memory-models documentation
rppt Jun 3, 2020
833d8a4
mm/page_alloc.c: bad_[reason|flags] is not necessary when PageHWPoison
RichardWeiYang Jun 3, 2020
82a3241
mm/page_alloc.c: bad_flags is not necessary for bad_page()
RichardWeiYang Jun 3, 2020
0d0c48a
mm/page_alloc.c: rename free_pages_check_bad() to check_free_page_bad()
RichardWeiYang Jun 3, 2020
534fe5e
mm/page_alloc.c: rename free_pages_check() to check_free_page()
RichardWeiYang Jun 3, 2020
58b7f11
mm/page_alloc.c: extract check_[new|free]_page_bad() common part to p…
RichardWeiYang Jun 3, 2020
1686766
mm,page_alloc,cma: conditionally prefer cma pageblocks for movable al…
rgushchin Jun 3, 2020
4ca7be2
mm/page_alloc.c: remove unused free_bootmem_with_active_regions
Jun 3, 2020
86aaf25
mm/page_alloc.c: only tune sysctl_lowmem_reserve_ratio value once whe…
Jun 3, 2020
f636615
mm/page_alloc.c: clear out zone->lowmem_reserve[] if the zone is empty
Jun 3, 2020
26e7dea
mm/vmstat.c: do not show lowmem reserve protection information of emp…
Jun 3, 2020
3334a45
mm/page_alloc: use ac->high_zoneidx for classzone_idx
JoonsooKim Jun 3, 2020
97a225e
mm/page_alloc: integrate classzone_idx and high_zoneidx
JoonsooKim Jun 3, 2020
d0ddf49
mm/page_alloc.c: use NODE_MASK_NONE in build_zonelists()
RichardWeiYang Jun 3, 2020
01c0bfe
mm: rename gfpflags_to_migratetype to gfp_migratetype for same conven…
RichardWeiYang Jun 3, 2020
b418a0f
mm/page_alloc.c: reset numa stats for boot pagesets
sandip4n Jun 3, 2020
aa09259
mm, page_alloc: reset the zone->watermark_boost early
Jun 3, 2020
ae70edd
mm/page_alloc: restrict and formalize compound_page_dtors[]
Jun 3, 2020
117003c
mm/pagealloc.c: call touch_nmi_watchdog() on max order boundaries in …
danieljordan10 Jun 3, 2020
3d06085
mm: initialize deferred pages with interrupts enabled
soleen Jun 3, 2020
da97f2d
mm: call cond_resched() from deferred_init_memmap()
soleen Jun 3, 2020
305dacf
padata: remove exit routine
danieljordan10 Jun 3, 2020
f1b192b
padata: initialize earlier
danieljordan10 Jun 3, 2020
4611ce2
padata: allocate work structures for parallel jobs from a pool
danieljordan10 Jun 3, 2020
004ed42
padata: add basic support for multithreaded jobs
danieljordan10 Jun 3, 2020
89c7c40
mm: don't track number of pages during deferred initialization
danieljordan10 Jun 3, 2020
e444314
mm: parallelize deferred_init_memmap()
danieljordan10 Jun 3, 2020
ecd0965
mm: make deferred init's max threads arch-specific
danieljordan10 Jun 3, 2020
ec3b39c
padata: document multithreaded jobs
danieljordan10 Jun 3, 2020
633bf2f
mm/page_alloc.c: add missing newline
Jun 3, 2020
e0c13f9
khugepaged: add self test
kiryl Jun 3, 2020
ffe945e
khugepaged: do not stop collapse if less than half PTEs are referenced
kiryl Jun 3, 2020
a980df3
khugepaged: drain all LRU caches before scanning pages
kiryl Jun 3, 2020
ae2c5d8
khugepaged: drain LRU add pagevec after swapin
kiryl Jun 3, 2020
9445689
khugepaged: allow to collapse a page shared across fork
kiryl Jun 3, 2020
5503fbf
khugepaged: allow to collapse PTE-mapped compound pages
kiryl Jun 3, 2020
3917c80
thp: change CoW semantics for anon-THP
kiryl Jun 3, 2020
71a2c11
khugepaged: introduce 'max_ptes_shared' tunable
kiryl Jun 3, 2020
ae94da8
hugetlbfs: add arch_hugetlb_valid_size
mjkravetz Jun 3, 2020
359f254
hugetlbfs: move hugepagesz= parsing to arch independent code
mjkravetz Jun 3, 2020
3823783
hugetlbfs: remove hugetlb_add_hstate() warning for existing hstate
mjkravetz Jun 3, 2020
282f421
hugetlbfs: clean up command line processing
mjkravetz Jun 3, 2020
c2833a5
hugetlbfs: fix changes to command line processing
mjkravetz Jun 3, 2020
8ac0b81
mm/hugetlb: avoid unnecessary check on pud and pmd entry in huge_pte_…
Jun 3, 2020
be51e3f
arm64/mm: drop __HAVE_ARCH_HUGE_PTEP_GET
Jun 3, 2020
b0eae98
mm/hugetlb: define a generic fallback for is_hugepage_only_range()
Jun 3, 2020
5be9934
mm/hugetlb: define a generic fallback for arch_clear_hugepage_flags()
Jun 3, 2020
ff45fc3
mm: simplify calling a compound page destructor
Jun 3, 2020
a892cb6
mm/vmscan.c: use update_lru_size() in update_lru_sizes()
RichardWeiYang Jun 3, 2020
1f318a9
mm/vmscan: count layzfree pages and fix nr_isolated_* mismatch
Jaewon31Kim Jun 3, 2020
730ec8c
mm/vmscan.c: change prototype for shrink_page_list
maninder42 Jun 3, 2020
df3a45f
mm/vmscan: update the comment of should_continue_reclaim()
Jun 3, 2020
f4129ea
mm: fix NUMA node file count error in replace_page_cache()
hnaz Jun 3, 2020
abb242f
mm: memcontrol: fix stat-corrupting race in charge moving
hnaz Jun 3, 2020
3fba69a
mm: memcontrol: drop @compound parameter from memcg charging API
hnaz Jun 3, 2020
14235ab
mm: shmem: remove rare optimization when swapin races with hole punching
hnaz Jun 3, 2020
6caa6a0
mm: memcontrol: move out cgroup swaprate throttling
hnaz Jun 3, 2020
3fea5a4
mm: memcontrol: convert page cache to a new mem_cgroup_charge() API
hnaz Jun 3, 2020
9f762db
mm: memcontrol: prepare uncharging for removal of private page type c…
hnaz Jun 3, 2020
49e50d2
mm: memcontrol: prepare move_account for removal of private page type…
hnaz Jun 3, 2020
9da7b52
mm: memcontrol: prepare cgroup vmstat infrastructure for native anon …
hnaz Jun 3, 2020
0d1c207
mm: memcontrol: switch to native NR_FILE_PAGES and NR_SHMEM counters
hnaz Jun 3, 2020
be5d0a7
mm: memcontrol: switch to native NR_ANON_MAPPED counter
hnaz Jun 3, 2020
468c398
mm: memcontrol: switch to native NR_ANON_THPS counter
hnaz Jun 3, 2020
9d82c69
mm: memcontrol: convert anon and file-thp to new mem_cgroup_charge() API
hnaz Jun 3, 2020
f0e45fb
mm: memcontrol: drop unused try/commit/cancel charge API
hnaz Jun 3, 2020
eccb52e
mm: memcontrol: prepare swap controller setup for integration
hnaz Jun 3, 2020
2d1c498
mm: memcontrol: make swap tracking an integral part of memory control
hnaz Jun 3, 2020
4c6355b
mm: memcontrol: charge swapin pages on instantiation
hnaz Jun 3, 2020
0a27cae
mm: memcontrol: document the new swap control behavior
alexshi Jun 3, 2020
d9eb1ea
mm: memcontrol: delete unused lrucare handling
hnaz Jun 3, 2020
a0b5b41
mm: memcontrol: update page->mem_cgroup stability rules
hnaz Jun 3, 2020
5df7419
mm: fix LRU balancing effect of new transparent huge pages
hnaz Jun 3, 2020
497a6c1
mm: keep separate anon and file statistics on page reclaim activity
hnaz Jun 3, 2020
c843966
mm: allow swappiness that prefers reclaiming anon over the file worki…
hnaz Jun 3, 2020
6058eae
mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()
hnaz Jun 3, 2020
34e58ca
mm: workingset: let cache workingset challenge anon
hnaz Jun 3, 2020
9682468
mm: remove use-once cache bias from LRU balancing
hnaz Jun 3, 2020
a4fe163
mm: vmscan: drop unnecessary div0 avoidance rounding in get_scan_count()
hnaz Jun 3, 2020
1431d4d
mm: base LRU balancing on an explicit cost model
hnaz Jun 3, 2020
fbbb602
mm: deactivations shouldn't bias the LRU balance
hnaz Jun 3, 2020
264e90c
mm: only count actual rotations as LRU reclaim cost
hnaz Jun 3, 2020
314b57f
mm: balance LRU lists based on relative thrashing
hnaz Jun 3, 2020
7cf111b
mm: vmscan: determine anon/file pressure balance at the reclaim root
hnaz Jun 3, 2020
96f8bf4
mm: vmscan: reclaim writepage is IO cost
hnaz Jun 3, 2020
d483a5d
mm: vmscan: limit the range of LRU type balancing
hnaz Jun 3, 2020
5d91f31
mm: swap: fix vmstats for huge pages
shakeelb Jun 3, 2020
21e330f
mm: swap: memcg: fix memcg stats for huge pages
shakeelb Jun 3, 2020
5b94ce2
tools/vm/page_owner_sort.c: filter out unneeded line
iehlog0zb Jun 3, 2020
2d3a36a
mm, mempolicy: fix up gup usage in lookup_node
Jun 3, 2020
8cbd54f
include/linux/memblock.h: fix minor typo and unclear comment
qiwuchen Jun 3, 2020
4360dfa
sparc32: register memory occupied by kernel as memblock.memory
rppt Jun 3, 2020
8859025
hugetlbfs: get unmapped area below TASK_UNMAPPED_BASE for hugetlbfs
Jun 3, 2020
67e4eb0
mm: thp: don't need to drain lru cache when splitting and mlocking THP
Jun 3, 2020
124cb3a
powerpc/mm: drop platform defined pmd_mknotpresent()
Jun 3, 2020
86ec2da
mm/thp: rename pmd_mknotpresent() as pmd_mkinvalid()
Jun 3, 2020
4fb6eab
drivers/base/memory.c: cache memory blocks in xarray to accelerate lo…
Jun 3, 2020
375d315
mm: add DEBUG_WX support
zongbox Jun 3, 2020
b422d28
riscv: support DEBUG_WX
zongbox Jun 3, 2020
7e01ccb
x86: mm: use ARCH_HAS_DEBUG_WX instead of arch defined
zongbox Jun 3, 2020
09587a0
arm64: mm: use ARCH_HAS_DEBUG_WX instead of arch defined
zongbox Jun 3, 2020
ee01c4d
Merge branch 'akpm' (patches from Andrew)
torvalds Jun 4, 2020
a98f670
Merge tag 'media/v5.8-1' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jun 4, 2020
6929f71
atomisp: avoid warning about unused function
torvalds Jun 4, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/debugfs-cec-error-inj
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ when changes are made.

The following CEC error injection implementations exist:

- Documentation/media/uapi/cec/cec-pin-error-inj.rst
- Documentation/userspace-api/media/cec/cec-pin-error-inj.rst
10 changes: 5 additions & 5 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
loop_cmd = $(echo-cmd) $(cmd_$(1)) || exit;

# $2 sphinx builder e.g. "html"
# $3 name of the build subfolder / e.g. "media", used as:
# $3 name of the build subfolder / e.g. "userspace-api/media", used as:
# * dest folder relative to $(BUILDDIR) and
# * cache folder relative to $(BUILDDIR)/.doctrees
# $4 dest subfolder e.g. "man" for man pages at media/man
# $4 dest subfolder e.g. "man" for man pages at userspace-api/media/man
# $5 reST source folder relative to $(srctree)/$(src),
# e.g. "media" for the linux-tv book-set at ./Documentation/media
# e.g. "userspace-api/media" for the linux-tv book-set at ./Documentation/userspace-api/media

quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
cmd_sphinx = $(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/media $2 && \
cmd_sphinx = $(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media $2 && \
PYTHONDONTWRITEBYTECODE=1 \
BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
$(PYTHON) $(srctree)/scripts/jobserver-exec \
Expand Down Expand Up @@ -124,7 +124,7 @@ refcheckdocs:

cleandocs:
$(Q)rm -rf $(BUILDDIR)
$(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/media clean
$(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media clean

dochelp:
@echo ' Linux kernel internal documentation in different formats from ReST:'
Expand Down
19 changes: 7 additions & 12 deletions Documentation/admin-guide/cgroup-v1/memory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ An RSS page is unaccounted when it's fully unmapped. A PageCache page is
unaccounted when it's removed from radix-tree. Even if RSS pages are fully
unmapped (by kswapd), they may exist as SwapCache in the system until they
are really freed. Such SwapCaches are also accounted.
A swapped-in page is not accounted until it's mapped.
A swapped-in page is accounted after adding into swapcache.

Note: The kernel does swapin-readahead and reads multiple swaps at once.
This means swapped-in pages may contain pages for other tasks than a task
causing page fault. So, we avoid accounting at swap-in I/O.
Since page's memcg recorded into swap whatever memsw enabled, the page will
be accounted after swapin.

At page migration, accounting information is kept.

Expand All @@ -222,18 +222,13 @@ the cgroup that brought it in -- this will happen on memory pressure).
But see section 8.2: when moving a task to another cgroup, its pages may
be recharged to the new cgroup, if move_charge_at_immigrate has been chosen.

Exception: If CONFIG_MEMCG_SWAP is not used.
When you do swapoff and make swapped-out pages of shmem(tmpfs) to
be backed into memory in force, charges for pages are accounted against the
caller of swapoff rather than the users of shmem.

2.4 Swap Extension (CONFIG_MEMCG_SWAP)
2.4 Swap Extension
--------------------------------------

Swap Extension allows you to record charge for swap. A swapped-in page is
charged back to original page allocator if possible.
Swap usage is always recorded for each of cgroup. Swap Extension allows you to
read and limit it.

When swap is accounted, following files are added.
When CONFIG_SWAP is enabled, following files are added.

- memory.memsw.usage_in_bytes.
- memory.memsw.limit_in_bytes.
Expand Down
1 change: 1 addition & 0 deletions Documentation/admin-guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ configure specific aspects of kernel behavior to your liking.
lockup-watchdogs
LSM/index
md
media/index
mm/index
module-signing
mono
Expand Down
44 changes: 29 additions & 15 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
bttv.card= [HW,V4L] bttv (bt848 + bt878 based grabber cards)
bttv.radio= Most important insmod options are available as
kernel args too.
bttv.pll= See Documentation/media/v4l-drivers/bttv.rst
bttv.pll= See Documentation/admin-guide/media/bttv.rst
bttv.tuner=

bulk_remove=off [PPC] This parameter disables the use of the pSeries
Expand Down Expand Up @@ -834,12 +834,15 @@
See also Documentation/networking/decnet.rst.

default_hugepagesz=
[same as hugepagesz=] The size of the default
HugeTLB page size. This is the size represented by
the legacy /proc/ hugepages APIs, used for SHM, and
default size when mounting hugetlbfs filesystems.
Defaults to the default architecture's huge page size
if not specified.
[HW] The size of the default HugeTLB page. This is
the size represented by the legacy /proc/ hugepages
APIs. In addition, this is the default hugetlb size
used for shmget(), mmap() and mounting hugetlbfs
filesystems. If not specified, defaults to the
architecture's default huge page size. Huge page
sizes are architecture dependent. See also
Documentation/admin-guide/mm/hugetlbpage.rst.
Format: size[KMG]

deferred_probe_timeout=
[KNL] Debugging option to set a timeout in seconds for
Expand Down Expand Up @@ -1484,13 +1487,24 @@
hugepages using the cma allocator. If enabled, the
boot-time allocation of gigantic hugepages is skipped.

hugepages= [HW,X86-32,IA-64] HugeTLB pages to allocate at boot.
hugepagesz= [HW,IA-64,PPC,X86-64] The size of the HugeTLB pages.
On x86-64 and powerpc, this option can be specified
multiple times interleaved with hugepages= to reserve
huge pages of different sizes. Valid pages sizes on
x86-64 are 2M (when the CPU supports "pse") and 1G
(when the CPU supports the "pdpe1gb" cpuinfo flag).
hugepages= [HW] Number of HugeTLB pages to allocate at boot.
If this follows hugepagesz (below), it specifies
the number of pages of hugepagesz to be allocated.
If this is the first HugeTLB parameter on the command
line, it specifies the number of pages to allocate for
the default huge page size. See also
Documentation/admin-guide/mm/hugetlbpage.rst.
Format: <integer>

hugepagesz=
[HW] The size of the HugeTLB pages. This is used in
conjunction with hugepages (above) to allocate huge
pages of a specific size at boot. The pair
hugepagesz=X hugepages=Y can be specified once for
each supported huge page size. Huge page sizes are
architecture dependent. See also
Documentation/admin-guide/mm/hugetlbpage.rst.
Format: size[KMG]

hung_task_panic=
[KNL] Should the hung task detector generate panics.
Expand Down Expand Up @@ -2732,7 +2746,7 @@
See Documentation/admin-guide/pm/sleep-states.rst.

meye.*= [HW] Set MotionEye Camera parameters
See Documentation/media/v4l-drivers/meye.rst.
See Documentation/admin-guide/media/meye.rst.

mfgpt_irq= [IA-32] Specify the IRQ to use for the
Multi-Function General Purpose Timers on AMD Geode
Expand Down
94 changes: 94 additions & 0 deletions Documentation/admin-guide/media/avermedia.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
.. SPDX-License-Identifier: GPL-2.0

======================================
Avermedia DVB-T on BT878 Release Notes
======================================

February 14th 2006

.. note::

Several other Avermedia devices are supported. For a more
broader and updated content about that, please check:

https://linuxtv.org/wiki/index.php/AVerMedia

The Avermedia DVB-T
~~~~~~~~~~~~~~~~~~~

The Avermedia DVB-T is a budget PCI DVB card. It has 3 inputs:

* RF Tuner Input
* Composite Video Input (RCA Jack)
* SVIDEO Input (Mini-DIN)

The RF Tuner Input is the input to the tuner module of the
card. The Tuner is otherwise known as the "Frontend" . The
Frontend of the Avermedia DVB-T is a Microtune 7202D. A timely
post to the linux-dvb mailing list ascertained that the
Microtune 7202D is supported by the sp887x driver which is
found in the dvb-hw CVS module.

The DVB-T card is based around the BT878 chip which is a very
common multimedia bridge and often found on Analogue TV cards.
There is no on-board MPEG2 decoder, which means that all MPEG2
decoding must be done in software, or if you have one, on an
MPEG2 hardware decoding card or chipset.


Getting the card going
~~~~~~~~~~~~~~~~~~~~~~

At this stage, it has not been able to ascertain the
functionality of the remaining device nodes in respect of the
Avermedia DVBT. However, full functionality in respect of
tuning, receiving and supplying the MPEG2 data stream is
possible with the currently available versions of the driver.
It may be possible that additional functionality is available
from the card (i.e. viewing the additional analogue inputs
that the card presents), but this has not been tested yet. If
I get around to this, I'll update the document with whatever I
find.

To power up the card, load the following modules in the
following order:

* modprobe bttv (normally loaded automatically)
* modprobe dvb-bt8xx (or place dvb-bt8xx in /etc/modules)

Insertion of these modules into the running kernel will
activate the appropriate DVB device nodes. It is then possible
to start accessing the card with utilities such as scan, tzap,
dvbstream etc.

The frontend module sp887x.o, requires an external firmware.
Please use the command "get_dvb_firmware sp887x" to download
it. Then copy it to /usr/lib/hotplug/firmware or /lib/firmware/
(depending on configuration of firmware hotplug).

Known Limitations
~~~~~~~~~~~~~~~~~

At present I can say with confidence that the frontend tunes
via /dev/dvb/adapter{x}/frontend0 and supplies an MPEG2 stream
via /dev/dvb/adapter{x}/dvr0. I have not tested the
functionality of any other part of the card yet. I will do so
over time and update this document.

There are some limitations in the i2c layer due to a returned
error message inconsistency. Although this generates errors in
dmesg and the system logs, it does not appear to affect the
ability of the frontend to function correctly.

Further Update
~~~~~~~~~~~~~~

dvbstream and VideoLAN Client on windows works a treat with
DVB, in fact this is currently serving as my main way of
viewing DVB-T at the moment. Additionally, VLC is happily
decoding HDTV signals, although the PC is dropping the odd
frame here and there - I assume due to processing capability -
as all the decoding is being done under windows in software.

Many thanks to Nigel Pearson for the updates to this document
since the recent revision of the driver.
Loading