mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
Merge tag 'for-linus-5.17-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen updates from Juergen Gross: - a fix for the Xen gntdev driver - a fix for running as Xen dom0 booted via EFI and the EFI framebuffer being located above 4GB - a series for support of mapping other guest's memory by using zone device when running as Xen guest on Arm * tag 'for-linus-5.17-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: dt-bindings: xen: Clarify "reg" purpose arm/xen: Read extended regions from DT and init Xen resource xen/unpopulated-alloc: Add mechanism to use Xen resource xen/balloon: Bring alloc(free)_xenballooned_pages helpers back arm/xen: Switch to use gnttab_setup_auto_xlat_frames() for DT xen/unpopulated-alloc: Drop check for virt_addr_valid() in fill_list() xen/x86: obtain upper 32 bits of video frame buffer address for Dom0 xen/gntdev: fix unmap notification order
This commit is contained in:
@@ -26,6 +26,9 @@ extern struct balloon_stats balloon_stats;
|
||||
|
||||
void balloon_set_new_target(unsigned long target);
|
||||
|
||||
int xen_alloc_ballooned_pages(unsigned int nr_pages, struct page **pages);
|
||||
void xen_free_ballooned_pages(unsigned int nr_pages, struct page **pages);
|
||||
|
||||
#ifdef CONFIG_XEN_BALLOON
|
||||
void xen_balloon_init(void);
|
||||
#else
|
||||
|
@@ -722,6 +722,9 @@ struct dom0_vga_console_info {
|
||||
uint32_t gbl_caps;
|
||||
/* Mode attributes (offset 0x0, VESA command 0x4f01). */
|
||||
uint16_t mode_attrs;
|
||||
uint16_t pad;
|
||||
/* high 32 bits of lfb_base */
|
||||
uint32_t ext_lfb_base;
|
||||
} vesa_lfb;
|
||||
} u;
|
||||
};
|
||||
|
@@ -52,7 +52,23 @@ bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
|
||||
extern u64 xen_saved_max_mem_size;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XEN_UNPOPULATED_ALLOC
|
||||
int xen_alloc_unpopulated_pages(unsigned int nr_pages, struct page **pages);
|
||||
void xen_free_unpopulated_pages(unsigned int nr_pages, struct page **pages);
|
||||
#include <linux/ioport.h>
|
||||
int arch_xen_unpopulated_init(struct resource **res);
|
||||
#else
|
||||
#include <xen/balloon.h>
|
||||
static inline int xen_alloc_unpopulated_pages(unsigned int nr_pages,
|
||||
struct page **pages)
|
||||
{
|
||||
return xen_alloc_ballooned_pages(nr_pages, pages);
|
||||
}
|
||||
static inline void xen_free_unpopulated_pages(unsigned int nr_pages,
|
||||
struct page **pages)
|
||||
{
|
||||
xen_free_ballooned_pages(nr_pages, pages);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _XEN_XEN_H */
|
||||
|
Reference in New Issue
Block a user