/* * Header file for TI DA8XX LCD controller platform data. * * Copyright (C) 2008-2009 MontaVista Software Inc. * Copyright (C) 2008-2009 Texas Instruments Inc * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any * kind, whether express or implied. */ #ifndef DA8XX_FB_H #define DA8XX_FB_H enum panel_shade { MONOCHROME = 0, COLOR_ACTIVE, COLOR_PASSIVE, }; enum raster_load_mode { LOAD_DATA = 1, LOAD_PALETTE, }; enum da8xx_frame_complete { DA8XX_FRAME_WAIT, DA8XX_FRAME_NOWAIT, }; struct da8xx_lcdc_platform_data { const char manu_name[10]; void *controller_data; const char type[25]; void (*panel_power_ctrl)(int); }; struct lcd_ctrl_config { enum panel_shade panel_shade; /* AC Bias Pin Frequency */ int ac_bias; /* AC Bias Pin Transitions per Interrupt */ int ac_bias_intrpt; /* DMA burst size */ int dma_burst_sz; /* Bits per pixel */ int bpp; /* FIFO DMA Request Delay */ int fdd; /* TFT Alternative Signal Mapping (Only for active) */ unsigned char tft_alt_mode; /* 12 Bit Per Pixel (5-6-5) Mode (Only for passive) */ unsigned char stn_565_mode; /* Mono 8-bit Mode: 1=D0-D7 or 0=D0-D3 */ unsigned char mono_8bit_mode; /* Horizontal and Vertical Sync Edge: 0=rising 1=falling */ unsigned char sync_edge; /* Raster Data Order Select: 1=Most-to-least 0=Least-to-most */ unsigned char raster_order; /* DMA FIFO threshold */ int fifo_th; }; struct lcd_sync_arg { int back_porch; int front_porch; int pulse_width; }; /* ioctls */ #define FBIOGET_CONTRAST _IOR('F', 1, int) #define FBIOPUT_CONTRAST _IOW('F', 2, int) #define FBIGET_BRIGHTNESS _IOR('F', 3, int) #define FBIPUT_BRIGHTNESS _IOW('F', 3, int) #define FBIGET_COLOR _IOR('F', 5, int) #define FBIPUT_COLOR _IOW('F', 6, int) #define FBIPUT_HSYNC _IOW('F', 9, int) #define FBIPUT_VSYNC _IOW('F', 10, int) /* Proprietary FB_SYNC_ flags */ #define FB_SYNC_CLK_INVERT 0x40000000 #endif /* ifndef DA8XX_FB_H */ dimm/Makefile?h=nds-private-remove&id=1f3d62090d3ba4d0c14e5271be87812fc577b197'>commitdiff
path: root/tools/testing/nvdimm/Makefile
ption value='8'>8
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorSriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>2017-01-09 16:00:44 +0530
committerJ. Bruce Fields <bfields@redhat.com>2017-01-12 16:14:47 -0500
commitce1ca7d2d140a1f4aaffd297ac487f246963dd2f (patch)
tree5aeab5e0cb6ef404c894a18251588278b9432a2c /net/ipx/Kconfig
parent546125d1614264d26080817d0c8cddb9b25081fa (diff)
svcrdma: avoid duplicate dma unmapping during error recovery
In rdma_read_chunk_frmr() when ib_post_send() fails, the error code path invokes ib_dma_unmap_sg() to unmap the sg list. It then invokes svc_rdma_put_frmr() which in turn tries to unmap the same sg list through ib_dma_unmap_sg() again. This second unmap is invalid and could lead to problems when the iova being unmapped is subsequently reused. Remove the call to unmap in rdma_read_chunk_frmr() and let svc_rdma_put_frmr() handle it. Fixes: 412a15c0fe53 ("svcrdma: Port to new memory registration API") Cc: stable@vger.kernel.org Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/ipx/Kconfig')